The 404 page is one of the few parts of a website that almost every visitor will meet eventually, and almost no owner ever looks at. It is worth a little of your attention, because a well made one keeps people on your site and a neglected one sends them straight back to Google.

What a 404 actually is

A 404 is the response your server sends back when someone asks for a page that does not exist. The number itself is nothing mysterious. It is simply the HTTP status code that means "not found". Browsers and search engines use these codes to understand what happened with a request, and 404 is the standard way of saying the address is valid but there is nothing at it.

What the visitor sees at that moment is a page your website serves up in place of the one they asked for. That page can be a blank wall of technical text, or it can be a helpful signpost. The status code stays the same either way; only the experience changes.

Why people land on one more often than you would expect

Missing pages are a normal part of running a website that has been going for more than a year or two, and they rarely mean that anything has gone badly wrong. The usual causes are:

  • Someone mistyped the address, or copied it with a stray character on the end.
  • An old link on another website points to a page you have since removed or renamed.
  • A visitor saved a bookmark before your last redesign, and the address has changed since.
  • A link sits in an old email newsletter, or on a printed leaflet or business card.
  • A search engine is still showing a result for a page it has not recrawled yet.
  • Links on your own site were never updated after a page moved.

The awkward part is that most owners never see their own 404 page. You navigate your site from the menu, or straight from the admin area, so you never hit a dead address. That is precisely why it tends to be the last thing anyone designs, and the first thing visitors run into when something is out of date.

What a good 404 page contains

The job of a 404 page is to explain what has happened and give the visitor an obvious next step. A few things do most of the work.

  • A clear, plainly worded explanation that the page does not exist. Avoid jargon, large error codes and any suggestion that the visitor did something wrong.
  • Your normal site navigation. A 404 page without a menu is an orphan page, and the only option left is the back button.
  • A search box, which is usually the fastest route to whatever they were actually after.
  • Links to your most important pages, such as your services, your contact page and your home page.
  • Your contact details. Someone who cannot find what they need may simply want to ask a person.

A light touch in the wording is fine, and a bit of personality can take the sting out of a dead end. Just be careful that the joke does not crowd out the help. If a visitor has to scroll past an elaborate illustration to find a menu, the page has stopped doing its job.

The common mistake that actually harms your SEO

The single most damaging thing you can do is redirect every missing page to your home page. It is a popular fix because it feels helpful, and because it makes the error reports look tidy. In reality it causes problems for both search engines and visitors.

Warning

Do not redirect every missing page to your home page. It creates a soft 404, confuses search engines about what your pages contain, and dumps visitors somewhere generic with no explanation of what happened.

When you do this, the server reports success for a page that does not contain the requested content. Google calls this a soft 404, and it has to work out for itself that the page it was given is not the page it asked for. That is wasted crawling at best, and muddled signals about your site at worst.

It is no better for people. Someone clicked a specific link about a specific thing and arrived at your home page with no explanation at all. Most assume the site is broken and leave. A genuine 404 response is the correct and honest answer when a page does not exist, and visitors cope with honesty far better than they cope with confusion.

When a redirect is the right answer

None of this means redirects are bad. They are the right tool when there is somewhere real to send people.

  • If a page genuinely moved to a new address, use a 301 redirect pointing at the specific equivalent page.
  • If the content was merged into another page, redirect to the page that now covers it.

The rule is easy to remember. A redirect should take someone to the closest genuine replacement rather than a generic landing spot. If there is no real equivalent, a 404 beats a misleading redirect every time.

How to find your broken links

You do not need specialist software to get a reliable picture. Three sources cover almost everything.

  • Google Search Console reports 404 errors in its page indexing report. Start here, because it reflects what Google actually sees when it crawls your site.
  • Free broken-link checker tools will crawl your site and list internal links pointing nowhere. These are the easiest problems to fix, since the links are yours to edit.
  • Your analytics will show which missing addresses are actually being visited, which tells you where real people are getting stuck.

How to prioritise the fixes

Once you have a list, resist the urge to work through it from top to bottom. A missing page that still receives traffic, or that other websites link to, deserves a proper redirect to its closest replacement. A random mistyped address with no traffic and no links needs nothing at all beyond the 404 it already returns.

Do not set out to eliminate every 404 on your site. It is neither possible nor useful. Fix the ones that cost you visitors and leave the rest alone. I run these checks as part of ongoing website care, which keeps the list short enough to clear in one sitting.

Setting yours up, and actually testing it

Most content management systems let you design a custom 404 page without much fuss. In WordPress it is usually a template file in your theme, or a setting within the theme or a plugin, depending on what you are running. If you are not sure, whoever built your site will know in a minute.

Tip

Test it by typing a made-up address on your own site, such as your domain followed by /this-page-does-not-exist. Most owners have never done this once.

Look at what appears the way a first-time visitor would. Can you tell what has happened? Is there a menu, a search box and a way to get in touch? If the answer to any of those is no, you have found your next small job.

The short version

Missing pages are normal. What matters is being honest about them: return a real 404, make that page useful enough to keep someone moving, and redirect only when there is a genuine replacement to redirect to. It is an hour of work that quietly saves visitors you would otherwise never know you had lost, and if you would rather someone else cast an eye over yours, that is a simple thing to arrange.

A useful 404 page and a short, honest list of redirects are the kind of small jobs I fold into regular site work. Send the project brief with your site address and what has changed on it recently.