.htaccess-redirecting a subforum question
Hey all, I hope someone can help me with this..
I just removed a sub domain from a site and I want to redirect the sub domain's path to the root directory....
This is what I came up with but it doesn't seem to be working. What am I missing?
RewriteCond %{HTTP_HOST} subdomain.mysite.com
RewriteCond %{REQUEST_URI} !mysite.com/
RewriteRule ^(.*)$ mysite.com/$1 [L]
Thank you guys so much,
Rich
|