Technical Term Back

Robots.txt

Crawling

Robots.txt is the file that guides bots on which areas they may crawl and which areas should be avoided. It is useful, but a badly placed rule can hide important parts of the website.

Robots.txt
It matters because a single line can open or block large parts of the site. Used well, it improves crawl order; used badly, it can keep valuable content from being discovered.
  • Review which folders are allowed and which are blocked.
  • Check that resources needed to interpret the page are not blocked.
  • Include the sitemap when useful.
  • Test the rules after important changes.