| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Xabi PR0

Joined: 20 Jun 2007 Posts: 52
|
Posted: 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 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

Joined: 28 Apr 2006 Posts: 15414
|
Posted: 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 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |