Skill Nest

404 Pages, Soft 404s, and Link Rot: Error Handling for SEO

Updated 2026-09-06 ยท guide ยท technical, SEO

Ready to turn this into a launch plan?

Get the Agent & SEO Launch Sprint for $299: a focused audit, a dated 14-day roadmap, and one follow-up implementation call.

$299 ยท For founders and small teams who want a working growth system, not a report.

In this guide Why error handling matters more for AI product sites The status-code fundamentals (get these right) Build a 404 page that earns trust Soft 404s: the silent index-killer Link rot: the slow leak you inherit What this has to do with AI citations A practical audit (30 minutes) Common mistakes FAQ Bottom line

A 404 page is not a small detail โ€” it's where your crawl budget, your link equity, and your AI citations can quietly drain away. Most sites get the basics wrong: they return soft 404s (a 200 status with a "page not found" body), leave dead links rotting in their content, or let a removed page return an empty error instead of a redirect. This guide covers correct error handling for the search-and-AI era: proper status codes, error pages that earn trust instead of destroying it, and the link-rot workflow that protects everything you've built.

Every link on the internet is a promise, and every 404 is a broken promise. For classic SEO, that costs you crawl budget and link equity. For AI-era SEO โ€” where engines and agents decide which pages to trust and cite โ€” an error experience that returns a misleading 200 or a dead end actively signals "this site is unreliable." Getting error handling right is cheap, mostly one-time work, and it protects everything downstream.

Why error handling matters more for AI product sites

Two things make error handling a bigger deal for AI product sites than for a typical brochure site:

  1. AI engines treat broken signals as untrustworthiness. A soft 404 โ€” a page that returns a 200 status but shows "not found" content โ€” is exactly the kind of sloppy signal AI crawlers learn to discount. The engines that decide whether to cite you are watching for inconsistency, and error pages are where sloppiness shows up.
  2. Your content gets linked to from places you don't control. When other sites, directories, and AI-generated answers point at your URLs, those links arrive with no warning. Link rot โ€” the slow decay of old or moved URLs โ€” is something you inherit as your site ages, and it only compounds.

The stakes are easy to miss because error pages are, by definition, the pages you never look at. But the crawler looks at every one. That's the asymmetry that makes this worth your time.

The status-code fundamentals (get these right)

Error handling starts with returning the correct HTTP status code. Everything else is decoration. The three codes that matter:

Situation
Correct code
What it tells crawlers
Page exists, content removed permanently404 (or 410 Gone)"Stop requesting this; remove it from the index"
Page moved to a new URL301 (permanent redirect)"The new URL is the canonical home"
Page exists but should not be indexed200 + noindex"Serve users, but don't rank this"

The classic mistakes live in the middle of that table:

The rule of thumb: make the status code match reality. If the page is gone, say gone (404/410). If it moved, say where (301). If it exists, say exists (200) โ€” and use noindex for pages that shouldn't rank.

Build a 404 page that earns trust

The 404 status code is non-negotiable, but the content of your 404 page is where you can turn a failure into a small win. A good 404 page does three jobs:

  1. Admits the error honestly. No "this page has mysteriously vanished" euphemisms. Plain language: "That page isn't here (or has moved)."
  2. Gives the visitor a next step in one click. A search box, a link to your most important pages (docs, pricing, home), and ideally a "popular articles" list. The goal is to keep a human from bouncing โ€” every second of confusion is a lost session.
  3. Stays on-brand and consistent. A jarring, broken-looking error page reads as neglect. A clean, on-brand 404 that's clearly designed reads as competence โ€” which is exactly the signal an AI engine evaluating your site's quality picks up.

For an AI product site specifically, your 404 page should link to the pages you most want cited: the docs home, the main product page, and your best guides. You're not just rescuing a human visitor โ€” you're handing a crawler that hit a dead end a map to your real content.

Soft 404s: the silent index-killer

Soft 404s deserve their own section because they're the most common error that's also invisible in your analytics. A soft 404 happens when a page returns a 200 status with content that says "not found" โ€” or worse, returns the homepage. Crawlers then index a page that:

Both pollute the index. The empty-shell variant wastes index slots with thin pages; the redirect-to-home variant splits your homepage's signals across dozens of URLs. Either way, your crawl budget gets spent on pages that help no one.

