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.
Configuration
The included 301config.php file has all of the configuration options and they are documented within.
If you archived your import log table, you must change IMPORT_LOG_TABLE to suit.
Usage if you installed XenForo in a different directory compared to where vBulletin was 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.
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.
Configuration
The included 301config.php file has all of the configuration options and they are documented within.
If you archived your import log table, you must change IMPORT_LOG_TABLE to suit.
Usage if you installed XenForo in a different directory compared to where vBulletin was 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.