Google Search Console: Soft 404 (Missing URL Returns HTTP 200 With Empty Shell)

Catch-all rewrite served `200 OK` `index.html` for nonexistent URLs instead of `404 Not Found`.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Google Search Console Platform: SEO
Common Root Causes:
  • Catch-all rewrite served `200 OK` `index.html` for nonexistent URLs instead of `404 Not Found`.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Configure Nginx `try_files $uri $uri/ =404;` with a custom `404.html` returning real HTTP 404.
Safe Diagnostic Command:
curl -sI https://<domain>/nonexistent-slug-check
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Catch-all rewrite served `200 OK` `index.html` for nonexistent URLs instead of `404 Not Found`. Recommended diagnostic: `curl -sI https://<domain>/nonexistent-slug-check`. Remediation: Configure Nginx `try_files $uri $uri/ =404;` with a custom `404.html` returning real HTTP 404.

Worked Examples

  • Run `curl -sI https://<domain>/nonexistent-slug-check` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-seo-soft-404-spa-index-html · Independently verified: 2026-11-25

Related Resources