homepage Welcome to WebmasterWorld Guest from 54.234.147.84
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Sub Domain Issue
is300




msg:1528351
 12:44 am on May 24, 2006 (gmt 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?

subdomain.domin.com/shop/detail/20414/

If yes, would my robots.txt read:

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

 

encyclo




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved