Welcome to WebmasterWorld Guest from 54.234.38.8

Forum Moderators: goodroi

Message Too Old, No Replies

Blocking sub-domain in robots.txt?

     
12:38 pm on Aug 22, 2012 (gmt 0)

Full Member from IN 

Top Contributors Of The Month

joined:June 18, 2012
posts: 294
votes: 0


Hi,

I have seen some people blocking their sub domains(abc.ex.com) in their robots.txt file which was deployed in the root directory(ex.com). Is that correct?

Or robots.txt cannot be used for sub-domains?


Thanks,
12:42 pm on Aug 22, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


The file must appear at
subdomain.example.com/robots.txt
as accessed from the web.
6:16 pm on Aug 22, 2012 (gmt 0)

Full Member from IN 

Top Contributors Of The Month

joined:June 18, 2012
posts: 294
votes: 0


Thanks g1smd :)
8:40 am on Aug 23, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10544
votes: 8


um, shaunm?

How do I block a sub-domain? - Sitemaps, Meta Data, and robots.txt forum:
http://www.webmasterworld.com/robots_txt/4480532.htm [webmasterworld.com]
10:24 am on Aug 23, 2012 (gmt 0)

Full Member from IN 

Top Contributors Of The Month

joined:June 18, 2012
posts: 294
votes: 0


@phranque
Oops, I am really sorry I never meant to duplicate my posts. It just happened. The real question is how did I forget my own question? Too bad for me.

Thanks phranque for pointing out :)


Best,