The page nobody designs

Every website has one page that nobody designs, nobody reviews and nobody shows the client: the one that appears when an address is wrong. It is also, on most sites, among the most visited pages there is.

October 2026

The server has not found anything matching the URI given.

Tim Berners-Lee, Status codes in HTTP, 1992

Nobody plans to arrive there. Somebody mistypes an address, follows a link from four years ago, opens a bookmark from a laptop they have since replaced, or clicks something in a newsletter where a comma got stuck to the end of the link. And then they land on a page that was written by nobody, usually in a hurry, often by the theme’s original author in a different country.

It deserves better than that, for a reason that has nothing to do with craftsmanship: it is the only page on your site where you know, with certainty, that the visitor wanted something specific and did not get it. Everywhere else you are guessing. Here you are not.

Where the number comes from, and the story that is not true

You will hear that 404 is the number of a room at CERN where Tim Berners-Lee kept the first web server, and that a request which failed had, in effect, not been found in room 404. It is a lovely story. It is also, as far as anybody can establish, a legend: none of the people who wrote the protocol has ever confirmed it, and several people who worked at CERN say plainly that there was no such room.

The real answer is duller and more useful. The codes are three digits in which only the first one carries meaning, and the specification says so in as many words: the first digit defines the class of response, and the last two have no categorising role at all. Two hundred is success. Three hundred is “look elsewhere”. Four hundred is a problem with the request itself. Five hundred is a problem at our end.

So 404 is the fourth code in the fourth class, and nothing more. The scheme was not invented for the web either — three-digit replies with a meaningful first digit were already how protocols such as FTP and mail transfer answered, years before. Berners-Lee’s 1992 list of status codes is still online at the W3C, with a note at the top saying it is no longer accurate, which is a rather good 404 in its own right.

What matters is the class. Four hundred means the request was wrong, not that the site is broken. That is a distinction the page itself almost never manages to convey, and most of the bad ones fail precisely there: they read as though something has gone wrong with the website, when what happened is that an address did not match.

The one technical thing that must be right

Before any design decision: the page has to actually return 404.

There is a common and expensive mistake here. A page that says “not found” but answers with a status of 200 — the code for success — is called a soft 404. It looks identical to a human. To every machine it is a real page with real content, so search engines index it, link checkers report the link as healthy, and archives save it. You end up with hundreds of indexed copies of your apology.

The same applies to the popular shortcut of redirecting every unknown address to the home page. It feels helpful. It is not: the visitor is dropped somewhere they did not ask for with no explanation of what happened, and Google states outright that redirecting many old URLs to one irrelevant destination such as a home page may be treated as a soft 404. You have converted a clear answer into a confusing one and gained nothing.

Check your own in ten seconds: open any invented address on your site and look at the status in the browser’s network panel. It should say 404. If it says 200, nothing else in this note will help you.

404 or 410, and when to redirect instead

There are three correct answers when an address stops working, and choosing between them takes a moment of thought rather than a plugin.

  • Redirect, with a permanent redirect, when the thing still exists at a new address. One old address to the one page that replaced it. This is the only case where a redirect is honest, and it is also the only case where it helps anybody.
  • 404 when the address never meant anything, or when you do not know. The specification is careful here: the server cannot find a representation for the resource, “or is unwilling to disclose that one exists”. Not knowing is a legitimate answer.
  • 410 Gone when you removed something on purpose and it is not coming back — a cancelled event, a product discontinued, a page withdrawn. It means the server knows the thing is gone and that this is likely permanent. Search engines drop it faster, and a 410 is a small act of honesty that costs nothing.

What you should not do is redirect something that is genuinely gone to something that merely resembles it. The visitor came for a specific thing and is now looking at a different thing with no indication that a substitution happened. That is not helpfulness, it is a quiet lie, and people notice.

Is humour allowed?

Yes — with one condition, and it is a condition that disqualifies most of the funny 404 pages you have seen.

The condition is order. The page has to do its work first: say what happened, in plain words, without implying the visitor did something stupid, and offer a way onward. If all of that is present and the page then has a light touch, the joke is a kindness. It says somebody was here, somebody thought about this, the site is cared for.

What fails is humour instead of doing the work. An enormous illustration, a pun, a clever line, and no search box, no links, no explanation. That is a page that entertains the designer and strands the visitor. It is also worth remembering who arrives here: someone who already did not get what they wanted. A gag at their expense — “you broke the internet”, “nice typing” — lands differently when you are the one who mistyped.

Jakob Nielsen wrote the first serious guidance on this in 1998, and his rule has not aged: plain language, never imply the mistake is the user’s fault, be specific about what happened, and offer a constructive way forward. He also reported that simply suggesting the correctly spelled address cut 404s on one site by forty per cent — which tells you where the effort actually pays.

So: dry is safer than funny, and in keeping with the site is safer than clever. If your site is playful everywhere else, be playful here. If it is not, a joke on this one page reads as nervousness.

The page somebody else noticed

