Hello,
Currently I'm trying to 301 a domain (b) to another (main) domain (a).
Meaning, I've set up a separate account for domain b, and letting an .htaccess file handle the rest.
Would it be possible to redirect both http://www.domain-b.com/ AND http://domain-b.com/ to http://domain-a.com/?
Currently I have
but it doesn't seem to redirect http://domain-b.com/ to http://domain-a.com/Code:RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.domain-b\.com$ RewriteRule ^(.*)$ http://domain-a.com/$1 [L,R=301]
Also, would a robots.txt file for domain b, including
only, be advised in this situation?Code:User-agent: * Disallow: /cgi-bin/



LinkBack URL
About LinkBacks






Reply With Quote
