Rewriting for phpBB3 an already rewrited phpBB2

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

Moderator: Moderators

Rewriting for phpBB3 an already rewrited phpBB2

Postby Xabi » Wed Jun 20, 2007 2:42 pm

Excuse me, the title of this topic is a bit dumb :D But it's true: I have a phpBB2 board (in fact, pnphpBB2 - phpBB for postnuke) and I already have rewrited URLs. I follow this format:

forum12.html
topic1234.html
message123456.html

Now I'm migrating to phpBB3. I need a clear redirection path to avoid duplicates, maybe something like forum12.html --> forum12. But the actual phpBB3 SEO Mods generate URLs like "un-forum-f6/", with the title of forum/message/topic included. How could I do to avoid duplication in this case?
Last edited by Xabi on Wed Jun 20, 2007 3:01 pm, edited 1 time in total.
Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Advertisement

Postby Xabi » Wed Jun 20, 2007 2:46 pm

Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Postby SeO » Wed Jun 20, 2007 2:59 pm

And welcome :D

It is pretty easy to redirect all the older urls using the zero duplicate together with one of our mod rewrites (currently, only the advanced one was released, but the other are scheduled).

It will simply redirect all possible duplicates, including the older rewritten urls. All you'll have to do is to keep the rewriterules from the previous mod rewrite to allow the zero dupe to take care of them.

The method was already widely tested, it's SEO safe, you should keep backlinks and Pagerank, with most likely no loss of visitors during the massive redirecting.

You should test a bit before you go online with it, just to make sure everything is working as expected, especially the headers returned by your server. Everything is explained in the install files.
It's simple in the end, but it's important that both the new urls and the redirecting works to optimise the migration.

As well, we'll be soon releasing several versions of the phpBB SEO mod rewrites for phpBB3, including a simple one that could keep the exact same url as you do now very easily.

++
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby Xabi » Wed Jun 20, 2007 3:10 pm

SeO wrote:And welcome :D


Err... greetings! :oops:

It is pretty easy to redirect all the older urls using the zero duplicate together with one of our mod rewrites (currently, only the advanced one was released, but the other are scheduled). It will simply redirect all possible duplicates, including the older rewritten urls. All you'll have to do is to keep the rewriterules from the previous mod rewrite to allow the zero dupe to take care of them.


So, I understand that all my old URLs would point to the new ones, and I mean the "phpbb3-mod-rewrite/discussions-vt1265.html" thing, without any duplicates. Right? This would be great... but anyway, is really a good SEO practice to include titles in URLs? For the user perspective, seems a bit confusing (message1234 seems to be easier to boomark and remember than "phpbb3-mod-rewrite/discussions-vt1265.html").

The method was already widely tested, it's SEO safe, you should keep backlinks and Pagerank, with most likely no loss of visitors during the massive redirecting.


This sounds like heaven to me. I have 550.000 visits and 330.000 unique users every month and I was really frightened with the migration.

You should test a bit before you go online with it, just to make sure everything is working as expected, especially the headers returned by your server. Everything is explained in the install files.


I will, and I'll publish my tests here, thank you very much!
Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Postby Xabi » Wed Jun 20, 2007 3:23 pm

I'm trying to download the mods but there is no link in the arrow at the downloads section...
Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Postby SeO » Wed Jun 20, 2007 5:10 pm

About the keyword injection, that's why we released three different mod rewrite for phpBB2. Will even be more for phpBB3, for everyone to put together the best SEO URL strategy according to his particular project.

As you can see, here only forum titles are injected, can be a good thing for big boards, to categorize content a bit without risking too many dumb titles injected. I'm sure you'll be interested into this topic ;)

About downloading, the download button is grey, and the zero dupe is made only available for logged in user, this in order to prevent people from trying it without thinking. URL migration is made really easy with it, but that's not something you should do every other day, and header must be checked, even though its really easy to check and really not likely that your server would in the end send an HTTP 302 despite the proper header() usage, you really do not want to experiment the damages it would cause.
But I'm pretty sure you'll install everything perfectly with ease, especially if you already administrate a large board. Just do not hesitate to test and validate all steps.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby Xabi » Wed Jun 20, 2007 8:53 pm

I'm logged, and I see the grey arrow, but when I click, nothing happens...
Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Postby SeO » Wed Jun 20, 2007 11:13 pm

Just below the first table : Image

cheers
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby spy » Thu Jun 21, 2007 7:58 pm

SeO wrote:And welcome :D

It is pretty easy to redirect all the older urls using the zero duplicate together with one of our mod rewrites (currently, only the advanced one was released, but the other are scheduled).

It will simply redirect all possible duplicates, including the older rewritten urls. All you'll have to do is to keep the rewriterules from the previous mod rewrite to allow the zero dupe to take care of them.

