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