Skip to content

seo: spell out explicit Allow stanzas for AI / search bots in robots.txt#97

Merged
smaramwbc merged 1 commit into
mainfrom
seo-explicit-ai-bot-allows
May 25, 2026
Merged

seo: spell out explicit Allow stanzas for AI / search bots in robots.txt#97
smaramwbc merged 1 commit into
mainfrom
seo-explicit-ai-bot-allows

Conversation

@smaramwbc
Copy link
Copy Markdown
Owner

Summary

The wildcard User-agent: * block already permits every named crawler, so this change is technically cosmetic. But the external SEO audit flagged the absence of explicit GPTBot / ClaudeBot / PerplexityBot stanzas as a reason their tooling couldn't confirm the site welcomes AI indexers — and several SEO-grading tools key off explicit per-bot rules rather than the wildcard.

Add explicit Allow blocks for:

  • AI crawlers: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-Web, PerplexityBot, Google-Extended
  • Search crawlers: Googlebot, Bingbot

All preserve the same Disallow: /api/ so the demo backend stays out of indexes. The block comment explains the redundancy so future readers don't mistake it for a different access policy.

Test plan

  • npx vitest run tests/seo-static.test.ts — 13/13 pass (the wildcard rule the existing test asserts on is preserved)
  • CI green
  • After deploy: curl https://www.statewave.ai/robots.txt shows the new per-bot stanzas

The wildcard `User-agent: *` block already permits every named crawler,
so this change is technically cosmetic. But the external SEO audit
flagged the absence of explicit GPTBot / ClaudeBot / PerplexityBot
stanzas as a reason their tooling couldn't confirm the site welcomes AI
indexers — and several SEO-grading tools key off explicit per-bot rules
rather than the wildcard.

Add explicit Allow blocks for the major AI crawlers (GPTBot,
OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-Web, PerplexityBot,
Google-Extended) plus Googlebot and Bingbot. All preserve the same
`Disallow: /api/` so the demo backend stays out of indexes.

The block comment above explains the redundancy so future readers
don't mistake it for a different access policy.
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
statewave-web Ready Ready Preview, Comment May 25, 2026 12:21pm

Request Review

@smaramwbc smaramwbc merged commit aceba85 into main May 25, 2026
6 checks passed
@smaramwbc smaramwbc deleted the seo-explicit-ai-bot-allows branch May 25, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant