Welcome to WebmasterWorld Guest from 54.145.101.33

Forum Moderators: goodroi

Message Too Old, No Replies

Robots.txt

How? Sub-Domains

     
8:22 pm on Feb 6, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 6, 2002
posts:742
votes: 0


Is it possible to exclude sub-domains (test.mydomainname.com) via robots.txt. I know how to exclude sub directories, but not sure about sub domains. Sorry, if this is posted in the wrong section.
8:37 pm on Feb 6, 2003 (gmt 0)

Senior Member

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

joined:Mar 31, 2002
posts:25430
votes: 0


MarkHutch,

Sure, you just redirect requests for robots.txt to different files, depending on which subdomain the request comes to. The implementation depends on what server you are hosted on.

Jim