Forum Moderators: phranque
I redirected the "/" of [DomainA.com...] to [DomainA.com...] however whenever i type DomainB.com it gets redirected to [DomainA.com...] too. I replaced the redirection from "/" to "/index.php" but same problem persist. Then later on, I found out that if I create subdomains too, same thing happens. I looked at .htaccess and googled for RedirectMatch but I couldn't make it work. I also tried to the Rewrite but it doesn't work too. Been already wracking the web for over a couple of hours already for this but I'm still stuck. I hope someone can advice me on this one.
By the way, the htaccess file has this content:
# -FrontPage-
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.DomainA.com
AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/user/public_html/_vti_pvt/service.grp
RedirectMatch temp ^/$ [DomainA.com...]
This recent thread [webmasterworld.com] may be of some assistance to you.
Jim