I'm very confused about Google's robots.txt documentation Examples of valid robots.txt URLs:Not valid forhttp://other.example.com/https://example.com/http://example.com:8181/ It says the robots.txt is not valid for subdomains. Is that correct? If yes, what if we have different contents with main domain?
Google say: robots.txt not valid for subdomains?
seo;google search;subdomain;sitemap;robots.txt
You need to put a robots.txt in the root web directory of your subdomain, just like you do for your main domain. You have to think of the subdomain as a separate website in this case.