MyBB Community Forums

Full Version: After Merging, I need help redirecting url's
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I just successfully completed a conversion from Vanilla to SMF to MYBB and I need advice on how best to redirect the former url's (Vanilla) to the new Mybb url's.
The old vanilla forum was installed in the /discussion folder and had url's like these: http://www.example.com/discussion/discussion/236/title

The new Mybb forum is installed in the /forum folder and has url's like these:
http://www.example.com/forum/showthread.php?tid=236

I really dont have preferences, I just dont want to lose my links and would be welcome to any advice.
That I guess will need .htaccess edits.

Check this: http://zenverse.net/seo-friendly-urls-with-htaccess/
This might work. I haven't tested it though.

RewriteEngine on
RewriteRule ^discussion/discussion/(.*)/(.*)$ forum/showthread.php?tid=$1 [R=302,NC]
It isn't going to work because the IDs changed. You'd need to manually do it for every thread/post. Especially since he went:
Vanilla->SMF->MyBB

There really isn't anything you can do other than create a re-write rule for every existing thread.
(2011-10-23, 06:18 PM)Dylan M. Wrote: [ -> ]It isn't going to work because the IDs changed. You'd need to manually do it for every thread/post. Especially since he went:
Vanilla->SMF->MyBB

There really isn't anything you can do other than create a re-write rule for every existing thread.

If he was just converting and not merging any data, and by chance no threads were deleted from the original forum (Which is highly unlikely, but you never know) then it would work. All original ids would remain the same.
Yeah, but the odds of that are infinitesimal Smile