# robots.txt template -- SEO + GEO (verified against vendor docs, 2026-10) # Serve at https:///robots.txt as text/plain, HTTP 200. One file per host/subdomain. # robots.txt controls CRAWLING, not indexing. To keep a crawlable page out of results use # (and do NOT also block it here, or the noindex is never seen). # # Bot classes: # SEARCH -> needed to be surfaced/cited in an engine. Blocking = invisible there. # USER -> fetches triggered by a person asking an assistant. Vendors say robots may not apply. # TRAINING-> model training only. Blocking does NOT affect search visibility (per each vendor's docs). # Default stance for products that want growth: allow SEARCH + USER; TRAINING is a business choice. # ---------- Default group ---------- User-agent: * Disallow: /api/ Disallow: /admin/ Disallow: /account/ Disallow: /*?*sessionid= # Do NOT block /static, /_next, /assets, CSS or JS: Googlebot renders pages and needs them. # ---------- SEARCH crawlers (allow) ---------- # Google Search incl. AI Overviews + AI Mode. Blocking Googlebot removes you from both. User-agent: Googlebot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # Bing Search; also grounds Microsoft Copilot answers. User-agent: Bingbot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # ChatGPT search results (OpenAI says changes take ~24h). User-agent: OAI-SearchBot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # Claude search index. User-agent: Claude-SearchBot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # Perplexity search index (Perplexity says it is not used for model training). User-agent: PerplexityBot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # Apple (Siri, Spotlight, Safari suggestions). User-agent: Applebot Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # ---------- USER-initiated fetchers (allow) ---------- # OpenAI: "robots.txt rules may not apply". Perplexity-User "generally ignores robots.txt". User-agent: ChatGPT-User User-agent: Claude-User User-agent: Perplexity-User Allow: / Disallow: /api/ Disallow: /admin/ Disallow: /account/ # ---------- TRAINING (choose ONE block per bot: allow or disallow) ---------- # Option A (default for growth products): allow -- content can inform model knowledge of your brand. # Option B: uncomment Disallow lines to opt out of training while staying in search. User-agent: GPTBot Allow: / # Disallow: / User-agent: ClaudeBot Allow: / # Disallow: / # Google-Extended is a control TOKEN (no separate crawler): Gemini training + grounding in Gemini apps. # Google: does not affect Search inclusion or ranking; AI Overviews are governed by Googlebot. User-agent: Google-Extended Allow: / # Disallow: / # Applebot-Extended: token controlling use of Applebot data for Apple model training. User-agent: Applebot-Extended Allow: / # Disallow: / # Common Crawl -- widely used in LLM training datasets. User-agent: CCBot Allow: / # Disallow: / # Crawl-delay is non-standard: ignored by Google; honoured by Bing and Anthropic. # User-agent: ClaudeBot # Crawl-delay: 2 Sitemap: https://ohhai.co/sitemap.xml # NOTE: a crawler obeys only the single most specific group that matches it (groups do NOT # inherit from "*"). That is why the Disallow lines are repeated in each named group.