SEO
Soft 404 vs 404 vs 410: What Google Says to Do
Key takeaways
- A soft 404 is a page that looks like an error but returns a 2xx success code.
- Google treats 404 and 410 the same, so either works for permanently removed pages.
- Redirect moved content to its closest equivalent, not to the homepage.
- Google says 404s do not harm indexing or ranking of the rest of your site.
- Persistent 5xx and 429 errors are different: they make Google slow crawling.
What is a soft 404?
A soft 404 is a page that tells visitors something is missing, or shows almost nothing, while the server still answers with a success status code. According to Google's documentation on HTTP status codes, if a page returns a 2xx response but its content suggests an error, such as an empty page or an error message, Search Console reports it as a soft 404. The fix is to make the status code match reality.
How does Google treat a real 404 or 410?
Google's documentation says all 4xx errors except 429 are handled the same way: the crawler tells the next processing system that the content does not exist, and the 410 status is grouped with 404. For a URL that was previously indexed, Google removes it from the index. Newly discovered 404 URLs are not processed, and Google crawls them less often over time. Content returned alongside a 4xx response is ignored.
Google's Search Console help page on 404 errors adds that, for permanently deleted content with no replacement, you can let the URL return a 404 or 410 and that Google currently treats both the same. It also states that 404 errors do not harm your site's indexing or ranking, so you can ignore them for URLs that should not exist.
When should you pick 410 over 404?
Since Google handles them alike, the choice matters mostly for other clients and for clarity. MDN Web Docs describes 410 Gone as meaning the resource is no longer available at the origin and that this condition is likely permanent. MDN also notes that if you do not know whether the removal is temporary or permanent, you should use 404 instead. In practice: use 410 for content you removed on purpose and will not bring back, and 404 when you are unsure.
Why is redirecting everything to the homepage a problem?
It is a common shortcut, and Google's help page advises against it. It says that redirecting missing pages to the homepage creates a soft 404 situation, and that a redirect on a removed URL can delay Google's recrawl attempts. A redirect is appropriate when content has genuinely moved or has a close equivalent, such as an old service page that now lives at a new address. If there is no close match, an honest 404 or 410 is the cleaner answer.
How do you find and fix soft 404s?
- Check Search Console. Google reports soft 404s in its indexing reporting, so start there for a list of affected URLs.
- Open each URL and check the status code. If the page shows a not-found message but returns 200, configure the server or CMS to send a 404 or 410.
- Add content or redirect. If the page is meant to exist but is nearly empty, fill it with useful content. If it moved, redirect to the new location.
- Fix your sitemap. Google's help page says to check where a submitted URL came from and update the sitemap if needed.
What about server errors?
Server errors are a different case. Google's documentation says 5xx and 429 responses prompt its crawlers to temporarily slow down. Already indexed URLs are kept for a while, but URLs that persistently return server errors are eventually removed from the index. Google does not publish exact timeframes, so treat prolonged outages as a real risk and use a 404 only when a page is truly gone.
Limits of this guide: the sources describe Google's behavior at the time of writing, and Google does not document exactly how long removal takes. Other search engines may handle these codes differently.
Frequently asked questions
Do 404 errors hurt my Google rankings?
According to Google's Search Console help page, 404 errors do not harm your site's indexing or ranking, and you can ignore them for URLs that should not exist. Fix the ones that affect submitted or important URLs.
Does Google treat 410 differently from 404?
Google's documentation groups 410 with 404 and its help page says it currently treats both the same. 410 mainly signals to other clients that removal is intentional and permanent.
Should I redirect deleted pages to my homepage?
Google advises against it for missing pages because it creates a soft 404 situation. Redirect only to a close replacement; otherwise return 404 or 410.
What causes a soft 404?
A page returns a 2xx success code while its content suggests an error, such as an empty page or a not-found message. Setting the correct status code fixes it.
Sources
- How HTTP status codes, and network and DNS errors affect Google Search — Google Search Central
- 404 (Page Not Found) errors — Google Search Console Help
- 410 Gone — MDN Web Docs
Keep reading
See how AIrecommend.ai helps businesses get found and recommended by AI assistants.