View Single Post
  #3 (permalink)  
Old 08-31-2009, 10:21 AM
whitelee5 whitelee5 is offline
Appraiser

 
Join Date: Aug 2009
Location: michigan
Posts: 3
whitelee5 is an unknown quantity at this point
Default Re: How do I use a Robots file or do you have an example of one?

The robots.txt is a TEXT file (not HTML!) which has a section for each robot to be controlled. Each section has a user-agent line which names the robot to be controlled and has a list of "disallows" and "allows". Each disallow will prevent any address that starts with the disallowed string from being accessed. Similarly, each allow will permit any address that starts with the allowed string from being accessed. The (dis)allows are scanned in order, with the last match encountered determining whether an address is allowed to be used or not. If there are no matches at all then the address will be used.
Reply With Quote