robots.txt
Checks robots.txt for correct syntax and that it allows search and AI crawlers.
What this check measures
We fetch `/robots.txt`, parse User-agent blocks and Disallow/Allow rules, and specifically verify that Googlebot, Bingbot, GPTBot, ClaudeBot, and PerplexityBot are not accidentally blocked.
Why it matters
robots.txt is the first file every crawler requests. A mistake here (accidentally blocking all bots, missing AI crawler allow rules) can make you invisible to search engines and AI tools entirely.
How our audit detects it
GET /robots.txt. Parse User-agent, Disallow, Allow, Sitemap directives. Simulate crawler access for the six most important bots.
Typical findings
- error_outlineBlanket `Disallow: /` under `User-agent: *` — blocks everything.
- error_outlineGPTBot, ClaudeBot, PerplexityBot not explicitly allowed — AI search invisibility.
- error_outline/robots.txt returns 404 — default-allow, but no Sitemap directive either.
- error_outlineCase-sensitive rules that do not match Google's user-agent matching.
How to fix
Create a permissive robots.txt that allows Google, Bing, and the major AI crawlers, blocks internal paths like /api and /admin, and ends with a Sitemap: line. See the /prompts/add-robots-txt guide for copy-paste variants.
Copy-paste fix prompt for your stack
Lovable · Cursor · Bolt · v0 · Replit · Windsurf · Claude Code · Base44
Frequently asked questions
Does Disallow remove pages from Google?expand_more
Can I rate-limit crawlers?expand_more
Want this checked on your site?
Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.
Scan my siteRelated checks
Meta Title
Checks that every page has a unique, keyword-rich <title> tag between 10-60 characters.
SEOMeta Description
Checks that every page has a unique meta description between 50-160 characters.
SEOH1 Tag
Checks that every page has exactly one H1 tag containing the primary keyword.
SEOHeading Hierarchy
Checks heading order — H1 → H2 → H3 without skipping levels.