Resource icon

Redirection Scripts for vBulletin 3.x 8.0

No permission to download
Hello,
I'm currently trying to set up a forum migration from vBulletin 3.8.
I've managed to "clone" the old forum to xenforo, everything is set up and running as it should, bar the links.
Old links have nothing to do with new links, they are completely different. Now in order to go live, this is the last problem I need to sort out.
My question, is there anybody that can give me a hand to do this, using this plugin, as I'm not sure it does what I need to.
My setup is:
domain, hosting 1 - this is old forum (vB 3.8)
different domain, hosting 2 - this is the new one (XF)
What i need to do is sort out the URL's, and than have the domain pointing to the new hosting.
Hope it's clear enough :)
Thanks
Vali
 
Hello,
I'm currently trying to set up a forum migration from vBulletin 3.8.
I've managed to "clone" the old forum to xenforo, everything is set up and running as it should, bar the links.
Old links have nothing to do with new links, they are completely different. Now in order to go live, this is the last problem I need to sort out.
My question, is there anybody that can give me a hand to do this, using this plugin, as I'm not sure it does what I need to.
My setup is:
domain, hosting 1 - this is old forum (vB 3.8)
different domain, hosting 2 - this is the new one (XF)
What i need to do is sort out the URL's, and than have the domain pointing to the new hosting.
Hope it's clear enough :)
Thanks
Vali

Please provide an example old and new URL for the same thread.
 
I'm incredibly confused at what I need to do to install this. I have a xenforo forum that I just installed. Its live on forums.x.com. I Installed it there, and moved by vbulletin files over to a new directory on my server, like x.com/oldforum. Am I supposed to be moving these files within the xenforo directory, or my old forum file directory?
Thanks
 
The redirects need to be placed in a position that matches the URL for your old forum (so that existing links to them work). If you installed XenForo in the same location as your previous forum, then they would go in the XenForo directory. Otherwise, they would go elsewhere and you need to setup the 301config file to point to XenForo.
 
Please provide an example old and new URL for the same thread.
Hi Jake,
Apologies for the late reply, I have been away from the country for two weeks.
new forum: http://additrecycling.com/ukbusinesslabs/
old forum: http://www.ukbusinesslabs.co.uk/forums/

Basically. my setup:
vB on the domain, which will be transferred from hosting 1 to hosting 2
on hosting 1, the old one, i have vB
on hosting 2, the new one i have XF.
old thread:
http://www.ukbusinesslabs.co.uk/forums/introductions/18-introduce-yourself-other-members.html
new thread:
http://additrecycling.com/ukbusinesslabs/threads/introduce-yourself-to-other-members.7525/

