Flux rss
Bookmark Bookmark & Share
Robots.txt Robots.txt Robots.txt Robots.txt Robots.txt

Presentation of the robots.txt File

robots.txt is a text file that contains commands for search engine indexing robots that specify the pages that can and cannot be indexed. When a search engine explores a website, it starts by looking for the robots.txt file at the root of the site.

robots.txt File Format

The robots.txt file is an ASCII file found at the root of the site. It can contain the following commands:

  • User Agent: used to specify the robot that is subject to the following orders. The value * means "all search engines"
  • Disallow: used to identify the pages to be excluded during indexing. Each page or path that is to be excluded must be on a separate line and must start with / The value / alone means "all of the website's pages".

Warning: The robots.txt file should not contain any empty lines!

Here are some examples of robots.txt files:

  • All pages are excluded:
    User Agent: *
    Disallow: /
  • No pages are excluded (equivalent to having no robots.txt file, meaning that all the pages are visited):
    User Agent: *
    Disallow: 
  • Only one robot is authorized:
    User Agent: RobotName
    Disallow:
    User Agent: *
    Disallow: /
  • One robot is excluded:
    User Agent: RobotName
    Disallow: /
    User Agent: *
    Disallow:
  • One page is excluded:
    User Agent: *
    Disallow: /directory/path/page.html
  • All pages from a directory and its subfolders are excluded:
    User Agent: *
    Disallow: /directory/

Examples of User Agents

Here are a few examples of User Agents for the most popular search engines:

Search Engine Name User Agent:
Alta Vista Scooter
Excite ArchitextSpider
Google Googlebot
HotBot Slurp
InfoSeek InfoSeek Sidewinder
Lycos T-Rex
Voilà Echo

For More Information

The web robots page

