Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

moved forum to root from /forum/ how to 301 redirect?

shozen1shozen1 New
edited March 2012 in Vanilla 2.0 Help

I have moved my forum to root from /forum/ and I understand this may be extremely obvious and im almost there but how to do this exactly? I need to redirect all pages to the new location in root...

Currently I am using redirect 301 /forum/ in .htaccess and it almost works but misses out the forward flash / before /discussion folder. Example.


As you can see "www.kaohsiungliving.orgdiscussion/" no "/" before discussion This is probably an extremely easy thing to do, and I have googled away but have only found partial success.

Please help :)


Best Answer

  • x00x00 MVP
    edited March 2012 Answer ✓

    I have a solution. Vanilla routes.

    First comment out the RedirectMatch in .htaccess

    then go to dashboard/routes -> Add Route

    Route Expression:





    Permanent 301


    Yes it is internal conflict of interest to answer your question.

    grep is your friend.



Sign In or Register to comment.