Fix library

Why AI crawlers get 404 errors on your site and how to fix them

AI crawlers like OAI-SearchBot, PerplexityBot, and Claude-User get 404 errors for two reasons standard 404-monitoring tools miss: they follow internal links from the robots.txt Sitemap directive and hit URLs that have moved without redirects, and some CDN and firewall rules return 404 (not 403) when blocking AI user agents. An AI-crawler 404 ends citation attempts for that URL; a regular 404 does not. Fix order: confirm the error is a real missing page (not a UA-level block), add a redirect if the page moved, and audit your robots.txt and sitemap to find stale links.

What makes an AI-crawler 404 different from a standard 404?

When Googlebot hits a 404, it stops indexing that URL and moves on. Your rankings take a hit, but Google Search Console tells you what happened, and standard crawl monitoring surfaces the missing page quickly. An AI-crawler 404 is a different failure with a different consequence: when OAI-SearchBot, PerplexityBot, or Claude-User receives a 404 on a URL, it marks that URL as unreachable in its citation index and typically does not retry it on the next crawl. The page does not get quoted in AI answers, full stop.

Standard 404 monitoring tools watch Googlebot and your own error logs. They almost never watch AI crawlers specifically, so the failure is invisible to you even as it silently removes your content from AI citation candidates.

There is also a second failure mode that only affects AI crawlers: CDN-level user-agent blocks that return 404 instead of 403. In our audit of 60 small-business sites (AuditLamp corpus, measured 2026-07-15), 18.3% of sites had CDN or firewall rules that sent AI crawler user-agents a 404 response on pages that were serving perfectly for human visitors. The page is not missing. The CDN is lying to the crawler. From the AI engine's point of view, the page does not exist, and from your standard monitoring's point of view, nothing is wrong.

These are the two cases to rule out before assuming a real missing-page problem.

How to confirm whether the 404 is a real missing page or a UA-level block

The fastest diagnostic is to fetch the URL yourself using the same user-agent string the AI crawler uses. If you get a 404 as a browser but the AI crawler also gets a 404, that is a real missing page. If you get a 200 as a browser but the AI crawler gets a 404, that is a CDN or firewall rule blocking by user-agent.

On a machine with curl available, run this command (replacing the URL with your own):

curl -A "OAI-SearchBot/1.0 (+https://openai.com/searchbot)" -I "https://yoursite.com/the-page"

The -I flag fetches only the response headers. Look at the status line. A 200 means the page is reachable. A 404 means the server or CDN is turning away that user-agent specifically. Run the same command again without the -A flag to confirm you get a 200 as a normal browser. If the browser gets 200 and OAI-SearchBot gets 404, the problem is your CDN or WAF configuration, not a missing page.

Repeat with PerplexityBot and Claude-User to check all three major AI citation crawlers:

curl -A "PerplexityBot/1.0 (+https://www.perplexity.ai/perplexitybot.htm)" -I "https://yoursite.com/the-page"
curl -A "Claude-User/1.0" -I "https://yoursite.com/the-page"

If the UA-block hypothesis is confirmed, the fix is in your CDN or WAF: add a rule that exempts those specific user-agent strings from the blocking policy. Do not whitelist all traffic -- whitelist the named AI search crawlers while leaving your other access controls in place.

Redirect pattern for pages that have moved

If the page genuinely moved and the AI crawler followed an old link to the old location, the fix is a permanent redirect from the old URL to the new one. Use a 301 (permanent) redirect, not a 302 (temporary), because AI crawlers use the permanent signal to update their internal records of where the content lives.

The redirect must be implemented at the server or CDN level, not via a JavaScript redirect. AI crawlers fetch the raw HTTP response. A JavaScript redirect requires JavaScript execution, which most AI crawlers do not perform, so the redirect is invisible to them and they read the 404 as the final response.

After implementing the redirect, verify it with curl the same way you diagnosed the 404 -- check that OAI-SearchBot now gets a 301 followed by a 200 on the destination URL, not a redirect chain or another 404.

Sitemap audit to find stale links AI crawlers are following

AI crawlers treat your sitemap as the authoritative list of pages you want indexed. If your sitemap contains URLs that now return 404 -- because pages were deleted, moved, or renamed without a redirect -- the crawlers will faithfully attempt every one of them and mark each failed URL as unreachable.

This is also how AI crawlers hit 404s that no human visitor would ever reach: a page you deleted months ago may still be in your sitemap, and the crawler dutifully follows it every time it reads the sitemap file.

Run a sitemap audit to find and remove stale entries:

  • Fetch your sitemap directly: https://yoursite.com/sitemap.xml
  • For each URL in the sitemap, confirm it returns a 200. A removed page that now 404s should be removed from the sitemap. A moved page should have its sitemap entry updated to the new URL (and a redirect in place for the old one).
  • If your site has many pages, use the fetch-with-user-agent test above on the suspect URLs to rule out UA-level blocks before assuming a true missing-page problem.

Once the sitemap is clean and all stale URLs either redirect or are removed, the AI crawlers will stop accumulating 404s on every sitemap rescan.

For AI crawlers specifically, also check your robots.txt Sitemap directive to confirm it points to the correct sitemap URL. A wrong Sitemap path in robots.txt sends AI crawlers looking for a sitemap that does not exist, which is its own class of crawl failure separate from 404s on individual pages.

See which AI crawlers can actually reach your pages.

Paste your link. We probe reachability per AI user-agent, check your robots.txt and sitemap for stale links, and print the failures in fix order. The preview is free.