Answer the question
In order to leave comments, you need to log in
How to remove a subdomain from the search results?
How can I remove a domain name from Yandex search results and prevent it from appearing on Google?
robots.txt on the subdomain has
"User-agent: *
Disallow: / "
Maybe you need to somehow configure robots.txt on the main domain?
Answer the question
In order to leave comments, you need to log in
Try the variant with inserting a meta tag into the header of the site:
I use this on static sites. Haven't tried it on WordPress yet, but in theory it should work.
Here is a link to Google's explanation: https://support.google.com/webmasters/answer/93710
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question