phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
Migrating modded board to phpbb3

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
Amboss



Joined: 18 May 2008
Posts: 3

Migrating modded board to phpbb3Posted: Tue May 20, 2008 5:24 am    Post subject: Migrating modded board to phpbb3

Hi there,

I'm currently running a phpbb2 forum and plan a migration to phpbb3 soon.

The test installation of phpbb3 on a non public server is already running nicely with your advanced-seo mod plus zero dupe mod. Have to say that you folks do a very nice job.


Now I need some advice concerning rewrite rules. Since the old board is very stripped down (no drop down boxes to sort anything) and already has an older seo-mod installed, it's only 4 rewrite rules, but I'm completely stuck because I know almost nothing about rewriting links.

So i need to ask for some help...


My current link structure in the phpbb2 install:


Example of Forum Link: /forum3.html

Example of Forum Pagination: /forum5-s30.html

Example of Topic Link: /ftopic7608.html

Example of Topic Pagination: /ftopic1295-s45.html


The current Rewrite Rules from my htaccess:

Code:

RewriteCond %{REQUEST_FILENAME} /forum([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1 [L]

RewriteCond %{REQUEST_FILENAME} /forum([0-9]*)-s([0-9]*).html
RewriteRule (.*) /viewforum.php?f=%1&start=%2 [L]

RewriteCond %{REQUEST_FILENAME} /ftopic([0-9]*)-s([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1&start=%2 [L]

RewriteCond %{REQUEST_FILENAME} /ftopic([0-9]*).html
RewriteRule (.*) /viewtopic.php?t=%1 [L]



Here's the link to the (old and still running) phpbb2 installation:


www.buggy-club.de



So what i need is basically the 4 rewrite rules redirecting the old links together with a 301 header fitting your advanced seo-mod link structure for phpbb3.


Thanks in Advance

Amboss
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3477

Migrating modded board to phpbb3Posted: Tue May 20, 2008 9:24 am    Post subject: Re: Migrating modded board to phpbb3

All you'll need to do to redirect the old url will be to maintain these old rewriterules up and running in your new .htaccess after :
Code:
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

In order to let the zero duplicate do it's job.

The pattern is :
Code:
old_url => old rewriterule => phpbb script => zero dupe => http 301 => new url => new rewriterule => page loads


All is done with a single redirection (HTTP 301) this way.

So implement your old rewriterule and test some old url to validate, if you are redirected to the new one, you're done, SE will soon start to use your new urls Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: