---
title: "404 error"
description: "404 error: how it differs from 410 and soft 404, its real effect on SEO, how WordPress handles it and the 404s left behind by scanner bots."
language: "en"
locale: "en-US"
type: "definition"
canonical: "https://www.wp-feint.com/glossary/404-error/"
published: "2026-10-28T08:00:00+00:00"
modified: "2026-11-22T12:07:19+00:00"
translations:
  en-US: "https://www.wp-feint.com/glossary/404-error/index.md"
  es-ES: "https://www.wp-feint.com/es/glosario/error-404/index.md"
  de-DE: "https://www.wp-feint.com/de/glossar/404-fehler/index.md"
  it-IT: "https://www.wp-feint.com/it/glossario/errore-404/index.md"
  pt-BR: "https://www.wp-feint.com/pt/glossario/erro-404/index.md"
  nl-NL: "https://www.wp-feint.com/nl/woordenlijst/404-fout/index.md"
  fr-FR: "https://www.wp-feint.com/fr/definitions/erreur-404/index.md"
---

# 404 error

A 404 error (Not Found) is the HTTP status code returned when the requested URL doesn't match any resource on the server: a deleted page, a page moved without a redirect or a mistyped link. Google doesn't index URLs that return this code and gradually drops those that were indexed.

Every site ends up producing 404 errors: a deleted post, a mistyped external link, an old URL forgotten during a redesign. That isn't an anomaly in itself. What matters is telling apart the 404s that cost you visitors from the ones that are perfectly normal, and making sure the server returns the right status code.

## 404, 410 and soft 404

- **404 Not Found**: the resource can't be found, without saying whether that is temporary or permanent.
- **410 Gone**: the resource has been permanently removed. For Google, the difference is slim: its documentation states that all 4xx codes except 429 are treated the same way.
- **Soft 404**: an empty page, or one that displays an error message, but responds with a 200 (success) status code. Google flags it as such in Search Console, because it misleads crawlers and keeps getting crawled.

## The impact on SEO

Google doesn't index URLs that return a 4xx code. An already indexed page that starts responding with a 404 eventually drops out of the [index](https://www.wp-feint.com/glossary/indexing/), and the crawler visits it less and less often. That is exactly what you want for a page that has truly been deleted, or for spam pages injected after a hack, as explained in our article on [cleaning up SEO spam](https://www.wp-feint.com/hacked-wordpress-site-seo-spam-deindexing/).

The problem arises when a useful page, one that received links or traffic, disappears without a [301 redirect](https://www.wp-feint.com/glossary/301-redirect/) to its equivalent. Search Console's Page indexing report lists these URLs under the reason “Not found (404)”: start with the ones that have inbound links or clicks.

## For WordPress

- **The 404 template**: the theme displays its `404.php` file, or the “Page: 404” template in the Site Editor for a block theme. Offer a search box and links to your main sections there, rather than just a message.
- **Guessed redirects**: WordPress tries to find content whose URL resembles the requested one, and redirects to posts whose slug you have changed. Everything else needs explicit rules.
- **The right status code**: check that a nonexistent page really responds with a 404, for example with the URL Inspection tool or your browser's developer tools. Some themes or cache settings serve an error page with a 200 code.

## 404s in your logs: often bots

In a WordPress site's logs, many of the 404s don't come from your visitors but from automated scanners testing well-known paths: `/.env`, `/phpmyadmin/`, files from vulnerable plugins. Our article on [scanner bots in your logs](https://www.wp-feint.com/scanner-bots-in-your-logs/) helps you recognize them. These requests don't hurt SEO, but they reveal who is looking for a vulnerability.

A URL that doesn't exist on your site and that only a malicious bot requests also makes an excellent [honeypot](https://www.wp-feint.com/glossary/honeypot/). That is the idea behind the [WP Feint bot traps](https://www.wp-feint.com/features/bot-traps/), which count these probes with no effect on your visitors and, in the Pro version, ban the most persistent bots. It isn't a network firewall, but a simple way to make this activity visible.

## Related terms

- [301 redirect](https://www.wp-feint.com/glossary/301-redirect/)
- [Indexing](https://www.wp-feint.com/glossary/indexing/)
- [Crawl budget](https://www.wp-feint.com/glossary/crawl-budget/)
- [Honeypot](https://www.wp-feint.com/glossary/honeypot/)
- [Canonical URL](https://www.wp-feint.com/glossary/canonical-url/)


## Sources

- [Google Search Central : codes d’état HTTP, erreurs réseau et DNS](https://developers.google.com/search/docs/crawling-indexing/http-network-errors)
- [MDN : 404 Not Found](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/404)