The fix is systematic, not one-off. Three checks to run on your site:

  1. Crawl for "200 with 'not found' in the title." Fetch a few known-dead URLs and inspect the response status. If your CMS or framework returns 200 for anything routed to a 404 template, fix the status code at the router level โ€” this is a framework configuration issue, not a per-page one.
  2. Check your search console's "not found" report. Google (and the AI engines that expose reports) list pages returning 404. The ones returning 404 are actually fine โ€” what you want to hunt for is the missing ones: URLs that should 404 but instead return a 200.
  3. Verify your redirects land on a real 200. A chain of 301 โ†’ 301 โ†’ soft-404 is a failure you'll never see unless you follow the whole chain. Test your redirects end-to-end, not just the first hop.

Link rot is the process by which URLs decay โ€” pages move, get deleted, or silently change โ€” and it's worse for AI product sites because your content accumulates links from sources you don't control. Every external site pointing at an old URL, every AI answer that cites a version of your page that no longer exists, is a leak.

The workflow that contains it:

  1. Find the rot. Use your search console's coverage report and a crawl tool to list every URL returning 404 or 410 that still has inbound links โ€” either from your own content or from external sites. Dead URLs with no links pointing at them are harmless; dead URLs with links pointing at them are the ones that matter.
  2. Decide each URL's fate. For each dead URL, one of three outcomes:
  1. Fix your own outgoing links. The rot you control is the rot you're responsible for: every internal link to a dead URL in your own content. This connects directly to the internal linking strategy guide โ€” healthy internal linking includes periodic link-hygiene sweeps, because dead internal links bleed authority from your site just like dead external ones do.

Link rot isn't a one-time cleanup; it's a recurring discipline. A quarterly sweep that redirects the dead, fixes the broken internal links, and re-checks the status codes is enough to keep the leak closed. It's also a natural moment to run content pruning โ€” deciding which dead URLs deserve a redirect and which are simply dead weight that should stay gone (pruning and consolidation guide).

What this has to do with AI citations

Here's the part that's specific to AI-era SEO: AI engines and agents cache and cite your URLs. When an answer references your guide, that reference is a link into your site โ€” and if it lands on a soft 404, a dead end, or a page that's been moved without a redirect, several bad things happen:

So error handling is not a hygiene afterthought โ€” it's part of your backlink and citation strategy. Every link you earn is a promise; error handling is how you keep it.

A practical audit (30 minutes)

Run these five checks and you'll know exactly where your error handling stands:

  1. Fetch 10 known-dead URLs. Confirm each returns 404/410, not a soft 200.
  2. Follow your redirect chains. Pick five 301s and verify they land on a real 200 with the right content โ€” no chains longer than two hops, no loops.
  3. Review your search-console coverage report. Note how many URLs are "not found (404)" and which of those still have inbound links.
  4. Scan your internal links for dead targets. A crawl or a simple link checker will surface the internal links pointing at 404s.
  5. Open your 404 page as a user. Does it clearly explain the error, and does it offer a one-click next step to your most valuable pages?

Most sites fail checks 1 and 4 โ€” soft 404s and internal dead links. Fix those first; they're the highest-leverage and the cheapest.

Common mistakes

Bottom line

Error handling is where SEO discipline shows up when nobody's looking: honest status codes, 404 pages that rescue visitors instead of losing them, and a link-rot workflow that redirects or restores the dead before it bleeds your equity and citations. The soft 404 is your number-one enemy โ€” fix it at the router, not the template. Your single next action: fetch ten known-dead URLs on your site and check the status codes; fix any that return 200.

FAQ

What's the difference between a 404 and a soft 404?

A 404 is the correct HTTP status for "page not found" โ€” the server tells the crawler the page is gone. A soft 404 returns a 200 (success) status while showing "not found" content, which tricks crawlers into indexing a useless page.

Should I redirect every dead page or let it 404?

Redirect only when there's a clear successor page worth the link equity. If nothing reasonably replaces the page and no meaningful links point at it, a clean 404 is fine โ€” it's honest and lets the crawler drop the URL.

Does a 404 page hurt my SEO?

The 404 status code itself doesn't hurt anything โ€” it's the correct response. What hurts is a 404 page that's a dead end (no navigation), a soft 404 (wrong status), or blanket redirects that split signals.

How often should I audit for link rot?

Quarterly is enough for most sites. Each sweep: find dead URLs with inbound links, redirect or restore the important ones, fix your internal links pointing at dead targets, and re-check status codes.

Why does error handling matter for AI answers and citations?

Because AI engines cache and cite your URLs. A citation that lands on a broken or soft-404 page is wasted, and repeated broken signals teach the engines your site is unreliable. Honest status codes and redirects keep your citations landing on real content.

Ready to turn this into a launch plan?

Get the Agent & SEO Launch Sprint for $299: a focused audit, a dated 14-day roadmap, and one follow-up implementation call.

$299 ยท For founders and small teams who want a working growth system, not a report.

Related reads