XF 1.3 vBSEO w/ vBulletin conversion - hopeless?

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:
http://xenforo.com/community/threads/redirects-for-vbseod-urls.5098/
http://xenforo.com/community/threads/redirect-vbseo-to-xenforo-nginx.65901/
http://xenforo.com/community/thread...rect-from-vb4-2-with-vbseo.45667/#post-490490
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:
Use this rule in the block for the forums.servethehome.com server:

Code:
location ~* ^/[^/]+/[0-9]+-[^\.]+\.html$ {
	rewrite ([0-9]+)-[^\.]+\.html$ http://f.servethehome.com/index.php?threads/$1/ last;
}

That will redirect your threads.
 
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:
http://forums.servethehome.com/networking/3345-dual-failover-pfsense-bridged-wan.html

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:
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:
http://forums.servethehome.com/networking/3345-dual-failover-pfsense-bridged-wan.html

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?

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.
 
Top Bottom