There is 1 main site and the domain is still parked to it. How can I hide a parked domain from being indexed by Google?
- fourThe first thing that comes to mind is to change robots.txt depending on the domain in .htaccess. When requesting a domain to hide, give robots.txt with the contents of the User-agent: * Disallow: / - therainycat
- What do you understand by the word "parked"? - Pavel Mayorov
|
1 answer
If it should become a mirror, then you need to do:
- 301 redirects from one domain to another
- In the robots.txt specify the main domain
- In the settings of Google, specify it as a domain
If you need to disable indexing altogether, you need:
- Google bots returned status such as 404 for this, you can do the setting on the server
- In the robots.txt domain indexing
User-agent: * Disallow: /must be disabledUser-agent: * Disallow: /
|