How to Fix Soft 404 Errors in Google Search Console
A Soft 404 occurs when a deleted or thin page returns an HTTP 200 OK status code instead of a real 404 Not Found status—or when Google thinks a sparse SPA loading screen has zero meaningful content. Return real notFound() headers or enrich thin pages.
Why Does This Issue Occur? (Symptom & Cause Matrix)
| Observed Symptom | Root Technical Cause | Recommended Fix |
|---|---|---|
| Missing slug renders 'Not Found' with HTTP 200 | Server fails to set status 404 | Call notFound() in Next.js or http_response_code(404) in PHP |
| Empty search/filter page indexed | Zero products/results message on 200 page | Add meta robots noindex to internal search/empty filter routes |
Step-by-Step Fix Checklist
- 1
Return True 404/410 for Removed Content
Ensure nonexistent routes return HTTP status 404 (or 301 if replaced by a relevant equivalent).
- 2
Noindex Empty Search & Filter Views
Emit <meta name="robots" content="noindex, follow" /> on empty query or filter result pages.
- 3
Render Primary Content Server-Side
Ensure real landing pages include H1, structured sections, and >300 words in SSR HTML.
Next.js App Router Proper 404 Invocation
import { notFound } from "next/navigation";
export default async function Page({ params }) {
const item = await getItem(params.slug);
if (!item) notFound(); // Emits true HTTP 404
return <Article item={item} />;
}People Also Ask About This Error
Why does Google mark a working page as Soft 404?
When the rendered page contains very little visible text, a spinner before JS loads, or words like 'nothing found' / '0 results'.
Is HTTP 410 better than 404 for permanently deleted pages?
HTTP 410 tells Google the removal is permanent, accelerating de-indexing of stale URLs.