Help - forum pages work but topic and profiles do not

phpBB2 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories, forums and topic titles in their URLs.

Moderator: Moderators

Help - forum pages work but topic and profiles do not

Postby BadBunny » Sun Oct 05, 2008 5:29 pm

Please help me - my board is down. I followed all of the instructions to install the mod to phpbb2 and my home page works and will lead to a forum page but from there topics and post links result in 404s. Any idea what I should check or what might have gone wrong? Thank you!
BadBunny
 
Posts: 8
Joined: Sun Oct 05, 2008 2:54 pm

Advertisement

Postby BadBunny » Sun Oct 05, 2008 5:44 pm

Nevermind, it's working. I would delete this topic if I could but I can't.

So long as it's here, can somebody please help me figure out how to make all links end in / instead of .html? I've heard according to WC3 that getting rid of file extensions is what the "cool kids" are doing.

I tried replacing '.html' with '\' in the code below in php_seo_class.php and then removing '.html' from the entries in .htaccess, but that just led to broken pages.

Code: Select all
      $this->seo_ext = array('cat' => '.html',
         'forum' => '.html',
         'topic' => '.html',
         'user' => '.html',
         'gz_ext' => '',


I would really appreciate it if somebody could explain to me exactly what to do so that urls end with /

Also, is there any way to get the forum title in the topic urls?

Thanks!
BadBunny
 
Posts: 8
Joined: Sun Oct 05, 2008 2:54 pm

Postby dcz » Mon Oct 06, 2008 7:44 am

replace :

Code: Select all
         'topic' => '.html',


with :
Code: Select all
         'topic' => '/',


And replace the "\.html" bits with "/" in the topics rewriterules.

There is no way to use the forum url in topic urls with our phpBB2 mods, only phpBB3 will do it.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby BadBunny » Mon Oct 06, 2008 10:46 am

Thank you. I did it and it takes me to the correct pages using / but for some reason this breaks my template and no graphics display. Do you have any idea as to how I might fix it? Are there actual advantages to be realized from using / instead of .html in any event?

Also, do I have to make any corresponding changes to the zero duplicate mod that I installed for 301 redirects?

Finally, is it any kind of significant seo disadvantage to not have the forum titles in the topic links because I am using phpbb2 and not phpbb3? I could upgrade to phpbb3 and then use the seo mod, but I've made so many customizations that I'd rather not if it wouldn't make much of a difference.

Thank you!
BadBunny
 
Posts: 8
Joined: Sun Oct 05, 2008 2:54 pm

Postby dcz » Sat Oct 11, 2008 8:57 am

Ho sorry, I got confused with phpBB3 :roll:

You probably should think about converting, because in addition to being able to use many more and better SEO mods, you'll be done with a convesion which will now pretty soon be required, since it's about the end of phpbb2.

So you'd better work on phpBB3 IMHO, working on phpBB2 may not be a wise investment in the near future.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB2 Advanced mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests