FR, version française
Home / Blog / SEO / 404 error: what does it mean and should you fix it?

404 error: what does it mean and should you fix it?

The 404 error (“Not Found”) is the HTTP status code a server uses to say that it cannot find the requested resource. This guide starts from the RFC 9110 definition and sets apart the 404, the 410 and the soft 404. It shows what Google actually does with a URL that returns a 404, with no penalty as a general rule, then gives a method to find, sort and fix 404 errors. Finally, it covers the pitfalls of Apache and WordPress, and what a useful 404 page should contain.

Key points

The 404 error (“Not Found”) is the HTTP status code a server uses to say that it cannot find the requested resource. That is all it means: it does not say whether the absence is temporary or permanent. For a website, a 404 is a normal response, to be sorted rather than feared.

  • No penalty: according to Google’s help, 404 errors generally have no negative impact on a site’s search performance.
  • Priority: first fix the 404s that the site links to or that appear in the sitemap. A 404 left in place drops out of the Search Console report after about a month.
  • Trap: a “not found” page served with a 200 code, or a redirect to the home page, creates a soft 404.

What does a 404 error mean?

A 404 error means that the server did receive the request, but found no resource at the requested address. “Not Found” means just that: nothing could be found there.

Definition

The IETF’s RFC 9110 (June 2022) sets out the semantics of HTTP. According to it, the 404 code indicates that the origin server did not find a current representation of the resource, or is not willing to disclose that one exists. The code does not say whether this absence is temporary or permanent.

The number is read digit by digit. According to the same standard (section 15), the first digit of a status code gives its class, and the next two play no role in that classification. 4xx codes form the client error class: the request contains an error or cannot be fulfilled.

For a site owner, handling 404s is part of technical SEO: knowing which dead addresses deserve action.

404, 410, soft 404: three responses to tell apart

These three responses look alike to the visitor, not to a search engine.

ResponseWhat it meansWhen to serve itHow Google handles it
404 Not FoundResource not found, duration unknownPage deleted with no replacement, URL that never existedContent ignored, URL removed from the index
410 GoneResource removed, probably for goodDeliberate and lasting deletion, known to the serverSame as 404
Soft 404Error message served with a 200 (success) codeNeverReported as a soft 404 in Search Console

The standard prefers 410 when the server knows the deletion is permanent, without requiring every vanished resource to be marked that way (RFC 9110, section 15.5.11). Google, for its part, treats all 4xx codes except 429 the same way, according to its documentation on HTTP status codes (updated on February 4, 2026). The idea that a 410 is taken into account faster than a 404 does not appear there.

Where do 404 errors come from?

A 404 error appears as soon as an address no longer matches, or never matched, a resource on the site. Common causes:

  • Page deleted with no replacement content.
  • Page moved or slug changed without a redirect.
  • Typo in an internal link, in an external link or in the address typed by the user.
  • URL generated by a bot: the Search Console help mentions addresses built by Googlebot when it follows JavaScript or other embedded content.
  • Redesign without a redirect plan: during a site redesign, every old address that changes returns a 404.

A link that leads to a 404 is called a broken link, or dead link (MDN Web Docs, page last modified on July 8, 2026).

Does a 404 error hurt SEO?

No, as a general rule. The Search Console help page on 404 errors says so (undated page, accessed on October 19, 2026). 404 errors have no negative impact on a site’s performance in search results. Many of them can be ignored.

Warning

The idea of a penalty for “too many 404s” has no basis. In its help page on the Crawl Stats report, Google writes that it is not possible, worthwhile, or even desirable to fix all the 404 errors on a site. The 404 is often presented there as the correct response to return.

What Google does with a URL that returns a 404:

  • it does not use its content;
  • it removes it from the index if it was there;
  • it does not process a new URL that returns a 404;
  • it keeps requesting it for a while, less and less often, and there is no way to make it forget the URL for good.

404s have no effect on how fast the site is crawled. A dead address remains a URL that Googlebot revisits from time to time: it is a crawl budget matter, not a penalty.

Two things are lost, however. External links that pointed to the deleted page now lead nowhere. The visitor who arrives through such a link leaves without an answer.

How do you find the 404 errors on your site?

Cross-check Search Console, a crawler, the server logs and the HTTP headers: each one sees part of the 404s.

  1. “Page indexing” report in Google Search Console, reason “Not found (404)”. It only shows URLs that returned a 404 during the previous month (help on page indexing).
  2. “Crawl Stats” report, response type “Not found (404)”: the 404s received by Googlebot.
  3. Crawler such as Screaming Frog: it spots the internal links that end in a 404.
  4. Server logs: log file analysis shows the 404s actually requested by Googlebot and by visitors.
  5. Checking the returned code: curl -s -D - -o /dev/null <address> displays the HTTP headers, and therefore the real code, whatever message appears on screen.

