Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

Sub Domain Issue

12:44 am on May 24, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 5, 2003
votes: 0

I need to block google from reading product pages on a sub domain. Can I use my main domain's robots.txt file to do this?


If yes, would my robots.txt read:

User-agent: googlebot
Disallow: subdomain.domain.com/shop/detail/

4:05 pm on May 25, 2006 (gmt 0)

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
votes: 2

No, each subdomain must have its own robots.txt - the one on the main domain has no effect over any subdomains at all.