A soft 404 happens when a page shows the user “not found” or empty content while the server still returns 200 OK. From Google's point of view this is a page that does not exist, but the server says otherwise. Google notices the contradiction and does not index the address.
The most common causes
- The page of a deleted product or post that shows an error message but returns 200.
- Categories with no products and internal search pages with no results.
- Deleted pages mass-redirected to the homepage.
- Very short or template-only pages with no meaningful content.
- Single-page apps where JavaScript shows an error but the server returns 200.
How to detect it
- In Search Console, open the Soft 404 row in Indexing > Pages and look at the listed URLs one by one.
- Check the status code of the suspect address:
curl -I https://example.com/old-product
# HTTP/2 200 <- says the page is gone, yet 200
# Correct: HTTP/2 404 or 410The HTTP Header Checker does the same check from the browser. For the whole site, you can filter very thin pages and pages containing error messages in the Site Crawler.
The fix: choose the right response
- The page really does not exist and has no equivalent: have the server return 404 or 410. See the 404 guide.
- It moved or has a replacement: 301 to the relevant new page.
- An empty category: add content or temporarily leave it noindex.
- The content exists but is weak: add original information to the page.
<?php
// If the product is not found, BEFORE any output
if (!$product) {
http_response_code(404);
include 'template-404.php';
exit;
}After the fix
Test the fixed addresses in URL Inspection and click Validate fix. Google updates the status within a few weeks. If the Soft 404 list is shrinking, you are on track; if new addresses keep appearing, find the source, such as an empty-category template.
Example: an empty category page
On an e-commerce site, a category with no products in stock shows “No products found in this category” but returns 200. Google counts this as a soft 404. The options: if the category is permanently empty, return 404/410 or 301 to another category; if only temporarily empty, add real content to the page (related products, a category description).
After fixing, confirm the status code with the HTTP Header Checker.
Soft 404 questions
Is a soft 404 a penalty?
No. Google simply does not index that address. It becomes a problem when an important page lands in this group by mistake.
Is a sold-out product page a soft 404?
Not if it carries meaningful product information and alternatives. It is when it is an empty template saying only “no product.”
Why is redirecting to the homepage wrong?
The user cannot find what they wanted, and Google often reads an address redirecting to an unrelated target as a soft 404.



Join the discussion
Share your experience or ask a question about this guide.