1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Best redirect to use after vb3 upgrade to xf in new folder?

Discussion in 'Installation, Upgrade, and Import Support' started by ibrian, May 28, 2016.

  1. ibrian

    ibrian Active Member

    I had a vb3 installed at: /forums/

    To avoid the /forums/forums/ issue in the URLs, I've since reinstalled xf in: /community/

    The vb3/vbseo redirects are all working brilliantly - any request for URLs for the old vb3 content go to exactly the right place in the xf install.

    The problem is, I still have the directory "/forums/" with vb3 installed, and don't appear able to simply redirect it to "/community/" with a normal 301 without messing up the vb3 redirect script.

    Is there a simple way to redirect any user from the folder "/forums/" to "/community" without them having to click through the old vb3 links, please?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add these rules to the top of the .htaccess file in /forums

    RewriteEngine On
    RewriteRule ^$ /community/ [R=301,L]
    That will redirect the "/forums/" URL. It is an exact match so it won't interfere with other redirects.
    ibrian likes this.

Share This Page