You click a link, expecting a page, and instead you land on a short message saying the page cannot be found. The article, product, or form you wanted is simply not there. That message is a 404 page, and almost everyone who uses the web has met one.

A 404 page is not a broken website, and it is not a sign that your connection has failed. It is a useful signal: the address you asked for does not match anything on that site right now.

What a 404 page actually is

A 404 page is the page a website shows when a requested address, known as a URL, does not point to a live page. The number 404 is the status code a server sends in that situation. It means the server was reached and understood the request, but it could not find anything at that address.

Think of a website as a building with many rooms, and each URL as a door number. A 404 page is what you find when that door number no longer exists, or never existed at all. The building is still standing, but the room you wanted is not there.

A dark hallway with a closed door and a single coral-red door handle

Why 404 pages happen

Most 404 pages have a simple cause. The most common is a page that has been moved or deleted. A site owner may remove an old article, take down a product that is no longer sold, or restructure a section of the site. If the old address is not redirected to a new one, anyone who follows the old link arrives at a 404 page.

A mistyped address is another common cause. A single wrong letter, a missing hyphen, or an extra character is enough to break a URL. This often happens when someone types an address by hand or copies it with a character missing.

Outdated links cause the rest. A link on one site may point to a page elsewhere that has since changed, and a bookmark saved years ago may point to a page that has long since moved. The way a site is set up underneath, including its web hosting, shapes how those addresses are served.

Why a 404 page matters

A 404 page matters because it is often the moment a visitor decides whether to stay or leave. A person who lands on one was already interested enough to click. They wanted something specific, and they arrived expecting to find it. What happens next depends on how the site responds.

A clear 404 page keeps that visitor. It explains what happened in plain language, and it points them toward something useful: the home page, a search box, or a related page. A confusing one loses them. If the message is full of technical language, or the page offers no way forward, most people simply close the tab and try somewhere else.

It also matters for trust. A site that handles a missing page gracefully feels cared for, while one that leaves visitors staring at a bare error message feels unfinished.

What a good 404 page does

A good 404 page does three things, and it does them quickly. First, it says clearly that the page cannot be found, in words anyone can understand. There is no need for codes or jargon on the page itself. A short sentence is enough.

Second, it helps the visitor find what they were looking for. That might mean a search box, a short list of popular pages, or a link back to the home page. The aim is to turn a dead end into a new starting point, with as little effort as possible.

A dark desk with a blank laptop screen, a tangled cable, and a single coral-red mug

How to make a 404 page that helps visitors

Start with a plain message. Something like “This page cannot be found” is clearer than any error code. If you can add one line explaining what may have happened, such as a moved or deleted page, that helps too.

Next, give the visitor clear ways forward. A search box is often the most useful thing on the page, because the visitor already knows what they were looking for. Add a link to the home page and, where it fits, a few links to your most visited pages. The web design process behind a site should include this page from the start, rather than treating it as an afterthought, because it is a real part of how people experience the site.

Keep the page simple. One short message, a search box, and a few links are enough. The visitor is already slightly frustrated, so every extra element stands between them and what they wanted.

A dark bookshelf with one coral-red book among plain dark books

What to avoid on a 404 page

A few choices make a 404 page worse, and they are all easy to avoid. Do not blame the visitor. A message that suggests they typed the address wrong may be true, but it is not helpful, and it sets the wrong tone.

Do not send visitors to a 404 page when the content still exists somewhere else. If a page has moved, the old address should lead to the new one, not to an error. Keeping an up-to-date sitemap helps search engines and visitors alike find the current version of a page, instead of following an address that no longer leads anywhere.

Do not make the page a joke that gets in the way. A light touch can work, but a 404 page is still a moment of frustration for the visitor. Help first, personality second. And do not leave the page blank: a default server message, with no design, no links, and no guidance, tells the visitor nothing except that something went wrong, and gives them no reason to stay.

A short checklist

If you run a website, check now and then for links on your own site that point to pages you have moved or removed. Check the addresses that search engines report as missing, and redirect the ones that still have a new home. Test your 404 page yourself, on a phone and on a computer, and see whether you can reach something useful from it in one or two taps.

A 404 page is a small part of a website, but it appears at a moment that matters. Handled well, it turns that moment into a brief detour. Handled badly, it turns it into the end of the visit.

Back to the journalDiscuss a project