robots.txt
robots.txt is a plain-text file served from the root of your domain that uses a simple directive syntax to tell crawlers which paths they are allowed or disallowed to fetch. It has been the foundational crawler-communication standard since 1994 and remains the first file every well-behaved bot — traditional or AI — checks before crawling a single page.
In the context of AI crawlers, robots.txt has become critically important in a new way. OpenAI’s GPTBot, Anthropic’s ClaudeBot, Google’s Google-Extended, and PerplexityBot all check robots.txt before fetching content. The most common and damaging mistake we found in our site audit was a User-agent: * Disallow: / rule intended to block scrapers that was also blocking every AI crawler on the planet. Blocking your content from AI systems in 2026 is the equivalent of accidentally de-indexing from Google Search in 2016.
A correct robots.txt for AI visibility in 2026 explicitly allows the major AI user-agents. It should also include a Sitemap: directive pointing to your full sitemap URL — this is how crawlers discover your content inventory after they have established access permissions. Paths you should typically disallow for all bots include internal search results, cart and checkout URLs, admin areas, staging paths, and faceted-navigation parameter traps that create thousands of near-duplicate pages. Blocking those paths protects crawl budget without harming AI visibility.
The scope limitation most teams forget: robots.txt rules only apply to the exact host, protocol, and port where the file is served. A rule at www.example.com/robots.txt does not cover shop.example.com or a staging subdomain — each subdomain needs its own file. Learn more about configuring technical GEO foundations in our guide to GEO optimization for AI search.


























