Jump to content

How to redirect (htaccess) from site.com to site.com/forum?

Recommended Posts


RedirectMatch 301 ^/(.*)   http://www.YOURDOMAIN.co.uk/forum/$1

Should work fine

That will take anything in the root to now be in /forum/

If you need items in the root still then something like

RedirectMatch 301 ^/folder1/(.*)   http://www.YOURDOMAIN.co.uk/forum/folder1/$1
RedirectMatch 301 ^/folder2/(.*)   http://www.YOURDOMAIN.co.uk/forum/folder2/$1


should be fine.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...