Reputation: 179
I have a website with the name of "http://wowriters.com/" but that website is also accessable from "http://beeelkazi33813.ipage.com/writers/".
I want that my "http://wowriters.com/" website should not be accessible from "http://beeelkazi33813.ipage.com/writers/".
Please help me.
Thanks in advance.
Upvotes: 1
Views: 27
Reputation: 784938
Inside your site root directory (/writers/
), add this block rule for 2nd domain:
RewriteEngine On
RewriteCond %{HTTP_HOST} =beeelkazi33813.ipage.com
RewriteRule .* http://wowriters.com/$0 [L,R=301,NE]
Upvotes: 1