Designing the 404 Page: The One Screen Every Website Has and Nobody Briefs

Every website we build has a 404 page, and in all the briefs we have received, almost none has mentioned it. It is the screen a visitor sees when a link is broken, a page has moved, or someone has mistyped an address. It gets more traffic than most people guess, and it arrives at the worst possible moment, when the visitor has already been let down once.
So we design it properly, and we design it early, alongside the navigation.
The first job of a 404 page is to say what happened in plain words. "We can't find that page" does it. We avoid error codes as headlines, and we avoid blaming the visitor. Most broken links are the site's fault, usually after a redesign changed the addresses.
The second job is to offer a way forward. For a small business site that means three or four links to the pages people most often want: services, work, contact, home. For a shop or a marketplace it means a search box, already focused, so the visitor can type straight away. A 404 page with nothing but a "back to home" button makes the visitor start their search from the top.
Third, the page keeps the full header and footer. It sounds trivial, but plenty of error pages are bare templates with no navigation at all. The visitor should feel they are still on the same website.
Then there is the question of jokes. A 404 page is a popular place for a pun or an illustration, and we have nothing against either. But the joke comes second. If a visitor has to read a paragraph of whimsy before they find a link, the page has failed. One line of personality, then the useful part.
There is technical work behind the design too. The page must return a real 404 status to browsers and search engines. A page that says "not found" but reports itself as fine is called a soft 404, and it leaves dead addresses sitting in search results. We also keep the page light, because it should load at once.
Finally, we use the page as a source of information. We log which missing addresses people ask for, and review the list a few weeks after launch. If the same old address appears again and again, we add a redirect to the right page. After a rebuild, that list is the fastest way to find links we missed.
The best 404 page is one that fewer people see each month. A careful redirect map at launch does most of that work. The page itself is there for the links we could not predict, and it should treat those visitors as well as the home page does.