i have the following rewrite working fine
- Code: Select all
RewriteCond %{HTTP_HOST} ^(www\.)?mystring\.com$ [NC]
RewriteRule .? http://mystring.wordpress.com [R=301,L]
EXCEPT when the request is for one of the paths below
- Code: Select all
http://www.mystring.com/forum
http://www.mystring.com/forum/
http://mystring.com/forum
http://mystring.com/forum/
presumably because the folder "forum" exists in the apache wwwroot.
how would i make it always redirect (even if i have to manually code "forum" in a condition) ?
thanks in advance.