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:
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.
Version 4 - March 29th 2011
This new version includes a rewriting system for printthread.php, attachment.php and the vBulletin 3 'search-engine-friendly' archive system. Simply overwrite your existing files, except 301config.php, which has not changed, and include the new archive/index.php file.
Version 5 - April 6th 2011
This new version includes the system described in the XenForo 1.0.1 Release Announcement whereby XenForo may support multiple import sources.
Full details of how to make use of the system are in the XenForo manual.
Version 6 - April 11th 2011
This new version now supports redirection for member profile pages.
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.
Version 4 - March 29th 2011
This new version includes a rewriting system for printthread.php, attachment.php and the vBulletin 3 'search-engine-friendly' archive system. Simply overwrite your existing files, except 301config.php, which has not changed, and include the new archive/index.php file.
Version 5 - April 6th 2011
This new version includes the system described in the XenForo 1.0.1 Release Announcement whereby XenForo may support multiple import sources.
Full details of how to make use of the system are in the XenForo manual.
Version 6 - April 11th 2011
This new version now supports redirection for member profile pages.