Welcome to WebmasterWorld Guest from 54.162.155.183

Forum Moderators: goodroi

Message Too Old, No Replies

Robots.txt

How? Sub-Domains

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

WebmasterWorld Senior Member 10+ Year Member



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)

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



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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month