PDA

View Full Version : Redirection Scripts for vBulletin 3.x v6



s0ct0j0c
21-04-2011, 02:00 PM
If you have imported your vBulletin 3.x database into XenForo, you can automatically redirect all traffic destined for your vBulletin content to its new location within XenForo.

All you need to do is unzip these files and place them in the directory within which the vBulletin files with the corresponding names would be located.

Any requests for the old URLs will be redirected with a 301 permanent redirection header.

Version 2 - December 9th 2010

The original version of this system required that XenForo be installed into the same directory that vBulletin was installed.

Version 2, now attached to this post, allows you to specify a different directory in which XenForo is installed.

To do this, simply edit the included 301config.php file, un-comment the $fileDir = '/some/path/here' line and then replace the value for $fileDir with the full path to your XenForo installation, for example:

PHP:
$fileDir = '/home/example/public_html/xenforo-forum';

Note that the 301config.php, showthread.php, forumdisplay.php and showpost.php files must still be placed in the directory in which vBulletin was installed for this to work.

V6 Download
http://xenforomods.info/threads/redirection-scripts-for-vbulletin-3-x-v5.24/#post-11049