Skip to content

robots.txt

lowseo-robots-txtreviewed

robots.txt tells crawlers which paths they may fetch. What belongs in it, what a missing one costs, and why Disallow: / is the line to check first.

What it is

robots.txt is a plain-text file at the root of a site — /robots.txt, never anywhere else — listing which paths crawlers may and may not fetch. It is a convention that well-behaved crawlers follow voluntarily; it is not an access control, and it does not stop anyone determined from reading a page.

This check makes one request for it and asks only whether the server answers with a success status. A separate check reads the contents and fails a file that disallows everything.

Why it matters

A missing robots.txt is a 404, and a 404 is ambiguous: the crawler cannot distinguish "this site has no rules" from "this server is misconfigured". A permissive file that says so explicitly is a clearer signal than no file at all, and it is two lines.

It is also where the Sitemap: line goes. A crawler that finds your sitemap through robots.txt does not have to discover every page by following links, which matters most for the pages nothing links to yet.

How to fix it

with a reference doc
robots.txt
User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml

Reference documentation

Related checks

4
lowXML sitemapAn XML sitemap is a file listing the URLs on a site that its owner considers worth indexing, optionally with the date each was last modified. This check requests /sitemap.xml and asks whether the server returns it.highMeta robots noindexThe meta robots tag — <meta name="robots" content="..."> — gives per-page instructions to crawlers, most commonly noindex (don't show this page in search results) and nofollow (don't follow links from this page). This check fails when either is set.mediumAI crawler accessThis reads robots.txt and checks whether it blocks any of the named AI crawlers — OpenAI's GPTBot and OAI-SearchBot, Anthropic's ClaudeBot and Claude-SearchBot, PerplexityBot, Google-Extended, Common Crawl's CCBot and others — distinct from the general-purpose search crawlers (Googlebot, Applebot) that index for classic search.lowCustom 404 pageThis check requests a path that cannot exist — a generated one, so it is not something a site could special-case — and looks at two things: the status code that comes back, and how much content came with it. A response that is not 404, or is under a couple of hundred bytes, reads as a server default rather than a page anyone designed.

This is one of the 75 checks the scanner runs. See what we check for the full list, every severity weight, and how the score is computed from them.

See whether your own site passes robots.txt.

One page, all 75 checks, free. No account, no card.

Check this on my site