robots.txt is the first URL every mainstream crawler hits on a domain — Googlebot, Bingbot, GPTBot, ClaudeBot, PerplexityBot, and every security scanner all request /robots.txt before touching any other page. When it is missing, crawlers default to "allow everything," which usually works out but silently loses the ability to point them at the sitemap (Sitemap: https://example.com/sitemap.xml) and to exclude admin, preview, or staging paths from indexing. A far more damaging failure this check catches is the AI-generated Disallow: / that deindexes the entire site: this happens when a scaffold template ships with a restrictive "development" robots file that nobody flips before launch, and it can take weeks to recover rankings after Google re-crawls. AI coding tools inconsistently generate this file — some include a permissive default, others omit it entirely, and a few inherit a framework boilerplate that blocks legitimate paths.
Low because an absent `robots.txt` defaults to permissive crawling and does not block indexing, but a misconfigured one (`Disallow: /` left in from a template) can quietly deindex the entire site — which is why this check also flags over-blocking on pass.
Create app/robots.ts:
export default function robots() {
return { rules: [{ userAgent: '*', allow: '/' }], sitemap: 'https://example.com/sitemap.xml' }
}
Deeper remediation guidance and cross-reference coverage for this check lives in the seo-fundamentals Pro audit — run that after applying this fix for a more exhaustive pass on the same topic.
project-snapshot.seo.has-robots-txtlowapp/robots.ts, app/robots.txt, public/robots.txt, or framework equivalents. The file should explicitly allow or disallow paths — not be empty.User-agent: directive and one Allow: or Disallow: line.Disallow: /) without a clear reason — quote the directive in the detail."robots.txt at {path}; rules: {first User-agent and rule}.""No robots.txt or robots.ts found".app/robots.ts:
export default function robots() {
return { rules: [{ userAgent: '*', allow: '/' }], sitemap: 'https://example.com/sitemap.xml' }
}