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  
 
   
Rewriting for phpBB3 an already rewrited phpBB2
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
Xabi
PR0
PR0


Joined: 20 Jun 2007
Posts: 52

Rewriting for phpBB3 an already rewrited phpBB2Posted: Tue Jul 10, 2007 3:38 pm    Post subject: Re: Rewriting for phpBB3 an already rewrited phpBB2

I have managed to redirect some of those URLs Smile These are the rules:

Code:
RewriteRule ^tema([0-9]+).html phpBB3/viewtopic.php?t=$1 [QSA,L]
RewriteRule ^tema([0-9]+)-([0-9]+)-asc-([0-9]+).html phpBB3/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
RewriteRule ^tema([0-9]+)-([0-9]+).html phpBB3/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
RewriteRule ^mensaje([0-9]+).html phpBB3/viewtopic.php?p=$1 [QSA,L,NC]
RewriteRule ^foro([0-9]+).html phpBB3/viewforum.php?f=$1 [QSA,L,NC]
RewriteRule ^foro-([0-9]+)-topicdays([0-9]+)-start([0-9]+).html phpBB3/viewforum.php?f=$1&start=$3 [QSA,L,NC]


Now I'm afraid of how will this affect to Google. I'm using a double redirection for old URLs... For example, tema1111.html --> /phpBB3/viewtopic.php?t=1111 --> /phpBB3/the-forum-f50/this-is-the-topic-t1111.html

Any ideas? Too much redirections here?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Rewriting for phpBB3 an already rewrited phpBB2Posted: Wed Jul 11, 2007 7:07 pm    Post subject: Re: Rewriting for phpBB3 an already rewrited phpBB2

The zero duplicate is making the trick even easier.

Once installed, you'll just have to keep the old rewriterules from the old standard up an running at the end of your new .htaccess.

This way, these url will still hit the proper script, and the zero duplicate will properly redirect them (with title injection and so on).

All of this imply a single HTTP 301 redirection, it follows this principle :

Code:
temaxxx.html => .htacesss activates /phpBB3/viewtopic.php?t=xx => HTTP 301 based on the URI (temaxxx.html) => /phpBB3/the-forum-f50/this-is-the-topic-t1111.html


Just like if you had tried a misspelled title for a topic URL.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 2 of 2 Goto page Previous  1, 2

Navigation Similar Topics

Jump to: