Skip to content
FunnelGuard

Fix guide by FunnelsGuard

404 page returns 200 status (soft 404): how to find and fix it

SEO-077Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Every page a server sends comes with a three-digit status code. 200 means 'here is the page'. 404 means 'this page does not exist'. A soft 404 is a page that looks like an error to a visitor but sends 200 to browsers and crawlers.

This usually happens when a custom error page is set up the wrong way. Common causes are a redirect to a 'not found' page, a theme or app that renders the error template without setting the status, or a single-page app that serves the same shell for every URL.

Why it costs you leads or sales

Search engines rely on status codes to decide what to keep in the index. If a made-up URL returns 200, Google can treat it as a real page. That causes three problems:

What soft 404s cause
  • Crawl budget (the number of pages Google will fetch on your site in a visit) is spent on dead URLs instead of your service, product and landing pages.
  • Google Search Console lists the URLs under 'Soft 404' in the Pages report, which hides real problems among the noise.
  • Thin error pages can be indexed or compete with real pages, weakening how your site looks in search.
  • Removed products and old campaign URLs linger in results, so visitors land on a dead end instead of a page that sells.
How a soft 404 reaches a visitor
  1. Old or mistyped URLLink, ad or bookmark points to a missing page
  2. Server replies 200Error message shown, but status says OK
  3. Google keeps the URLDead page can stay indexed or be flagged soft 404
  4. Visitor lands on dead endNo lead form, no product

The server says 'OK' for a page that does not exist, so the dead URL stays in the funnel.