When I worked on the website of Child Focus, the Belgian foundation for missing and sexually exploited children, the people there told me something no web team had ever said to me: they were putting notices of missing children on the 404 pages of large companies and organisations. Not out of affection for error pages. Because of the exposure. A page nobody designs is still a page an enormous number of people see.

It became a project with a name, NotFound, launched in Belgium on 25 September 2012 by Missing Children Europe, with Child Focus and the Brussels agency Famous. A site owner installs a small application, and every page-not-found on the site shows the photograph and details of a missing child, picked at random — a recent disappearance, or a child gone for years, sometimes with the face aged by software. The agency built it on one line: “Page not found, neither is this child.” The biggest Belgian news sites had signed up before the launch; more than six thousand sites have since.

It is the best argument I know for taking this page seriously, and it came from people who are not web designers. Everybody else looked at the space and saw waste. They saw distribution.

Child Focus says that about seven per cent of visits to a website end on a 404. I have not found where that figure comes from, and it will differ wildly from one site to the next, so read it as an order of magnitude from people with every reason to think big, not as a measurement. The point survives without it: on most sites this page is seen far more often than anybody who built it would guess.

Does it fit the rules above? It does, if it comes second. A missing child is not a joke and not decoration; it asks a visitor who did not find what they came for to look, for two seconds, at someone else who has not been found. But it is still somebody else’s purpose on your page, so the order holds: first what happened and where to go next, then the notice. It also loads from another server, which on a site that promises nothing from third parties is a decision to make, not a detail to wave through. And if you install it, test the status again afterwards. A replacement page that answers 200 undoes everything in the section on getting the code right.

What the page should actually say

Four things, in this order, and they fit in half a screen.

What happened, in a sentence a stranger understands: this address does not exist on this site. Not “Error 404” as a headline — that is the machine’s word for it, not a message. Not “Oops!”.

Why it might have happened, briefly: the page may have moved, or the address may have been mistyped, or the link that sent you here may be old. This is the part that transfers the blame away from the visitor without saying the word blame.

Where to go now. A search box, and the handful of pages people actually come for. Not your whole menu again — that is already in the header. Three or four links, chosen because they are what most visitors wanted, which you know from your top tasks.

How to tell you. One line: if you followed a link to get here, I would like to know. Then an address. Almost nobody writes, and the ones who do hand you a broken link on your own site for free.

That is the thinking. Here it is as something you can run through in ten minutes:

A 404 page that does its job

  • Return the right status. 404 for not found, 410 for deliberately removed, a permanent redirect only when the thing genuinely moved. Test with an invented address and look at the status, not at the page.
  • Never redirect unknown addresses to the home page. It explains nothing to the visitor and search engines may read it as a soft 404 anyway.
  • Write a real heading and a real sentence. “Page not found” as an h1, then one plain line about what happened. No error number as the headline, no “Oops”.
  • Do not blame the visitor, even lightly, even as a joke. They already did not get what they came for.
  • Put a search box on it, and offer the correct address when you can guess it. That single suggestion is the measure that actually reduces the number of people stuck here.
  • Add three or four real destinations — your top tasks, not a second copy of the menu.
  • Keep the header, footer and navigation. A 404 that strips the site away leaves the visitor nowhere, and it looks like a different website.
  • Watch where they come from. Your server log lists the referring address for every 404. That list is a map of your own broken links, and of other people’s links to you that you can still rescue with a redirect.

The better fix is not on that page

All of the above is damage control, and it is worth doing. But most 404s are self-inflicted, and they are made somewhere else entirely: a page renamed because the old title was clumsy, a slug tidied up during a redesign, a site rebuilt without keeping the old addresses alive. Every one of those turns somebody else’s bookmark, somebody else’s link and somebody else’s search result into a dead end, silently, on the day you felt tidy.

So the work that pays most is not on the 404 page at all. It is deciding, once, that an address is permanent — and then keeping the promise, with a redirect for every address you retire. An address is a promise, and the best 404 page is the one almost nobody reaches.

Read the originals

The first one is twenty-eight years old, four screens long, and still the best thing written on the subject.

  • Jakob Nielsen, Improving the Dreaded 404 Error Message — 1998. Plain language, no blame, be specific, offer a way out — and the finding that a spelling suggestion cut one site’s 404s by forty per cent.
  • Status codes in HTTP — W3C, 1992. Berners-Lee’s original list, where 404 first appears. Still online, and the page itself warns that it is no longer accurate.
  • RFC 9110: HTTP Semantics — the current specification, for the exact wording of 404 and of 410 Gone. Two short paragraphs settle most arguments about which to use.
  • Site moves with URL changes — Google Search Central, on one-to-one redirects and why sending everything to the home page may be treated as a soft 404.
  • Hypertext Transfer Protocol — HTTP/1.0 — for the sentence that explains the whole numbering scheme: only the first digit carries meaning.
  • NotFound.org — Missing Children Europe. The application itself, still running, with the list of sites that use it.
  • Famous, 404 NotFound — when media space becomes really useful — 25 September 2012. The launch announcement, with the people from Child Focus and Missing Children Europe explaining why they wanted the page.