1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Forum Merging and Redirects

Discussion in 'Installation, Upgrade, and Import Support' started by mjda, Jan 31, 2014.

  1. mjda

    mjda 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.
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Jake Bunce

    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.
    mjda likes this.
  4. mjda

    mjda Active Member

    Thanks @Jake Bunce. I'll give that a shot as soon as I do the import.
  5. mjda

    mjda 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!

Share This Page