# robots.txt blocks AI search crawlers

> robots.txt is blocking one or more AI crawlers: GPTBot (OpenAI's training crawler), PerplexityBot (Perplexity), ClaudeBot (Anthropic) or...

Source: https://seocode.io/checks/geo-robots-ai-agents

[All checks](https://seocode.io/checks) / AI search (GEO)

`robots.txt` is blocking one or more AI crawlers: GPTBot (OpenAI's training crawler), PerplexityBot (Perplexity), ClaudeBot (Anthropic) or Google-Extended (Google Gemini; AI Overviews use Googlebot).

Critical `geo-robots-ai-agents`

In SEOCode's checks since 13 Sep 2026

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Read the docs](https://seocode.io/docs)

## Why this matters.

`robots.txt` is blocking one or more AI crawlers: GPTBot (OpenAI's training crawler), PerplexityBot (Perplexity), ClaudeBot (Anthropic) or Google-Extended (Google Gemini; AI Overviews use Googlebot). A blocked crawler cannot read the site, which makes that company's AI products less likely to cite it. Note that ChatGPT search uses a separate crawler, OAI-SearchBot.

Runs on `.txt` `.html` `.jsx` `.tsx` `.vue` `.svelte` `.astro` · Critical checks fail the pull request status, so the change cannot merge until it is fixed.

## How to resolve it.

Remove the Disallow directive for the blocked crawler(s). In `robots.txt`, find the User-agent block for each blocked crawler and either remove the Disallow: / line or replace it with Disallow: (empty, allows all). If the block came from a wildcard User-agent: \* rule, add an explicit Allow: / for each AI crawler above the wildcard block. Example: User-agent: GPTBot\\nAllow: /\\n\\nUser-agent: \*\\nDisallow: /private/

**SEOCode writes this fix for you**

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.

## Where this comes from.

- [01 · Gptbotplatform.openai.com](https://platform.openai.com/docs/gptbot)

- [02 · Perplexitybotdocs.perplexity.ai](https://docs.perplexity.ai/docs/perplexitybot)

- [03 · 1663750support.google.com](https://support.google.com/webmasters/answer/1663750)

- [04 · Ai Optimization Guidedevelopers.google.com](https://developers.google.com/search/docs/fundamentals/ai-optimization-guide)

Using a framework? [Next.js](https://seocode.io/nextjs-seo) · [Astro](https://seocode.io/astro-seo) · [SvelteKit](https://seocode.io/sveltekit-seo) · [Nuxt](https://seocode.io/nuxt-seo)

## Related checks.

What decides whether ChatGPT, Perplexity and AI Overviews can read and cite a page.

- [01 · JSON-LD entity missing @id anchor (flat graph) Critical An Organization, Person, Product, Place, or LocalBusiness entity in JSON-LD is missing an @id property.](https://seocode.io/checks/schema-nested-graph)

- [02 · Organization or Person schema missing sameAs links Warning An Organization or Person entity in JSON-LD is missing a sameAs array linking to authoritative external sources.](https://seocode.io/checks/schema-entity-sameas)

- [03 · Critical metadata only in client-side JavaScript (useEffect, onMount or onMounted) Critical Critical SEO metadata, page title, meta description, og:image, or canonical URL, is being set inside a useEffect hook (React), onMount (Svelte) or onMounted (Vue), or inside Nuxt's <ClientOnly>, meaning it only exists after JavaScript executes on the client.](https://seocode.io/checks/geo-ssr-hydration)

- [04 · FAQPage schema present but no matching Q&A HTML structure Warning The page includes FAQPage JSON-LD schema markup but has no visible Q&A structure in the HTML, no question-like headings (h2/h3 ending in '?') and no accordion or FAQ component class names.](https://seocode.io/checks/schema-faqpage-completeness)

- [05 · Heading section opens with narrative preamble (not BLUF) Info A major heading section (h2 or h3) opens with narrative preamble rather than a direct answer.](https://seocode.io/checks/geo-bluf-structure)

- [06 · Heading content not wrapped in semantic container element Info The page has h2 or h3 headings but no content is wrapped in semantic HTML container elements, <article>, <section>, or <aside>.](https://seocode.io/checks/geo-passage-containment)

[All 10 ai search (geo) checks](https://seocode.io/checks#geo)

## Where we wrote about this.

- [New in SEOCode: GEO Rule Suite](https://seocode.io/news/seocode-geo-rule-suite)

## Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

- [Add to GitHub](https://github.com/apps/seocode-pr-check/installations/new)

- [Get a website audit](https://seocode.io/audit?from=checks-cta)

Free for public repositories · no credit card
