Skip to content

Robots.txt

Robots.txt is a plain-text file at the root of a domain that tells search engine crawlers which URLs they may or may not access. It’s a suggestion (well-behaved bots follow it, malicious ones ignore it), not a security mechanism.

Most sites need three lines: a disallow for admin URLs, an allow for the sitemap, and nothing else. Over-blocking robots.txt is the fastest way to accidentally deindex an entire site.

Related terms

See also on Miss Pepper AI