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

.htaccess redirects

Discussion in 'XenForo Questions and Support' started by Douglas Taylor, Dec 15, 2011.

  1. Douglas Taylor

    Douglas Taylor Active Member

    if a user surfed to, say, domain.com/forums

    how could I use .htaccess to automatically have them directed to forums.domain.com

    Thanks!
     
  2. Lycaon

    Lycaon Well-Known Member

    I believe this would work.

    Code:
    RedirectMatch 301 ^/forum/(.*)$ http://forum.domain.com/$1
     
  3. Douglas Taylor

    Douglas Taylor Active Member

    Thanks! Works! :)
     

Share This Page