Home / Fix guides / Broken links, errors and uptime

How to fix soft 404 errors in Search Console

A soft 404 is a page that looks missing or empty to Google while your server says everything is fine. Fix it by returning a real 404 or 410 for pages that are gone, redirecting moved pages to a close match, and adding real content to pages that should exist.

A soft 404 happens when a page shows a "not found" message, or almost no content, but the server still replies with a success code (HTTP 200). Visitors see an error. Google is told the page is fine. Search Console then lists the URL as a "Soft 404" and usually keeps it out of search results.

It is one of the most common warnings in the Search Console indexing report, and it is rarely a disaster. It is a sign that your site is giving search engines mixed signals, and it is usually quick to sort out once you know which pages are affected.

What people see

On the website, nothing looks unusual. A visitor opens an old link and sees "Sorry, we could not find that page", an empty category, or a product page with no product on it. The browser address bar still shows the URL as if it were a normal page.

In Search Console, you see the URL under Indexing, then Pages, in the list of reasons why pages are not indexed, with the reason "Soft 404". You may also get an email saying new soft 404 errors were detected.

Why it matters

  • Search: Google treats these pages as empty, so they will not rank. If a page that should be in search is flagged by mistake, you lose that traffic.
  • Wasted crawling: Google spends time on pages that have nothing to offer, instead of your real ones. On a small site this matters less, on a shop with thousands of URLs it matters more.
  • Trust and sales: The same causes often send real customers to dead ends, such as discontinued products or empty search results.

Soft 404s are not a security problem. They are a signal quality problem.

Common causes

  • A custom "page not found" template that returns 200 instead of 404.
  • An old page that was deleted and now redirects every visitor to the home page. Google often treats mass redirects to the home page as soft 404s, because the home page is not a real replacement.
  • Product pages for items that are out of stock or discontinued, with no product information left.
  • Empty category, tag, search or filter pages that list nothing.
  • Very thin pages, such as a blank "coming soon" page or a page with only a heading.
  • Single page apps that show a not found screen in the browser but never tell the server.
  • A 404 page configured with a full web address in Apache, which makes the server redirect first and then return 200.

How to check if your site has it

All of these are free.

  1. Open Google Search Console, go to Indexing, then Pages, and scroll to the list of reasons. Click "Soft 404" to see the affected URLs.
  2. Click a URL and use the URL Inspection option. Look at the crawled page and the page status Google reports.
  3. Open the URL in your browser, then open developer tools (usually F12), go to the Network tab, reload, and click the first request. The status code should be 404 or 410 for a missing page, and 200 only for a real page.
  4. If you are comfortable with a terminal, run curl -I https://example.com/some-missing-page and read the first line. Use a made up address on your own site, such as one with random letters in it.

If a nonsense address on your site returns 200, your whole site has the problem, not just a few pages.

How to fix it

Decide what each flagged page should be, then pick one of four fixes.

  • The page is gone for good: return a real 404 (not found) or 410 (gone). Both work, and 410 is a little more explicit.
  • The page moved or has a close replacement: use a 301 redirect to the most relevant page, such as the new product or the parent category. Do not send everything to the home page.
  • The page should exist but is thin: add real content, such as a description, images, prices, or useful text. If it cannot have content, keep it out of search with a noindex tag.
  • The page was flagged by mistake: make sure it loads fully and the main content is not hidden behind a script that fails. Then request validation.

If you are not sure your custom error page is set up right, see No custom 404 page for how a good one should work, and check for links that lead to dead pages with Broken internal links.

Fixes on common platforms

Menus differ between versions and themes, so treat these as pointers.

  • WordPress: The 404 template is part of your theme (often 404.php). Most themes return a proper 404, but some redirect plugins send missing pages to the home page. Check your redirect settings, and see the WordPress guide.
  • Shopify: Missing pages return 404 by default. When you delete or rename a product, add a redirect under Online Store, Navigation, View URL Redirects (the exact path can vary).
  • Next.js: In the App Router, call notFound() for missing data. In the Pages Router, return { notFound: true } from getStaticProps or getServerSideProps.
  • React single page apps: The server usually answers 200 for every address. Either render the not found route on the server, or add a noindex meta tag on the not found screen.
  • Apache: Use ErrorDocument 404 /404.html with a local path. A full web address there causes a redirect and a 200.
  • Nginx: Use error_page 404 /404.html;.
  • Magento, Drupal, WooCommerce: Check how out of stock and empty category pages behave, and make sure deleted items return 404 or redirect to a close match.

How to confirm the fix worked

  1. Test a few fixed URLs in your browser's Network tab or with curl -I, and confirm the status code is what you intended.
  2. In Search Console, open the Soft 404 issue and click "Validate Fix".
  3. Wait. Validation can take days or a couple of weeks, and Search Console will email you the result.
  4. Use URL Inspection on a few key pages and run a live test to confirm Google sees the page correctly.

If validation fails, the failed URLs are listed. Look at those first, they usually point to a pattern you missed.

How to stop it coming back

  • When you delete a page or product, decide at that moment: 301 to a close match, or let it return 404 or 410.
  • Do not mass redirect old URLs to the home page.
  • Keep empty category and search pages out of your sitemap, or add noindex to them.
  • After any redesign, theme change or migration, check a made up address and confirm it returns 404.
  • Look at the Pages report in Search Console once a month.

If you want this checked on a schedule, week 41 of SiteMonday is a Search Console deep dive, and the written report lists issues like this with a ranked fix list. See week 41 for details. SiteMonday finds and explains the problems, and the fixing is up to you or your developer.

Step by step for your platform

Questions

Is a soft 404 the same as a normal 404?

No. A normal 404 sends a 404 status code, so Google understands the page is gone. A soft 404 sends a success code (200) with a page that looks missing or empty.

Will soft 404 errors hurt my whole site's rankings?

Not directly. The flagged pages will not rank, and a large number can waste crawl time, but your good pages are not penalized for them.

Should I redirect all soft 404 pages to my home page?

No. Google often treats redirects to an unrelated page as soft 404s too. Redirect only to a close match, otherwise return a real 404 or 410.

How long does Validate Fix take?

It can take a few days to a couple of weeks. Search Console emails you when it passes or fails.

Do I need to fix every soft 404 in the report?

Only the ones that should be real pages or that have a proper replacement. Pages that are truly gone are fine once they return a real 404 or 410.

Why is my out of stock product flagged as a soft 404?

Usually because the page has almost no content left. Keep the product description and add alternatives, or redirect or remove the page if it is gone for good.

Related problems