XF 1.2 Forum Merging and Redirects


Active 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.

Jake Bunce

XenForo moderator
Staff member
Add these rules to the top of the .htaccess file in the web root for oldsite.com (replacing oldsite and newsite appropriate):

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:


That should do it.


Active member
@Jake Bunce, I just wanted to say thanks again for the help here. I imported all the data, and set up everything just as you said and it is working perfectly. Thanks again!