Skip to content
SEO

robots.txt

robots.txt is a plain text file at a site's root that tells crawlers which parts of the site they may or may not fetch, by user agent. It is a widely respected convention rather than a security control, and it cannot itself remove an already-indexed page from search results.

Also called: robots exclusion protocol

Why it matters to a buyer

robots.txt is a common source of two opposite mistakes: sites that accidentally disallow their whole site, or a key section of it, after a platform change, and sites that assume disallowing a page there will remove it from search, when in fact a disallowed page can still appear in results, without a snippet, if enough other sites link to it. A buyer should know the file controls crawling access, not indexing removal, and that noindex is the correct tool for the second job.

How it is measured or applied

The file lists rules per user agent, naming which crawlers, Googlebot, Bingbot, GPTBot and others, are allowed or disallowed from which paths, and it also typically points to the site's XML sitemap. It is applied by disallowing genuinely low-value or sensitive paths, like admin areas or internal search results, while leaving content meant to be found openly crawlable. It is checked with a robots.txt testing tool and by reviewing server logs to confirm the crawlers a site expects, and only the ones it intends, are actually able to reach the paths they need.

Sources

  1. Robots.txt introduction and guide, Google Search Central

Thirty minutes to see where your site is invisible.

Book a free consultation with Ibrahem and Jeremy. We look at your site on search, AI answers and conversion while we talk, and you leave with a prioritised plan.

30 minutes. No pitch deck. You leave with a prioritised plan.