Technical Schema & InfrastructureOctober 21, 20267 min read

Robots.txt Best Practices for AI Crawlers: Allow vs Disallow Rules

Learn how to configure your robots.txt file to welcome AI search bots while protecting proprietary data and maximizing LLM citation indexing.

SR
Signalouts ResearchAI Search Intelligence Labs

Robots.txt Best Practices for AI Crawlers: Allow vs Disallow Rules

In the past, robots.txt was simple: allow Googlebot and Bingbot, block admin folders, and you were done.

Today, there are dozens of specialized AI crawlers traversing the web. Some crawl to index real-time search citations (which you want). Others scrape to build offline foundation models without attribution (which you may wish to control).

Here is how to configure a pristine, modern robots.txt for maximum AEO impact.


1. The Definitive 2026 AEO Robots.txt Template

txt
# Standard Search Engine Crawlers
User-agent: Googlebot
Allow: /

User-agent: Bingbot
Allow: /

# Generative AI Answer Engines (Search & Citation Bots)
User-agent: GPTBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: Claude-Web
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: Applebot-Extended
Allow: /

# Disallow Private & Administrative Endpoints
User-agent: *
Disallow: /api/private/
Disallow: /admin/
Disallow: /dashboard/

# Sitemap Declaration
Sitemap: https://signalouts.com/sitemap.xml

2. Common Pitfalls to Avoid

  • The Accidental Wildcard Disallow: Placing User-agent: * Disallow: / at the top of your file will instantly de-index you across all AI engines.
  • Missing `ChatGPT-User` Directive: When a user enters a link directly into ChatGPT, OpenAI uses the ChatGPT-User user-agent. If blocked, ChatGPT will tell the user it cannot access your site.
Frequently Asked Questions

Questions Answered in This Guide

Does blocking GPTBot stop my content from being used to train ChatGPT?

Yes, blocking GPTBot prevents OpenAI from crawling your site for both model training and live search indexing. However, if your goal is to win citations in ChatGPT Search, you MUST allow GPTBot.

Next-Gen Answer Engine Optimization

See what AI says about your company right now

Don't lose pipeline to hallucinations or competitors. Signalouts probes ChatGPT, Perplexity, Claude, and Gemini in real time to calculate your AI Share of Voice.

Keep Reading

Related Research & Playbooks