As I mentioned, the two forums are hosted on two different hosts, and the domain will need to be transfered when I`m going live ie 2nd link will become: www.ukbusinesslabs.co.uk/forums just like the old one

Hope it is clear enough....
Please ask should you need more info.
Thanks
 
hi there im after some help mike/jake if poss? we currently have 2 .org sites the main vb3.7.1 and the xf .org temp site, i have complete access to all parts, we paid someone to build the xf site and basically they have not done a very good job, we are still using the main vb site till the xf is how we want it, the old vb site has loads of extras that the xf dont, but i want to do this atm, basically if i take the forum sql db from vb and import the file into the xf sql root can i still use this method to redirect to it, we have 1 sql manager in phpmyadmin, the vb backup is in forum in db, xf db and files are in ****_xf, theres another also linked in devforum which looks like a vb database but is on the same server, im not a complete noob but i dont want to break anything, im using xmapp localhost so i can test there 1st. thanx as always (y)(y)(y)
 
Last edited:

Add these rules to the top of the .htaccess file in /forums (which should be your XF .htaccess file):

Code:
RewriteEngine On

RewriteRule ^[^/]+/([0-9]+)-[^\.]+\.html$ /forums/showthread.php?t=$1 [R=301,L]

Then upload these scripts to the /forums directory:

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

If your import log table is not "archived_import_log" then you need to edit the 301config.php file to specify the name of your import log:

Rich (BB code):
	define('IMPORT_LOG_TABLE', 'archived_import_log');
 
hi there im after some help mike/jake if poss? we currently have 2 .org sites the main vb3.7.1 and the xf .org temp site, i have complete access to all parts, we paid someone to build the xf site and basically they have not done a very good job, we are still using the main vb site till the xf is how we want it, the old vb site has loads of extras that the xf dont, but i want to do this atm, basically if i take the forum sql db from vb and import the file into the xf sql root can i still use this method to redirect to it, we have 1 sql manager in phpmyadmin, the vb backup is in forum in db, xf db and files are in ****_xf, theres another also linked in devforum which looks like a vb database but is on the same server, im not a complete noob but i dont want to break anything, im using xmapp localhost so i can test there 1st. thanx as always (y)(y)(y)

You can't just restore db dumps into a different forum application. The data must be converted. That is what the importer does. The vB importer is built-in to the XF Admin CP.

Redirects are done after the import.
 
Add these rules to the top of the .htaccess file in /forums (which should be your XF .htaccess file):

Code:
RewriteEngine On

RewriteRule ^[^/]+/([0-9]+)-[^\.]+\.html$ /forums/showthread.php?t=$1 [R=301,L]

Then upload these scripts to the /forums directory:

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

If your import log table is not "archived_import_log" then you need to edit the 301config.php file to specify the name of your import log:

Rich (BB code):
    define('IMPORT_LOG_TABLE', 'archived_import_log');

Thank you.

Done as advised. created the folder where vbulletin "was", named the dir and log file, added the redirect rule to the XF htaccess .
If i try an old link, like: additrecycling.com/forums/introductions/18-introduce-yourself-other-members.html , it gets me to a link like this: http://additrecycling.com/forums/showthread.php?t=18 and says page not found.
Any idea what did I mess up?
Thanks, and sorry for my noobishness.
 
Thank you.

Done as advised. created the folder where vbulletin "was", named the dir and log file, added the redirect rule to the XF htaccess .
If i try an old link, like: additrecycling.com/forums/introductions/18-introduce-yourself-other-members.html , it gets me to a link like this: http://additrecycling.com/forums/showthread.php?t=18 and says page not found.
Any idea what did I mess up?
Thanks, and sorry for my noobishness.

That's a different domain than you originally specified. You said both forums are on ukbusinesslabs.co.uk right?

If the old and new URL for that thread are on different domains then that affects the instructions. I need to be certain about the old and new URLs which you said were:

old - http://www.ukbusinesslabs.co.uk/forums/introductions/18-introduce-yourself-other-members.html
new - http://www.ukbusinesslabs.co.uk/forums/threads/introduce-yourself-to-other-members.7525/
 
That's a different domain than you originally specified. You said both forums are on ukbusinesslabs.co.uk right?

If the old and new URL for that thread are on different domains then that affects the instructions. I need to be certain about the old and new URLs which you said were:

old - http://www.ukbusinesslabs.co.uk/forums/introductions/18-introduce-yourself-other-members.html
new - http://www.ukbusinesslabs.co.uk/forums/threads/introduce-yourself-to-other-members.7525/

The old URL is ukbusinesslabs.co.uk. The new one at the moment (testing phase) is additrecycling, but once I sort out the redirects, the domain name will be moved over to the new host, so new url will BECOME ukbusinesslabs.co.uk. Hope that makes sense.
Thanks
 
The old URL is ukbusinesslabs.co.uk. The new one at the moment (testing phase) is additrecycling, but once I sort out the redirects, the domain name will be moved over to the new host, so new url will BECOME ukbusinesslabs.co.uk. Hope that makes sense.
Thanks

In that case my previous instructions should work once the domain is moved.
 
Thank you.

Done as advised. created the folder where vbulletin "was", named the dir and log file, added the redirect rule to the XF htaccess .
If i try an old link, like: additrecycling.com/forums/introductions/18-introduce-yourself-other-members.html , it gets me to a link like this: http://additrecycling.com/forums/showthread.php?t=18 and says page not found.
Any idea what did I mess up?
Thanks, and sorry for my noobishness.

That immediate "page not found" error probably means you missed this part of the instructions:

 
Top Bottom