Last update on Thursday October 16, 2008 02:43:14 PM.This document entitled « Robots.txt » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Download Robot Benri When you are not at the home, you can control what takes place even there with hindsight. Robot Benri is a tool allowing to use your webcam or other sensor of pictures in so much of surveillance camera. You only have to connect it up your apparatus... en.kioskea.net/telecharger/telecharger-601-robot-benri
Japan child robot mimicks infant learning A "Child-robot with Biomimetic Body" or CB2, follows an object with his eyes at a laboratory in Osaka University The creators of the Child-robot with Biomimetic Body, or CB2, say it's slowly developing social skills by interacting with humans and... en.kioskea.net/actualites/japan-child-robot-mimicks-infant-learning-12465-actualite.php3
Japan's 'Cyberdyne' robot suit ready for hospital Models display Cyberdyne Inc. robot suits in Tsukubua, near Tokyo. A Japanese professor has announced he is introducing the robot suits for paralysed people, helping them to walk again by detecting their next move and lifting their muscles. A... en.kioskea.net/actualites/japan-s-cyberdyne-robot-suit-ready-for-hospital-10777-actualite.php3
How to read a file line by lineHow to read a file line by line Intro Tips Bonus Intro One of the most common errors of learning scripts bash on GNU / Linux is to read a file line by line, is to use a loop "for" (for line in $ (cat file.txt) do. ..), which in this... en.kioskea.net/faq/sujet-1757-how-to-read-a-file-line-by-line
Writing in batch in text fileWriting in batch in text file To write in a file text, you just have to use a redirect: echo text > output_file.txt To write in an existing file: echo " Write at the end of the file ">> output_file.txt en.kioskea.net/faq/sujet-1050-writing-in-batch-in-text-file
Captchas for detecting robots!! Are they efficient?Captchas for detecting robots!! Are they efficient? Myth Reality Explanations Captchas are images containing letters to be submitted for proving that the user is a human. They are usually installed to block bots (automated software).... en.kioskea.net/faq/sujet-1677-captchas-for-detecting-robots-are-they-efficient
Batch file incorrect writing to txt file (Solved)Hello dear friends, I have some trouble writing some application data from windows to a .txt file located on a usb stick (E:/ cant even CD it), however when i relocate the log.bat on the C drive it works fine! Can anyone spot my error i cant find out... en.kioskea.net/forum/affich-37487-batch-file-incorrect-writing-to-txt-file
Wrinting a script to move filesHello, I need to write a script that will search a directory and its subfolders for *.txt files and *.tiff files, each .txt file having a corresponding .tiff file, the files will be located in different folders within the directory which will be... en.kioskea.net/forum/affich-26659-wrinting-a-script-to-move-files
Macro to import text file into excel 2003Hello, i want to import an text file more than 65536 lines in multiple excel worksheet of one workbook. can you send macro code for this in which from the excel work user can open the .txt file and file can be import autometically in multiple excel... en.kioskea.net/forum/affich-99714-macro-to-import-text-file-into-excel-2003
Download CodeTwo Outlook ExportCodeTwo Export Outlook allows you to export files to Outlook CSV and TXT files. On a very simple to use, you can also export the data contacts, tasks, calendar, e-mails, diaries, notes, etc. ... You can choose the destination directory, converting... en.kioskea.net/telecharger/telecharger-1918-codetwo-outlook-export
Download RobotProgRobotProg is a software, which illustrates a small virtual robot. It allows to learn the basic functions of programming. At the beginning, the user draws the flowchart and action that the small robot is going to execute. Then a satisfactory result is... en.kioskea.net/telecharger/telecharger-2521-robotprog
Download Free Word/Doc Txt to Image Jpg/Jpeg Bmp Tiff PngIt is usually the images that we insert into Word, Excel or PowerPoint documents. This time, it is the opposite, because we are going to convert these documents to image formats. All to Jpg / JPEG Image Bmp Tiff Png Converter is a powerful tool which... en.kioskea.net/telecharger/telecharger-1630-free-word-doc-txt-to-image-jpg-jpeg-bmp-tiff-png
Toshiba robot can do the job of the remote controlResearcher for Japanese electronics giant Toshiba, Daisuke Yamamoto, displays the prototype model for the new desktop-sized robot called the "ApriPoko", which can recognize human voices and operate electronic devices such as televisions and air... en.kioskea.net/actualites/toshiba-robot-can-do-the-job-of-the-remote-control-10241-actualite.php3
Robot makes key artificial intelligence step: studyThe "robot scientist" has become the first machine capable of coming up with experiments and analyzing their results without human help, according to research to be published in the journal Science. Adam formulates hypotheses, devises and conducts... en.kioskea.net/actualites/robot-makes-key-artificial-intelligence-step-study-12461-actualite.php3
Robots face off on football pitch, in kitchen at RoboCup 2009A group of students of robotics setup a football robot on June 30, 2009 on the eve of the "RoboCup" the world largest robotic event, hosting 408 teams with 2300 scientists and students in Graz some 200 kilometers southwest from Vienna. robotic... en.kioskea.net/actualites/robots-face-off-on-football-pitch-in-kitchen-at-robocup-2009-13164-actualite.php3
File formats and extensionsWhat is a MIME type? The MIME type (Multipurpose Internet Mail Extensions) is a standard that was proposed by the Bell Communications laboratories in 1991 to broaden the possibilities of email, involving insertion of documents (images, sounds and... en.kioskea.net/contents/systemes/mime.php3
Positioning elements in CSSUsing style sheets along with the and tags, you can specify the location of text or images down to the pixel. This is possible with versions 4 and higher of Netscape and Internet Explorer; however, the technique is still problematic and... en.kioskea.net/contents/css/cssposition.php3
V90 standard56K modems The Rockwell company has introduced a new standard: the K56flex standard. This standard is offered as an alternative to the X2 technology of US ROBOTICS. It enables speeds in the region of 56Kb/s to be reached over an asynchronous... en.kioskea.net/contents/technologies/k56flex.php3