Examples of robots txt

Robots txt is defined as the files that are located at the root of the websites.

Related Articles

In order for these texts to function, they have to be plain and comply with the Robots exclusion standard.In addition, these files can include one or more groups and take into account that each of them can block or allow access to a path of direct file to a website.

5 Examples of robots txt

  1. User –agent * disallow: /: with this type of robots it is prevented that everyone can access some type of content, since with this code you can specify the type since in this case an asterisk will indicate all of them. Since with disallow / robots will be difficult to access elsewhere.
  2. User-agent * Disallow: when the disallow is left empty, it is easier for robots to access any type of content.
  3. Disallow: / html – This code allows not all robots to pass through html contact or any html file.
  4. User –agent: google: with this code it is used so that no robot goes through the place but must be through the bot of
  5. The robots. Txt is not binding: this type of bot is often ignored by crawlers

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button