Where crawl attention goesExample numbers
Where crawl attention goes (example)Real pages (before fix): 60 % of crawled URLs; Soft 404 URLs (before fix): 40 % of crawled URLs; Real pages (after fix): 95 % of crawled URLs; Soft 404 URLs (after fix): 5 % of crawled URLs036736040955Real pages (before fi…Soft 404 URLs (before…Real pages (after fix)Soft 404 URLs (after …% of crawled URLs

Example: share of a site's crawled URLs that are real pages versus dead URLs answering 200. Numbers are illustrative.

How to check if your site has it

Test a made-up URL
  1. Invent a URL that cannot exist

    For example https://yoursite.com/this-page-does-not-exist-12345. Open it in a browser and confirm you see your 'not found' page.

  2. Read the status code

    In Chrome, open DevTools (F12), go to the Network tab, reload, and click the first request. Look at 'Status Code'. It should say 404, not 200.

  3. Or use the command line

    Run the command below. The first line of output shows the status.

  4. Check Search Console

    In Google Search Console open Indexing > Pages and look for 'Soft 404' under the reasons pages are not indexed.

Check the status code of a missing URLbash
curl -I https://yoursite.com/this-page-does-not-exist-12345
# Good: HTTP/2 404
# Bad:  HTTP/2 200

How to fix it

The goal is simple: keep your friendly 404 page, but make the server send status 404 with it. The right place to do this depends on your platform.

Return a real 404 by platform
  1. Use the theme's 404.php

    WordPress sends 404 by default when a theme has a 404.php template. If you get 200, a plugin or theme is likely overriding it.

  2. Turn off redirect-to-homepage features

    Check SEO and redirect plugins for options such as 'redirect all 404s to homepage' and disable them.

  3. Test with a default theme

    Temporarily switch to a default theme such as Twenty Twenty-Four on a staging copy. If the status becomes 404, your theme is the cause.

  4. Do not build the 404 as a normal page

    A page created under Pages and used as a 'not found' page returns 200. Put the design in the theme's 404 template instead.

nginx: serve your 404 page with a 404 statusnginx
server {
  error_page 404 /404.html;

  location = /404.html {
    internal;
  }

  location / {
    try_files $uri $uri/ =404;
  }
}
Apache: use a local file for ErrorDocumenthtaccess
ErrorDocument 404 /404.html
PHP: send 404 before rendering the error pagephp
<?php
http_response_code(404);
include __DIR__ . '/templates/not-found.php';
exit;
Node (Express): catch-all 404javascript
// Place after all other routes
app.use((req, res) => {
  res.status(404).render('not-found');
});
Missing URL response

Soft 404

  • Friendly error message on screen
  • Server status: 200 OK
  • URL can appear under Soft 404 in Search Console
  • Dead URL may stay in the index

Real 404

  • Same friendly error message
  • Server status: 404 Not Found
  • Google drops the URL over time
  • Crawl time goes to real pages
What status code does a missing URL send?Interactive
404 template sends status 200

Sends 200 (soft 404)

Leads or data lost

Search engines treat the dead URL as a normal page. It can stay indexed or be flagged as a soft 404.

Toggle to compare the two responses for the same missing URL.

How to confirm it's fixed

Confirmation checks
  • curl -I on a made-up URL returns 404.
  • The 404 page still shows your design, search box and links to key pages.
  • Real pages, including ones with trailing slashes or query strings, still return 200.
  • In Search Console, open the Soft 404 report and click 'Validate fix'.
  • Re-run the test from a private browser window to avoid cached results.
What to expect after the fix
  1. Day 0

    Server now returns 404 for missing URLs. You start validation in Search Console.

  2. Days 1-7

    Example: Google recrawls some of the dead URLs and sees the 404.

  3. Weeks 2-4

    Example: the Soft 404 count falls and validation completes. Timing varies by site size.

How to prevent it happening again

Prevention habits
  • Add the missing-URL status check to your launch checklist for every theme change, migration or redesign.
  • Avoid 'redirect all 404s to homepage' settings in plugins and apps.
  • Redirect removed pages only to a closely matching page, or let them return 404 (or 410 if permanently gone).
  • Review the Soft 404 report in Search Console monthly.
  • After updating plugins, themes or server config, retest a made-up URL.

How FunnelGuard handles this

FunnelGuard does not check this yet. Testing whether a missing URL returns 404 instead of 200 is a possible future check, not something the service does today.

What FunnelGuard does do is run your real customer journeys (lead forms, checkouts, booking and chat buttons) on a schedule, and check each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a broken page stops a journey, a failure is re-checked from a second region and you get one alert with a screenshot and a likely cause.

To watch for soft 404s today, use Google Search Console's Soft 404 report, run the curl -I test on a made-up URL after every site change, or use a site crawler that reports status codes. The free read-only FunnelGuard website audit is another way to look at your site, but it is not a soft 404 check.

Questions people ask

What is a soft 404?

A soft 404 is a page that tells visitors it does not exist but sends HTTP status 200 (OK) to browsers and crawlers. Search engines expect a 404 status for missing pages. Google flags these mismatches as 'Soft 404' in Search Console.

Why is my 404 page returning 200?

Usually the error template is rendered without setting the status code. Other causes are a redirect from the missing URL to a normal page, a plugin that redirects all 404s to the homepage, or a single-page app that serves the same file for every path.

How do I check the status code of my 404 page?

Open a made-up URL on your site, then check the status in your browser's DevTools Network tab or run curl -I on it. A correct setup shows 404. If you see 200, the page is a soft 404.

Do soft 404s hurt SEO?

They can. Google may waste crawl time on dead URLs and may keep thin error pages in its index. They are also flagged in Search Console, which makes real issues harder to spot. A few are not a disaster, but a site that returns 200 for every missing URL has a real problem.

Should I redirect 404 pages to the homepage?

Generally no. Redirecting every missing URL to the homepage is treated by Google as a soft 404 and confuses visitors. Redirect a removed page only to a closely related page, and otherwise let it return a real 404.

How do I fix a soft 404 in WordPress?

Make sure your theme has a 404.php template and that no plugin redirects missing URLs to the homepage or a normal page. Do not build the error page as a regular page under Pages. Then test a made-up URL and confirm it returns 404.

How long does Google take to clear soft 404s after I fix them?

It depends on how often Google recrawls your site. It can take days to several weeks. Use 'Validate fix' in Search Console's Soft 404 report to prompt a recheck.

Does FunnelGuard detect soft 404s?

No. FunnelGuard does not check for soft 404s yet, though it is a possible future check. It monitors your customer journeys, tracking hits and lead delivery, so use Search Console or a status-code test for this issue.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.