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

XF 1.3 vBSEO w/ vBulletin conversion - hopeless?

Discussion in 'Installation, Upgrade, and Import Support' started by pjkenned, Mar 12, 2014.

  1. pjkenned

    pjkenned Member

    My basic issue is that I am completely unable to get nginx rewrite rules working. I have spent quite awhile on this and realistically it is the last bit before I can go live on XF 1.3. After nginx rules work the tasks left are simply doing the data conversion and updating permissions. The VM is ready to go at this point otherwise.

    Here is the setup:
    http://forums.servethehome.com/ (current forums vB 4.2.1 (patched) + vbSEO preset 001 with forum names.)
    http://f.servethehome.com/ XF 1.3 test instance with a copy of data from a few days ago

    Both are running CentOS 6.5 with nginx. The XF instance is using centminmod.

    I have read:
    and etc to no avail.

    I did upload the redirect scripts with the table 'xf_import_log' in the 301 and the new URL.

    What I have done to test my rewrites with the above is to take a thread URL and then copy/ paste it into the browser and change the sub domain from "forums" to "f".

    Probably tried 30+ iterations at this point and have had nothing but 404's. My hope was that I could get it working on the test site then just transfer over the relevant rules to the server before migrating the data/ forums.

    Am I trying to do the impossible here?
    Last edited: Mar 12, 2014
  2. Slavik

    Slavik XenForo Moderator Staff Member

  3. Digital Doctor

    Digital Doctor Well-Known Member

    If Jake can't do it no one can.
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Use this rule in the block for the forums.servethehome.com server:

    location ~* ^/[^/]+/[0-9]+-[^\.]+\.html$ {
    	rewrite ([0-9]+)-[^\.]+\.html$ http://f.servethehome.com/index.php?threads/$1/ last;
    That will redirect your threads.
  5. pjkenned

    pjkenned Member

    Thanks Jake!

    The f.servethehome.com is just the test server. This weekend I want to roll XF over to the main site. I am just removing the "orums" for testing. Trying to figure out what the new rewrite will be for http://forums.servethehome.com (current vb) to future http://forums.servethehome.com

    So basically if the current vbseo URL is:

    I am trying: http://f.servethehome.com/networking/3345-dual-failover-pfsense-bridged-wan.html on the test server to see if it will end up on anything. Maybe that is just wrong? I also have a server setup that I just modify my hosts file for. Maybe I will just test on there from now on. Will the above still work?
    Last edited: Mar 13, 2014
  6. pjkenned

    pjkenned Member

    Ah ha! Ok so it totally worked by just changing f. to forums.!

    Thanks you are awesome!
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    nginx rules are by server. The redirect rules need to go in the server block for the subdomain which has your vBSEO URLs, test or otherwise.

Share This Page