.htaccess redirects

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!
 

Lycaon

Well-known member
I believe this would work.

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