The method was already widely tested, it's SEO safe, you should keep backlinks and Pagerank, with most likely no loss of visitors during the massive redirecting.

You should test a bit before you go online with it, just to make sure everything is working as expected, especially the headers returned by your server. Everything is explained in the install files.
It's simple in the end, but it's important that both the new urls and the redirecting works to optimise the migration.

As well, we'll be soon releasing several versions of the phpBB SEO mod rewrites for phpBB3, including a simple one that could keep the exact same url as you do now very easily.

++


Hello,
can I use the method too?
http://www.phpbb-seo.com/boards/advance ... vt941.html
spy
 
Posts: 38
Joined: Wed Mar 07, 2007 10:34 pm

Postby dcz » Fri Jun 22, 2007 11:07 am

Yes, the principles to follow are the same, except the phpBB SEO mod rewrite greater than 0.2.4 included, and the phpBB3 ones won't need the format_url() code change. The new method now supports utf-8 already.

++
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 mhmdkhamis » Fri Jun 22, 2007 2:48 pm

welcome dcz

sorry what do u mean about

Code: Select all
The new method now supports utf-8 already.
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby spy » Fri Jun 22, 2007 2:53 pm

Thanks dcz,
can you explain more ?!
did you take a look on this topic?

http://www.phpbb-seo.com/boards/advance ... vt941.html
I mean can I upgrade to phpBB3 and use your phpBB3 advanced mod Rewrite without losing my links and page rank?(I'm not using ur mod in my currently phpbb2 forum)
spy
 
Posts: 38
Joined: Wed Mar 07, 2007 10:34 pm

Postby dcz » Sat Jun 23, 2007 8:33 am

mhmdkhamis wrote:welcome dcz

sorry what do u mean about

Code: Select all
The new method now supports utf-8 already.


I meant that starting from version 0.2.4, the format_url() method will deal with all char-set supported by htmlentities() as expected, eg, only injecting latin1 chars, without accents. It was not the case with the previous version, that's why another format_url() method was proposed in the post spy was talking about.

@ spy
If you are talking about migrating from phpbb2 to phpbb3, the first issue is to be able to convert using phpBB3 rc1.

It looks like it will be safer to start playing with rc2 :roll:

Then, the principle will be very similar to the phpbb2 2 migration procedure. You'll have to first install the mod rewrite and the zero dupe, and eventually keep some of the previously used rewriterules, if any, in order to have the older url work and be redirected.

I advise you to test well and to start a dedicated topic in order to make sure you did well before you go for it.

++
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 mhmdkhamis » Sat Jun 23, 2007 2:11 pm

i have opinion in that

the problems happen to big db

i tested conversion with many db size

no problem with small db but with big db the problem start in many ways

:)
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby Xabi » Tue Jul 10, 2007 12:06 pm

I can't get this working. These are my old rewrite rules (for a postnuke based phpBB forum):

Code: Select all
RewriteRule ^tema([0-9]+)-([0-9]+)-([^-]+)-([0-9]+).html index.php?name=PNphpBB2&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4

RewriteRule ^tema([0-9]+)-([0-9]+).html index.php?name=PNphpBB2&file=viewtopic&t=$1&start=$2 [L]

RewriteRule ^tema([0-9]+).* index.php?name=PNphpBB2&file=viewtopic&t=$1 [L]

RewriteRule ^mensaje([0-9]+).* index.php?name=PNphpBB2&file=viewtopic&p=$1 [L]

RewriteRule ^foro([0-9]+).* index.php?name=PNphpBB2&file=viewforum&f=$1 [L]

RewriteRule ^estudio([0-9]+).* index.php?name=PNphpBB2&file=album_personal&user_id=$1 [L]

RewriteRule ^foto([0-9]+).* index.php?name=PNphpBB2&file=album_page&pic_id=$1 [L]

RewriteRule ^catforos([0-9]+).* index.php?name=PNphpBB2&file=index&c=$1 [L]

RewriteRule ^foro-([0-9]+)-topicdays([0-9]+)-start([0-9]+).html index.php?name=PNphpBB2&file=viewforum&f=$1&&topicdays=$2&start=$3

RewriteRule ^comentariosfoto([0-9]+).* index.php?name=PNphpBB2&file=album_comment&pic_id=$1 [L]


I'm getting error 500 and no results... and I need to redirect the both sides of those rewrite rules (f.e.: index.php?name=PNphpBB2&file=viewtopic&t=1000 and tema1000.html ---> to the new "topic1000" URL of phpBB3). Notice that my old forum was in root and the new one is at phpBB3/

Also, I'm afraid of the topic title injection in the Advanced SEO mod. Is there a Mixed version available for phpBB3?

Could you help me?
Xabi
PR0
PR0
 
Posts: 54
Joined: Wed Jun 20, 2007 2:29 pm

Next

Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests


 
cron