Definition
- A
soft 404is a URL that returns a page telling the user the page does not exist, together with a200(success) status code. It can also be a page with no main content, or an empty page. - When Google's algorithms conclude from its content that a page is an error page, Search Console reports it in the Page indexing report as "Soft 404". Causes Google lists include a broken connection to the database, an empty internal search results page, and a JavaScript file that did not load.
Why it matters
- Visitors see an error on a page whose status says it works, which Google calls a bad user experience, and the page is excluded from Search.
- Google keeps crawling soft 404 pages, so they use up your site's crawl budget.
Example
A removed product's page shows "Sorry, this product does not exist" while the server answers 200:
text
$ curl -I https://example.com/ar/products/old-oud
HTTP/2 200The fix depends on the case:
- Removed, with no replacement: answer
404or410. - Moved, or clearly replaced: redirect to it with a permanent
301. - Still there and sound: check it in the URL Inspection tool; Googlebot may not have rendered it properly, or it may lack resources blocked by robots.txt.
Common mistakes
- A custom 404 page served with
200: the page is for visitors, and the404code keeps it out of the index. - A single-page app that shows "not found" through JavaScript while the server answers
200: Google suggests a JavaScript redirect to a URL that answers404, or addingnoindexto the error page. - A sound page that Google sees blank or nearly blank because its resources are blocked by robots.txt, too many or too slow, and treats as a soft 404.