404 Pages

Website 404 Page: Causes and Fixes

The status code, the design, and the redirect decision behind a 404 page that recovers lost visitors.

404Pulse Editors Jul 18, 2026 9 min read
Website 404 Page: Causes and Fixes

A website 404 page is what a visitor sees when the URL they requested does not exist. It is both a technical response and a design surface: handled well it keeps people on your site, handled badly it sends them straight back to search results. This guide explains why 404s happen, how they affect SEO and users, and how to turn your 404 page into a graceful recovery rather than a dead end.

The short version

  • A 404 page appears when the server cannot find the requested resource and returns the 404 Not Found status code.
  • The status code and the page design are two different things: the header must say 404 even when the page looks friendly.
  • A good custom 404 page keeps your header, search, and top links so a lost visitor can recover in one click.
  • Redirect a 404 only when a relevant replacement exists, otherwise let it return a genuine 404 or 410.

What a website 404 page is

When a browser requests a URL, the server answers with an HTTP status code. If the page cannot be found, that code is 404. Per MDN, the 404 Not Found status code indicates that the server cannot find the requested resource, and it signals only that the resource is missing, without saying whether the absence is temporary or permanent.

The 404 page is the HTML your server sends alongside that code. Every site has one, even if it is the plain default from the server or CMS. The opportunity lies in replacing that bland default with a custom page that helps the visitor continue.

Why visitors land on your 404 page

Website 404 Page: Causes and Fixes

People reach a 404 for predictable reasons, and knowing them tells you what to fix:

  • A page was deleted or unpublished and nothing was redirected.
  • A URL changed during a redesign, migration, or slug cleanup.
  • A mistyped or truncated link, either in your own HTML or in a link someone else built to you.
  • An old bookmark or search result pointing to content that has since moved.
  • A broken internal link elsewhere on your site.

The first four are inevitable on any site that changes over time. The last one is fully in your control, and running a broken link search across your pages is the way to catch it before visitors do.

The status code matters more than the design

The single most common technical mistake with 404 pages is a soft 404. A soft 404 happens when the page looks like an error to a human but the server returns a 200 OK status to crawlers. Google explains in its guidance on HTTP and network errors that Search Console shows a soft 404 when a server responds with a success code while the content itself indicates an error, such as an empty or error page.

This confuses search engines. They believe the page is real content, keep it in the index, and may crawl it repeatedly. The rule is simple:

  • A missing page must return the 404 status code (or 410 if permanently gone).
  • The friendly design is layered on top of that correct status, never in place of it.

You can confirm your 404 page returns the right code with a URL checker or by inspecting the response header in your browser developer tools. If it shows 200 for a missing page, that is the first thing to fix.

Tip: check the header, not just the screen. Open the Network tab in your browser, load a URL you know does not exist, and read the status of the top request. It should say 404. A page that looks like an error but reports 200 is a soft 404 and needs a server fix.

How 404 pages affect SEO

Website 404 Page: Causes and Fixes

A genuine 404 is not a penalty. Google treats missing pages as a normal part of the web. The SEO effects are indirect and depend on how many you have and whether they are handled correctly:

  • Crawl efficiency. Google notes that newly encountered 404 pages are not processed and their crawl frequency gradually decreases, so a clean 404 lets crawlers move on. Soft 404s do the opposite and keep dead URLs in rotation.
  • Index hygiene. URLs that correctly return 404 drop out of the index over time. That is the intended behavior for pages you removed on purpose.
  • Lost link value. If external sites link to a URL that now 404s, that authority is stranded. A redirect to a relevant page recovers it.
  • User signals. A helpful 404 page keeps people browsing, which supports the engagement patterns that healthy sites show.

How to design a helpful 404 page

Treat the 404 page as a recovery station, not an apology. The elements that consistently work:

  • Keep your full header and navigation so the visitor is never trapped.
  • Say clearly what happened in plain language: the page could not be found.
  • Offer a search box so people can look for what they wanted.
  • Link to your most popular pages or main categories.
  • Provide a route home and a way to contact you if they followed a link from your site.
  • Match your brand in tone and visuals so the page feels intentional.

Keep it fast and light. The 404 page is still a real page load, so avoid heavy scripts that slow the recovery. If page speed is on your list, our Core Web Vitals guide covers the loading and stability metrics that apply here too.

When to redirect instead of showing a 404

Not every missing URL should end at a 404 page. Decide by whether a relevant replacement exists:

  • Content moved to a new URL: add a 301 permanent redirect to the new location. Google states in its redirects documentation that a permanent redirect signals the target as the canonical URL, which consolidates ranking on the new page.
  • Content deleted with a close equivalent: 301 to the most relevant live page, not the homepage.
  • Content deleted with no equivalent: let it return a clean 404, or a 410 Gone if you want to signal permanence. MDN notes that for permanently removed resources the server should send 410 Gone rather than 404.
  • A URL with valuable backlinks: prioritize a redirect so you keep the earned authority.

For choosing and verifying the right redirect, our walkthrough on checking URL redirection shows how to confirm the chain resolves cleanly.

Warning: do not blanket-redirect all 404s to the homepage. Sending every missing URL to your homepage frustrates users who wanted something specific, and Google may classify those redirects as soft 404s. Redirect to a relevant page or serve a genuine 404 instead.

Keep 404s under control over time

404 pages are a moving target because sites keep changing. A light maintenance loop keeps the count low:

  • Watch the Not found report in Google Search Console for URLs Google is hitting.
  • Re-crawl your site periodically to catch internal links pointing at dead pages.
  • Set up redirects at the moment you retire a URL, not weeks later.
  • Review your custom 404 page after any redesign so it still matches the site.

Continuous monitoring services, 404Pulse included, can watch for new 404s and alert you as they appear, so you are handling one URL at a time instead of discovering a pile of them during your next audit.

Frequently asked questions

Is a 404 page bad for SEO?

A genuine 404 is not bad for SEO. Google treats missing pages as normal and does not penalize a site for having some. Problems arise only when 404s are actually soft 404s returning a 200 status, or when valuable pages 404 without a redirect and lose their earned link value.

What is the difference between a 404 page and a soft 404?

A true 404 page returns the 404 status code, telling crawlers the page is missing. A soft 404 looks like an error to a human but returns a 200 OK status, so search engines think it is real content. Soft 404s should be fixed to return the correct status.

Should my 404 page redirect to the homepage?

No. A 404 page should stay on the missing URL and help the visitor recover with navigation, search, and popular links. Redirecting all missing URLs to the homepage frustrates users and can be treated as a soft 404 by Google. Only redirect a specific URL when a relevant replacement exists.

When should I use 410 instead of 404?

Use 410 Gone when a page is permanently removed and you want to make that clear. MDN recommends 410 for permanently removed resources, while 404 simply means not found without stating whether the absence is temporary. Both let the URL drop from the index over time.

How do I check whether my 404 page returns the right status code?

Load a URL you know does not exist and inspect the response in your browser developer tools Network tab, or run it through a URL checker. The top request should report a 404 status. If it reports 200, you have a soft 404 to fix at the server or CMS level.

Have a question or a topic to suggest?

We read every message. Tell us what you would like to see next.

Get in touch

Written by 404Pulse Editors

Notes on performance, uptime and the web, one post at a time. More about this blog.