Forum Moderators: phranque
I have a website with two domains:
website.com/myfolder
website.net/myfolder
Both domains resolve to same website. So whether you open website.com or website.net it will open same website.
I want to block access to "website.com/myfolder" while "website.net/myfolder" will remain accessible.
Similarly website.com and website.net as a whole should be accessible.
It's only "website.com/myfolder" that should be blocked.
What will be the contents of .htaccess file?
Thanks
sub+domain+rewrite [google.com]