prevent htaccess 301 redirects on sub-domain
- by Ahmedk
I have 301 redirects which direct /index.html to /site folder
and when i created a sub-domain it also redirects the link to /site which causes 404 Not Found
ex.
members.mysite.com redirects to members.mysite/site which causes 404 error
can I add execption for specific forlder or something without changing the redirect.
htaccess content
AddType text/x-server-parsed-html .htm .html
RedirectMatch 301 ^/index.html(.*)$ /site$1