cd /news/generative-engine-optimization/why-http-200-ok-hides-broken-llms-tx… · home › topics › generative-engine-optimization › article
[ARTICLE · art-176912] src=dev.to ↗ pub= topic=generative-engine-optimization verified=true sentiment=· neutral

Why HTTP 200 OK Hides Broken /llms.txt Files (And 3 Production Fixes for AI Search)

An audit of live domains using the ProofOfCite llms.txt Validator and AI Crawler Checker found three recurring production failure modes that leave AI search crawlers like PerplexityBot, OAI-SearchBot and Claude-SearchBot unable to ingest sites even when robots.txt allows them. The most common is SPA catch-all rewrites returning HTTP 200 with an HTML shell instead of a 404 for a missing llms.txt, followed by edge bot-blocking rules that selectively return 403 to PerplexityBot despite an Allow: / directive; disabling the edge LLM blocker and fixing managed rules moved one site from selective 403 failures to 8/8 AI crawlers receiving HTTP 200. The writeup prescribes serving llms.txt as UTF-8 plain text with SPA rewrite exclusions on Vercel, Cloudflare Pages, Netlify and Nginx, adding a skip rule for verified AI search fetchers, and resolving the domains linked inside llms.txt to catch silent redirect drift.

key takeaway

SPA catch-all rewrites return HTTP 200 with an HTML shell for a missing llms.txt, so exclude .txt routes from index.html rewrites and serve them as text/plain to get an honest 404; after fixing edge bot rules, one audited site went from selective 403s to 8/8 AI crawlers receiving HTTP 200.

by read3 min views7 publishedNov 26, 2026

If you added /llms.txt and Allow: / in robots.txt and moved on, there is a high chance AI search crawlers (PerplexityBot, OAI-SearchBot, Claude-SearchBot) are still seeing a broken response — while your browser shows HTTP 200 OK.

While auditing live domains with the free ProofOfCite /llms.txt Validator and AI Crawler Checker, three production failure modes kept showing up repeatedly behind valid-looking configurations.

/llms.txt Most single-page app hosts (Vercel, Cloudflare Pages, Netlify, custom nginx try_files) configure a catch-all rewrite to /index.html so client-side routing works.

If /llms.txt is missing from your static public output directory — or overridden by a rewrite rule — the server does not return 404. It returns HTTP 200 OK with Content-Type: text/html; charset=utf-8 and an empty shell like:

<!doctype html><div id="root"></div>

Automated spec parsers expect text/plain or text/markdown starting with a Markdown # Title and a > summary blockquote. When an SPA shell comes back with HTTP 200, uptime monitors stay green while AI ingestion parsers fail silently.

vercel.json / Cloudflare Pages _headers / Nginx) Serve static llms.txt and llms-full.txt from your static public/ directory with UTF-8 plain text headers and exclude .txt routes from SPA catch-all index.html rewrites so missing files return an honest 404 instead of HTML:

Vercel (vercel.json):

{
  "headers": [
    {
      "source": "/(llms\\.txt|llms-full\\.txt|robots\\.txt)",
      "headers": [
        { "key": "Content-Type", "value": "text/plain; charset=utf-8" }
      ]
    }
  ],
  "rewrites": [
    {
      "source": "/((?!llms\\.txt|llms-full\\.txt|robots\\.txt).*)",
      "destination": "/index.html"
    }
  ]
}

Cloudflare Pages / Netlify (_headers):

/llms.txt
  Content-Type: text/plain; charset=utf-8
/llms-full.txt
  Content-Type: text/plain; charset=utf-8

Nginx (try_files):

location ~* ^/(llms|llms-full)\.txt$ {
  try_files $uri =404;
  default_type text/plain;
  charset utf-8;
}

PerplexityBot with 403 even when robots.txt says Allow: / This is the most common split-brain failure in production telemetry.

Even when a site explicitly allows bots in /robots.txt — for example:

User-agent: *
Allow: /

— edge Bot Fight Mode or custom LLM-blocker rules frequently leave OAI-SearchBot and Claude-SearchBot returning HTTP 200, while returning HTTP 403 Forbidden selectively to PerplexityBot (both on the root site and on /llms.txt), or blocking GPTBot and ClaudeBot via managed robots.txt injections.

In a live production telemetry comparison (Nov 22 -> Nov 26, 2026), disabling the edge LLM blocker and fixing managed rules flipped a site from selective HTTP 403 failures across main and docs endpoints to 8/8 AI crawlers receiving HTTP 200, while documentation routes returned clean text/markdown; charset=utf-8 (2,833 B) directly to AI bots alongside normal HTML for Googlebot.

If you block bulk scraping globally, add a Custom Rule (Skip) for verified AI search fetchers so live citation lookups are never blocked:

(cf.client.bot) and (
  http.user_agent contains "OAI-SearchBot" or
  http.user_agent contains "ChatGPT-User" or
  http.user_agent contains "Claude-SearchBot" or
  http.user_agent contains "PerplexityBot" or
  http.user_agent contains "Perplexity-User"
)
-> Action: Skip (Managed Rules, Super Bot Fight Mode)

NXDOMAIN) Syntax linters only check whether # Heading and [label](url) look right. They do not resolve the domains inside your /llms.txt.

In real production audits, we see two silent drift bugs:

llms.txt links still pointing to legacy trade/app domains that 301-redirect elsewhere while omitting the canonical documentation index (https://docs.example.com/llms.txt). rpc.testnet.monad.xyz failing DNS resolution after moving to testnet-rpc.monad.xyz). Every /llms.txt deploy check should verify four things together:

HTTP 200 with text/plain or text/markdown (never text/html).# H1 title, > summary blockquote, and absolute HTTPS Markdown links.404/ 5xx targets./robots.txt (Allow + optional Content-Signal: ai-train=yes, search=yes, ai-input=yes) User-Agent responses across OAI-SearchBot, ChatGPT-User, GPTBot, Claude-SearchBot, ClaudeBot, Perplexity-User, and Googlebot. You can run both checks free with no signup:

── more in #generative-engine-optimization 4 stories · sorted by recency
── more on @proofofcite 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/why-http-200-ok-hide…] indexed:0 read:3min 2026-11-26 · —