Resource icon

phpbb3 redirection Script SEO URLs Apache & Nginx 2013-09-14

No permission to download
@Brogan said Yes, i said No, but we both mean the same:-) Personally i left my old phpbb3 installation active for a while and i switched it off after a month or so, but you can do this immediately after installing the script.
 
Hello ,

I did converted my forum to xenforo from phpbb. Your resource was really helpful , although we had to make little changes.

In html.php Mike added this ;

$_SERVER['REQUEST_URI'] = preg_replace('/\?.*$/', '',
$_SERVER['REQUEST_URI']);

before this ;

$url = explode('/', $_SERVER['REQUEST_URI']);

He did this because there was a problem if links has tag in the end for example ;

sitename.com/topic-t1919.html?nomobile=1

Furthermore , there was other tags too , like start or end bla bla... All of them redirected correctly after that.

Secondly , I had lots of errors in webmaster tools because I didn't redirect members , so I copied this from Jake Bunce's vbulletin redirect script and edit a little bit ;

Add this in htaccess ;

RewriteRule ^member([^\.]+)\.html$ /forums/member_redirect.php?user_id=$1 [NC,L]

before this ;

RewriteRule ^(.*)\.html html.php [NC,L]

And upload attached file in to your forum directory. You need to arrange it for your forum.

To sum up , now you should have perfect redirect :)
 

Attachments

Top Bottom