Santaji GadeArtificial Intelligence3 days ago11 Views

An AI-friendly website starts with bot access most owners never check. Here's the exact robots.txt setup, llms.txt basics, and structure that gets cited.
Table of Contents
ToggleAI-friendly website setup starts with a check most site owners never run: is your robots.txt accidentally blocking the exact bots that would cite you? Research published in December 2025 found publishers blocking AI crawlers saw a 23.1% total traffic decline without reliably reducing citation rates, meaning the block backfired both ways.
You can rank #1 on Google and still be completely invisible to ChatGPT, Claude, Gemini, and Perplexity, usually because a security plugin or CDN rule blocked an AI crawler years ago and nobody noticed since.
Here's the exact, practical setup: which bots to allow, what llms.txt actually does, and the content structure each engine responds to.
Anagram's guide draws the distinction that matters most: each AI company runs separate bots for different jobs. Training crawlers feed the model's knowledge base. Search-indexing bots power live retrieval. User-fetch bots grab a single page when someone explicitly asks the assistant to visit a URL.
Pixis' guide names the specific tokens each engine uses: GPTBot and CCBot for training, versus OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, and PerplexityBot for retrieval and search. Google-Extended is handled separately, controlling Gemini training specifically.
Pixis' guide, referenced above, describes what most 2026 practitioners actually do: block training-only crawlers based on your IP preferences, while explicitly allowing the retrieval and search-indexing bots that determine whether you show up in a live answer.
ZoneTechify's guide makes the distinction concrete: blocking GPTBot only blocks training. Blocking OAI-SearchBot blocks live ChatGPT search visibility entirely. They're separate decisions, and conflating them is the single most common mistake found in site audits.
Trevor Lasn's guide clarifies something widely misunderstood: Google-Extended controls AI training and grounding inside Gemini Apps and Vertex AI, but it does not affect Google Search ranking or AI Overview eligibility at all. Those are governed separately, so disallowing Google-Extended won't touch your regular search visibility.
Capston's guide draws the clean distinction: robots.txt controls access, llms.txt guides AI engines to your best content once they're already allowed in. They're complementary, not substitutes for each other.
Mike Kwal's 2026 guide calls it the AEO equivalent of robots.txt, a file that tells AI engines what your site is about and where to find your best content, rather than what they're permitted to scrape. For the full technical breakdown, see our llms.txt explained guide.
ZoneTechify's guide, referenced above, sums up the engine-specific reality worth internalizing: Gemini rewards good classic SEO, Perplexity rewards freshness and hard facts, and ChatGPT rewards clarity and brand recognition. Optimizing for all three means doing all three, not picking one.
Their quick-answer format is worth copying directly: answer each question in a 40 to 60 word paragraph placed directly under a descriptive heading, then expand with supporting detail afterward. This mirrors exactly what our Perplexity sourcing guide found about direct answers in the first 100 words.
DP1 Design's guide flags a rendering issue that quietly kills AI visibility: several AI crawlers execute little or no JavaScript. If your key content only exists after a JS framework hydrates on the client side, you may be functionally invisible regardless of how well the content itself is written.
WitsCode's guide adds the CDN dimension worth checking separately from robots.txt: many CDNs and WAFs block AI bots at the network layer by default, regardless of what your robots.txt file actually says. A permissive robots.txt means nothing if Cloudflare is challenge-walling the bot before it ever reads the file.
CaptainDNS' 2026 research found AI crawlers apply notably lower hop limits than Googlebot, typically 3 to 5 redirects before giving up. A redirect chain that passes fine for Google can wipe a page entirely from ChatGPT, Claude, or Perplexity's citation pool if it exceeds that shorter tolerance.
Here's a practical, selective configuration allowing search/retrieval bots across all four engines while keeping sensitive paths blocked.
# Allow AI search/retrieval bots (these determine live citations) User-agent: OAI-SearchBot User-agent: ChatGPT-User User-agent: PerplexityBot User-agent: Perplexity-User User-agent: ClaudeBot User-agent: Claude-SearchBot User-agent: Claude-User User-agent: Google-Extended Allow: / # Optional: block training-only crawlers if desired User-agent: GPTBot User-agent: CCBot Disallow: / # Default rules for everyone else User-agent: * Allow: / Disallow: /wp-admin/ Disallow: /checkout/ Disallow: /account/ Disallow: /cart/ Sitemap: https://yourdomain.com/sitemap.xml
A quick lookup for which bot does what per engine.
| Engine | Training Bot | Search/Retrieval Bot |
|---|---|---|
| ChatGPT (OpenAI) | GPTBot | OAI-SearchBot, ChatGPT-User |
| Claude (Anthropic) | ClaudeBot / anthropic-ai | Claude-SearchBot, Claude-User |
| Perplexity | N/A (uses live retrieval) | PerplexityBot, Perplexity-User |
| Gemini (Google) | Google-Extended | Googlebot (standard) |
Work through this before assuming your site is invisible to AI by design rather than by accident.
Audit robots.txt for a blanket Disallow, many sites block AI bots accidentally via an old security plugin rule.
Explicitly allow search/retrieval bots for all four engines, don't rely on default behavior.
Check your CDN/WAF settings separately, robots.txt permission means nothing if the network layer still blocks the request.
Add an llms.txt file pointing engines to your best, most citable content.
Structure answers in 40-60 word direct paragraphs under descriptive headings, avoiding redirect chains longer than 3-5 hops.
Answer a few quick questions to check your current status.
Select the option that matches your setup
No. AI crawler directives are separate from traditional search engine crawlers like Googlebot, and allowing them has no impact on your regular search rankings.
That's a common and reasonable strategy. Blocking GPTBot only prevents your content from feeding ChatGPT's training data, while allowing OAI-SearchBot preserves live citation eligibility.
Yes, they serve different purposes. Robots.txt controls whether bots can access your site at all; llms.txt guides them to your most citable content once they're already in.
Check your CDN or WAF settings separately. Many block AI crawlers at the network layer by default, regardless of robots.txt permissions. Also verify content isn't hidden behind client-side JavaScript.
No. Google-Extended only controls AI training and grounding inside Gemini Apps and Vertex AI. It doesn't affect Google Search ranking or AI Overview eligibility.
Blocking AI crawlers can hurt traffic without cutting citations
Training bots and search/retrieval bots are separate decisions
llms.txt guides engines, robots.txt controls access
CDN/WAF settings can block AI bots even with permissive robots.txt
AI crawlers tolerate far fewer redirect hops than Googlebot
Google-Extended doesn't affect regular Google Search visibility
Bot access is step one. Explore our llms.txt guide and ranking factors breakdown next.









