Need Help Modifying htaccess with Mod Rewrite

Discussions and support about the different URL Rewriting techniques for phpBB2.

Moderator: Moderators

Need Help Modifying htaccess with Mod Rewrite

Postby daddyo » Wed Sep 12, 2007 6:21 pm

Over the past couple of years, I've been adding better linking to my PHPBB forum via small hacks inside the php code and various additions to my htaccess file.

At this point, I'd like to scrap all the previous mods and install many of the SEO Mods listed on here.

My question, I guess, is where should I start? Since I've hard-coded my own SEO linking in several places, I'm wondering if it'll hurt the installation of the SEO Mods listed here?
Posts: 47
Joined: Wed Sep 12, 2007 6:05 pm


Postby dcz » Thu Sep 13, 2007 8:31 am

Most likely yes.

I think you should skip the phpBB2 modding and concentrate on the phpBB3 upgrade. It would be a good occasion to change the way, and most likely the URL rewriting standard on your forum and would be in the end easier I think.

Beside, it would not be this efficient to first redirect all your phpBB2 URLs to our URL rewriting standards and then, do it again when converting to phpBB3.

Unless you plan to keep phpBB2 for a long time of course.

All you would need to do in all cases (phpBB2 and phpBB3) once you'll have installed the mod rewrite, is to make sure the older rewriterules are still up and running , to allow the zero duplicate to do it's job.

Code: Select all
old-rewriten-url => old rewriterule => phpbb_script => zero duplicate => HTTP 301 => new rewriterule, new URL, same page

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

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

Return to phpBB2 mod Rewrite


  • Related topics
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest