Back to Glossary
Technical SEObeginner

Robots.txt

A text file that instructs search engine crawlers which pages they can or cannot access.

In Depth

Understanding Robots.txt

Robots.txt is a file placed at the root of your website (example.com/robots.txt) that provides instructions to search engine crawlers about which areas of your site they should or should not visit. It uses simple directives like Allow, Disallow, and Sitemap to guide crawlers. While robots.txt can prevent crawling, it does not prevent indexing — a page blocked by robots.txt can still appear in search results if other pages link to it. For preventing indexing, use the noindex meta tag instead. Common uses include blocking admin areas, search result pages, and duplicate content from being crawled.

Ready to Transform Your SEO?

Track robots.txt and more with Optic Rank

Get AI-powered SEO intelligence that puts glossary knowledge into actionable insights.