To place this check within a full audit, download the technical audit checklist as a PDF.

Should you fix a 404 error?

Not always. Google generally advises fixing only the 404 errors that the site itself links to or that appear in a sitemap. The rest is sorted according to where the URL comes from.

SituationActionBasis
Broken internal linkFix the link in the source page“Page indexing” help
URL listed in the sitemapRemove the URL or replace it with the right one“Page indexing” help
Content movedA 301 redirect to the new address“Page indexing” help
Page deleted with no equivalentLeave the 404, or serve a 410“404 errors” help
Common typo or alternative spelling in links301 redirect to the right page“404 errors” help
URL that never existed, with no link to itDo nothing“404 errors” help

Tip

For a URL that does not exist, let the server return a real 404 code. Google’s help advises against three workarounds: creating fake content, redirecting the user to the home page, blocking the URL in the robots.txt file.

How to fix a 404 error, step by step

  1. List the URLs returning a 404 from Search Console, the crawler and the logs.
  2. Sort by source: internal link, sitemap, external link (backlink), unknown origin.
  3. Act according to the table above: fix the link, set up a 301 redirect or leave the 404.
  4. Update the sitemap so that it only lists valid URLs.
  5. Check the code returned by the URL you dealt with, then request a new crawl if needed: see how to get a page indexed.
  6. Give it time: according to Google’s help, the report should stop showing the error after about a month.

There is no point using the URL removal tool: a request does not remove the error from the report. It also only lasts about six months (Google help page “Remove a page hosted on your site from Google”, updated on December 10, 2025).

Another possible delay: caching. RFC 9110 declares a 404 response “heuristically cacheable” unless explicit cache controls say otherwise. One can infer that a fixed 404 is sometimes still served by a cache for a while.

Soft 404: when the error page does not say “404”

A soft 404 is a page that displays a “Page not found” type of message while returning a success code instead of a 404 code. Google reports it in Search Console and recommends a real 404 code for pages that cannot be found.

Three situations produce them:

  • Error page served with a 200: the site says “not found”, the server answers “success”. For Google, a 2xx code does not guarantee indexing.
  • Mass redirects to the home page: Google’s help counts this practice among soft 404s, which confuse users and search engines.
  • Client-side routing in single-page applications: JavaScript displays the error, but the server has responded 200. Google offers two solutions in its JavaScript SEO basics (updated on March 4, 2026). The first: a JavaScript redirect to a URL where the server responds 404 (for example /not-found). The second: a <meta name="robots" content="noindex"> tag added to the error page. Details in our guide to JavaScript websites.

To check a doubtful page, run a live test in Search Console’s URL Inspection tool, then open “View tested page”.

The ErrorDocument trap on Apache

Warning

