phpbb2 to phpbb3 questions

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

Moderator: Moderators

phpbb2 to phpbb3 questions

Postby webexit » Wed Mar 05, 2008 1:57 pm

I'm using a PHPBB2 forum with Google Tap MOD for friendly URL's and I want to update two PHPBB3 with Mixed SEO URL

I'm seeing the post url's like this:

-http://www.mydomain.com/postt17173.html

I have this rule for posts on htaccess(phpbb as php-nuke module):

Code: Select all
RewriteRule ^post(p|t)([1-9][0-9]*).* modules.php?name=Forums&file=viewtopic&$1=$2


I can set another RewriteRule in order to redirect -http://www.mydomain.com/postt17173.html to -http://www.mydomain.com/viewtopic.php?t=17173 but if I do that I will create duplicate content.

What steps you think I can follow if I want to my mantain my highly ranked posts on google and upgrade until having a forum with Mixed SEO URL?

Thanks
webexit
 
Posts: 3
Joined: Wed Mar 05, 2008 12:49 pm

Advertisement

Postby dcz » Tue Mar 11, 2008 3:29 pm

First thing to consider is the phpBB distinction between post and topic urls :
viewtopic.php?p=xx (post) vs viewtopic.php?t=xx (topic)

Apparently, the Google Tap MOD did allow post urls to be indexed (in their url rewritten version), so you'll have to do some redirecting to take care about all these duplicates unless you did it using your robots.txt.

Then, the principle is pretty simple thanks to the zero duplicate. All we need to do is to make sure that the old rewritten urls will still hit the proper phpBB script and the zero duplicate will do the rest :
Code: Select all
postt17173.html => old rewriterule => viewtopic.php is called with t = 17173 => the zero duplicate detects the dupe => HTTP 301 redirection to the new url, can be pretty much what you want, default is topic17173.html => new rewriterule => viewtopic.php is called with t = 17173, header is sent, the page is displayed


All this occurs with a single redirect so there no better way to do it.

This means that we need to redirect all the rewritten urls, forum, topics and posts.

With our mods, you can personalize the static part in urls, this mean you could keep posttxx.html as the topic standard and save some redirection, but this as well could be a good occasion to start using the virtual folder trick to be able to use urls such as "forum-url/topicxx.html" which would allow you to add some selected keywords (the one you'd have chosen for each forum) in all topic urls.

Massive redirecitng usually causes no trouble SEO wise as long as they are implemented properly (eg all the sudden and working from the beginning), it's all up to you to decide about this.

In all cases, you'll need to at least redirect post urls, and most likely the forum ones, so before you switch, please post here both your new and old .htaccess and I'll tell you what to do to activate all the required redirections ;)

++
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 webexit » Wed Mar 12, 2008 12:37 pm

dcz wrote:Apparently, the Google Tap MOD did allow post urls to be indexed (in their url rewritten version), so you'll have to do some redirecting to take care about all these duplicates unless you did it using your robots.txt.
++


At this moment I have indexed content with url's like -http://www.mysite.com/postpXXXXX.html part of this content is duplicated content...

"Zero duplicate" detects this dupe or I need to make redirections into .htaccess?

A 301 redirection rule of all postpXXXXX.html to posttXXXXX.html can be a good solution?
webexit
 
Posts: 3
Joined: Wed Mar 05, 2008 12:49 pm


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests