Welcome to Our Community

Registration on our forums are now open for some days! Feel free to sign up today.

vBulletin 4.x URL Redirection 1.0.0

vBulletin 4.x URL Redirection

  1. XenForo Rocks
    Description:

    This addon 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:

    • Forums
    • Threads
    • Post permalinks
    • Members
    • Attachments
    • Print thread view

    ___________________________________________


    Installation:


    Standard, Basic or Advanced URLs:

    1. Upload contents of standard-basic-advanced/upload folder to your forum root.
    2. If your URLs are not working, follow these instructions: http://xenforo.com/help/import-redirection/
    3. 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;

    Mod_Rewrite URLs:

    1. Upload contents of standard-basic-advanced/upload folder to your forum root.
    2. 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)
    3. Upload contents of mod_rewrite/upload folder to your forum root.
    4. Install the addon XML file mod_rewrite/addon_vB4Redir.xml
    5. If your URLs are not working, follow these instructions: http://xenforo.com/help/import-redirection/

    (Optional) 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;