The Proper Way To Use The robots.txt File Update

In my last article about the file I had spelled it wrong. ItDisallow:
should have been instead of . The article should readThe above would let all spiders index all content.
like this:Here another example
When optimizing your web site most webmastersUser-agent: *
don't consider using the s is a very important file forDisallow: /cgi-bin/
your site. It let the spiders and crawlers know whatThe above would block all spiders from indexing the
they can and can not index. This is helpful in keepingcgi-bin directory.
them out of folders that you do not want index like theUser-agent: googlebot
admin or stats folder.Disallow:
Here is a list of variables that you can include in a fileUser-agent: *
and there meaning:Disallow:
1) User-agent: In this field you can specify a specificDisallow: /cgi-bin/
robot to describe access policy for or a "*" for allDisallow: /admin/
robots more explained in example.Disallow: /stats/
2) Disallow: In the field you specify the files and foldersIn the above example googlebot can index everything
not to include in the crawl.while all other spiders can not index , cgi-bin, admin, and
3) The # is to represent commentsstats directory. Notice that you can block single files
Here are some examples of a filelike .
User-agent: *