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

ibrian

Well-known 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?
 
Add these rules to the top of the .htaccess file in /forums

Code:
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.
 
Top Bottom