Robots.TXT example

Administration

Administrator
Mar 24, 2002
178
1
18
Montreal
Examples
The following example "/robots.txt" file specifies that no robots should visit any URL starting with "/cyberworld/map/" or "/tmp/", or /foo.html:
--------------------------------------------------------------------------------

# robots.txt for http://www.example.com/

User-agent: *
Disallow: /cyberworld/map/ # This is an infinite virtual URL space
Disallow: /tmp/ # these will soon disappear
Disallow: /foo.html


--------------------------------------------------------------------------------
This example "/robots.txt" file specifies that no robots should visit any URL starting with "/cyberworld/map/", except the robot called "cybermapper":
--------------------------------------------------------------------------------

# robots.txt for http://www.example.com/

User-agent: *
Disallow: /cyberworld/map/ # This is an infinite virtual URL space

# Cybermapper knows where to go.
User-agent: cybermapper
Disallow:


--------------------------------------------------------------------------------
This example indicates that no robots should visit this site further:
--------------------------------------------------------------------------------

# go away
User-agent: *
Disallow: /

( Original text from http://www.robotstxt.org/wc/norobots.html )