On Apache, the ErrorDocument directive must point to a local path, for example ErrorDocument 404 /404.html. With a full URL (ErrorDocument 404 https://example.com/404.html), Apache sends a redirect to the client, even if the page is on the same server. The client then receives a redirect code instead of the 404. The Apache documentation (version 2.4) warns that this can confuse robots.

The directive can also be used in an .htaccess file.

404 error on WordPress

WordPress builds its error page from the theme. A classic theme uses the 404.php file, or index.php if there is none, according to the template hierarchy (updated on July 24, 2024). A block theme uses the templates/404.html template: this is the case for the Elev8 Lab theme.

Before displaying this page, WordPress tries to guess the intended address. By default, the redirect_guess_404_permalink() function looks for a post whose slug starts with the requested slug. The do_redirect_guess_404_permalink filter (since WordPress 5.5) turns this guessing off; the strict_redirect_guess_404_permalink filter makes it strict.

Observation on elev8-lab.fr, made on October 19, 2026 with curl: the address /seo/redirection-30/, with a truncated slug, responds with a 301 to /seo/redirection-301/, along with the X-Redirect-By: WordPress header. The address /redirection-301/, without the category, responds with a 404, by contrast. The guessing catches some incomplete links, not all of them: it does not replace a redirect set up by hand.

Tip

To log 404s and create 301s without touching the code, the free Redirection plugin does both (more than 2 million active installations according to WordPress.org as of October 19, 2026). Do not change the permalink structure without a redirect plan: the old addresses could turn into 404s.

What should a useful 404 page contain?

A useful 404 page first returns a real 404 code. It then helps the visitor move on: a clear message, a search field, links to the home page and to the main sections.

MDN considers a custom 404 page “a good thing in moderation”. Humor is fine, as long as the visitor is not left in doubt about why the error occurred.

The Elev8 Lab 404 page follows this pattern. It shows “404”, the heading “This page does not exist (or no longer does)” and a sentence of explanation. It also offers the native WordPress search and two buttons: “Back to home” and “Browse topics”. Observation of October 19, 2026: a URL that does not exist on the site does return 404 Not Found, with a Cache-Control header that prevents caching. So the site does not serve soft 404s.

Frequently asked questions

What is a 404?

404 is the “Not Found” HTTP status code: the website’s server received the request, but cannot find the page or file at that address. For the user, the address leads to no page on this site. Check the address you typed or the link you followed, use the site search or go back to the home page: the content may have moved to another address.

What does “404 Not Found” mean?

“Not Found” means that the resource cannot be found. According to RFC 9110, the server did not find a current representation of the requested resource. The code does not say why (page deleted, moved, address mistyped or never created), nor whether the absence is temporary. It is the name of the code in the HTTP standard. The message displayed varies from one site to another; for search engines, only the code returned by the server counts.

Where does the number 404 come from?

The number follows the logic of HTTP status codes. The first digit gives the response class, 4 for client errors; according to RFC 9110, the last two play no role in that classification. A frequently told story links the number to a room 404 at CERN. Without a verifiable primary source, it remains a story, not an established fact.

Is it better to return a 404 or a 410?

The HTTP standard reserves 410 for deletions that the server knows to be permanent, such as a resource removed on purpose. Google treats a 410 the same way as a 404: in both cases, an indexed URL drops out of the index. Choosing a 410 is therefore a matter of clarity, not speed. A shorter delay for the 410 does not appear in Google’s current documentation.

Should you redirect all 404s to the home page?

No. The Search Console help asks you not to redirect users to the home page when a URL does not exist: these redirects are soft 404s, which confuse visitors and search engines. Keep the 301 redirect for pages that have a real replacement, with equivalent content. For the rest, a clean 404, with search and links to the main sections, serves the visitor better.

How long does a 404 error stay in Search Console?

The “Page indexing” report only shows URLs that returned a 404 error during the previous month. According to Google’s help, the error should disappear from the report after about a month, and a URL removal request does not clear it. Googlebot may keep requesting the address for a while, less and less often: for a page deleted with no replacement, this is not a problem.

Sources

  1. IETF, R. Fielding, M. Nottingham, J. Reschke (eds.), RFC 9110, HTTP Semantics, section 15.5.5 “404 Not Found”, June 2022. Accessed on October 19, 2026.
  2. IETF, R. Fielding, M. Nottingham, J. Reschke (eds.), RFC 9110, HTTP Semantics, section 15.5.11 “410 Gone”, June 2022. Accessed on October 19, 2026.
  3. Google, How HTTP status codes affect Google’s crawlers, updated on February 4, 2026. Accessed on October 19, 2026.
  4. Search Console Help, 404 (Page Not Found) errors, no date shown. Accessed on October 19, 2026.
  5. Search Console Help, Page indexing report, no date shown. Accessed on October 19, 2026.
  6. Search Console Help, Crawl Stats report, no date shown. Accessed on October 19, 2026.
  7. Google Search Central, Remove a page hosted on your site from Google, updated on December 10, 2025. Accessed on October 19, 2026.
  8. Google Search Central, Understand the JavaScript SEO basics, updated on March 4, 2026. Accessed on October 19, 2026.
  9. The Apache Software Foundation, Apache HTTP Server 2.4, ErrorDocument directive, 2026. Accessed on October 19, 2026.
  10. WordPress Developer Resources, Template Hierarchy, updated on July 24, 2024. Accessed on October 19, 2026.
  11. WordPress Developer Resources, redirect_guess_404_permalink(), no date shown. Accessed on October 19, 2026.
  12. WordPress.org, Redirection, version 5.10.1. Accessed on October 19, 2026.
  13. MDN Web Docs (Mozilla), 404 Not Found (in French), page last modified on July 8, 2026. Accessed on October 19, 2026.
Baptiste Clair Avatar

Digital marketing, SEO and GEO consultant

More about the author

Article checked and updated by the author. Sources consulted on the date shown.

Cite this article

Clair, B. (2026, October 19). 404 error: what does it mean and should you fix it?. Elev8 Lab. https://elev8-lab.fr/en/seo/404-error/