Robots.txt file clarification

by @jigsawacademy (119), 1 year ago

My website has a few subdomains, but I need to disallow it from google. After a long review, I have found that all subdomains have their own robots.txt file and from there you need to disallow the boot to index that page from google.

But my main concern is shall I disallow that subdomain from my main website robots.txt file

Subdomain - https://kinsta.jigsawacademy.com/robots.txt
Main domain - https://www.jigsawacademy.com/robots.txt

2 Replies
2 Users
Sort replies:
by @hyperchecker (110), 1 year ago

Search engines treat each domain as a separate site. Each domain has its own separate file. On the main domain in robots.txt, you do not need to specify settings for the subdomain.

by @jigsawacademy (119), 1 year ago

Thanks for your reply...

Join the forum to unlock true power of SEO community

You're welcome to become part of SEO Forum community. Register for free, learn and contribute.

Log In Sign up