I have a question about the robots txt file and multihosted domains.
If I have a multihosted domain at http://abcd.mymaindomain.com and the servers for www.abcd.com point to http://.abcd.mymaindomain.com how do I use the robot's txt file to disallow indexing of that sub domain/directory?
I know that the following would disallow the index from the front door of my main website ie www.mymaindomain.com
User-agent: *
Disallow: /abcd/
thus stopping the robots from visiting the multi hosted domain via www.mymaindomain.com/abcd/
But what if a robot entered the multihosted sub domain/directory from www.abcd.com ?
Should I put a disallow robots txt such as:
User-agent: *
Disallow: /
into the directory of www.mymaindomain/abcd/ and treat it as if it were a regular non multihosted domain?
Do robots read robots txt files in subdirectories or just the main domain directory?
Hope I made this question understandable.
Thanks for any advice.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks