XF 1.2 Forum Merging and Redirects

mjda

Well-known member
Right now I have a XenForo forum and a vBulletin forum. Both are of the same genre and I'm considering merging both forums into a single forum. What I would like to do is merge the vBulletin data into the XenForo forum. I've already done the import on a test installation and it worked flawlessly.

My question is, is there any way to redirect the threads from the old vBulletin board to their new place on the new board? Keep in mind that the new board will be on a completely different domain and the content IDs will have changed on all threads.

So, basically, I would need www.oldsite.com/threads/123-Thread-Title to redirect to www.newsite.com/threads/thread-title.321.

Sorry if this isn't the right forum for this, but I'm sure it'll be moved to the appropriate forum anyways.
 
Add these rules to the top of the .htaccess file in the web root for oldsite.com (replacing oldsite and newsite appropriate):

Code:
RewriteEngine On

RewriteCond %{HTTP_HOST} ^(www\.)?oldsite\.com$
RewriteRule ^threads/([0-9]+)-.+$ http://www.newsite.com/showthread.php?t=$1 [R=301,L]

Then upload these redirection scripts to the web root for newsite.com:

http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/

That should do it.
 
Top Bottom