Luke F
Well-known member
This addon (as requested here) expands upon the existing vB3 URL redirection scripts to support the Standard, Basic, Advanced and Mod_Rewrite modes available in vB4.
Currently supported URLs include:
Standard, Basic or Advanced URLs:
Change of directory:
Follow these instructions if you wish to also change your forum directory when moving from vBulletin. A basic understanding of rewrite rules is required - these are just examples. To specify the root directory, swap out /old-dir/ or /new-dir/ for /
Standard, Basic or Advanced URLs:
Apache: (untested)
	
	
	
		
Nginx:
	
	
	
		
Mod_Rewrite URLs: (Note that these are only tested with the route-based redirection system)
Apache: (untested)
	
	
	
		
Nginx:
	
	
	
		
Donations go here.
				
			Currently supported URLs include:
- Forums
 - Threads
 - Post permalinks
 - Members
 - Attachments
 - Print thread view
 
Standard, Basic or Advanced URLs:
- Upload contents of standard-basic-advanced/upload folder to your forum root.
 - If your URLs are not working, follow these instructions: http://xenforo.com/help/import-redirection/
 - If you are using nginx and Advanced mode URLs, you may need the following rewrites:
Code:rewrite ^/showthread.php /showthread.php; rewrite ^/forumdisplay.php /forumdisplay.php; 
- Upload contents of standard-basic-advanced/upload folder to your forum root.
 - If your old rewrite rules are still in place, your URLs may work at this stage. If not, continue to install a route-based alternative: (and be sure to disable any remaining vB4 rewrite rules as they may interfere with the routes)
 - Upload contents of mod_rewrite/upload folder to your forum root.
 - Install the addon XML file mod_rewrite/addon_vB4Redir.xml
 - If your URLs are not working, follow these instructions: http://xenforo.com/help/import-redirection/
 
------------------------------------------------------------------------------------------
Change of directory:
Follow these instructions if you wish to also change your forum directory when moving from vBulletin. A basic understanding of rewrite rules is required - these are just examples. To specify the root directory, swap out /old-dir/ or /new-dir/ for /
Standard, Basic or Advanced URLs:
Apache: (untested)
		Code:
	
	RewriteRule ^/old-dir/showthread.php /new-dir/showthread.php
RewriteRule ^/old-dir/forumdisplay.php /new-dir/forumdisplay.php
	Nginx:
		Code:
	
	rewrite ^/old-dir/showthread.php /new-dir/showthread.php;
rewrite ^/old-dir/forumdisplay.php /new-dir/forumdisplay.php;
	Mod_Rewrite URLs: (Note that these are only tested with the route-based redirection system)
Apache: (untested)
		Code:
	
	RewriteRule ^/old-dir/threads/ /new-dir/threads
RewriteRule ^/old-dir/forums/ /new-dir/forums
	Nginx:
		Code:
	
	rewrite ^/old-dir/threads/ /new-dir/threads;
rewrite ^/old-dir/forums/ /new-dir/forums;
	Donations go here.