http://xenforo.com/community/threads/vbulletin-4-x-url-redirection.7584/ Currently supported URLs include: Forums Threads Post permalinks Members Attachments Print thread view Installation: 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: 代码: rewrite ^/showthread.php /showthread.php; rewrite ^/forumdisplay.php /forumdisplay.php; Mod_Rewrite URLs: 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) 代码: RewriteRule ^/old-dir/showthread.php /new-dir/showthread.php RewriteRule ^/old-dir/forumdisplay.php /new-dir/forumdisplay.php Nginx: 代码: 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) 代码: RewriteRule ^/old-dir/threads/ /new-dir/threads RewriteRule ^/old-dir/forums/ /new-dir/forums Nginx: 代码: rewrite ^/old-dir/threads/ /new-dir/threads; rewrite ^/old-dir/forums/ /new-dir/forums;