Skip to content
Websites

A Website 404 Page That Helps: Designing for Recovery

What a missing-page screen should say and offer, how to tell a mistyped address from a retired page, and how to confirm the page really reports a not-found status.

An empty model recess sits beside paths to two alternative destinations.

A visitor who reaches a missing page has been stopped partway through a task. They followed a link from an email, typed an address from a brochure, or returned to a bookmark, and instead of what they wanted they got a screen that may as well say closed. The page you show at that moment is a small piece of customer service. Designing it takes less than an hour and can turn a dead end into a detour.

Understand why people land there

The right response depends on what went wrong, and the page often cannot know. It can still be written to serve every case. Think through the likely causes and what the visitor needs in each.

Cause What the visitor needs How the page responds
Mistyped or truncated address To find the intended page Short explanation, main menu, and a way to search or browse services
Old link in an email or print piece The current equivalent Links to the main topic areas, and a redirect where one exists
Page removed on purpose To know it is gone and what replaces it A message on the removed page itself, where the change is deliberate
Broken internal link A way forward, and the owner to learn of the fault The same helpful page, plus an internal report if the link came from your own site
Temporary fault Reassurance and another route A phone number and contact route

What the page should say

Open with a plain statement that the page could not be found, written without apology theatrics and without blame. Follow with two or three routes onward: the main navigation, the contact page, and a short list of the most requested topics. W3C guidance on providing more than one way to locate a page within a set of pages is a useful reminder that visitors do not all navigate the same way; some browse, some search, some call. Keep the visual layout consistent with the rest of the site so people know they are still in the right place.

Make sure it reports the truth

A page can look like a missing-page notice yet be delivered to browsers as an ordinary successful page. That mismatch confuses tools that rely on the status code. MDN explains that the 404 status means the server cannot find the requested resource. Ask your developer to confirm, using the browser’s network view, that a deliberately wrong address returns a 404 status and not a normal success. For a page that is gone for good, MDN also describes 410 Gone, which signals that the removal is intended to be permanent; whether to use it is a choice to discuss with the developer, since a redirect to a closely equivalent page is often kinder to visitors.

Do not trap the visitor

Avoid automatic redirects from every missing address to the homepage. The visitor loses the explanation that something changed, and bookmarked pages appear to work while delivering the wrong thing. Likewise avoid full-page announcements, auto-playing media, and pop-ups on this screen. The person is already frustrated and needs calm, plain options.

Hypothetical worked example

Hypothetical example: picture an invented printing firm, Fernwood Print Shop, which removed a holiday-card ordering page after the season. A customer taps an old link from last year’s email and arrives at the generic error that came with the theme, displaying only a large number and the word Oops. The owner rewrites the screen. It now says that the page was not found, that seasonal order pages are taken down after each season, and that current products are listed under the main menu. Beneath that appear three links, to the services overview, the quote request page and the contact details, with the shop’s opening hours next to the phone number. The developer confirms in the network view that a wrong address still returns a 404 status. The firm does not claim any measurable effect; the owner simply judges the screen against what a puzzled customer needs to know.

Build and test checklist

  1. Write the message in two or three short sentences.
  2. Include navigation identical to the rest of the site.
  3. Add a contact route that works on a phone.
  4. List the three or four destinations that matter most to visitors.
  5. Open several invented wrong addresses and confirm the screen appears each time.
  6. Check the status returned for a wrong address, using developer tools.
  7. Read the page with a keyboard only, and confirm every link is reachable.

Learn from the misses

If your host or site tools record missing-page requests, review them periodically. A repeated address often reveals a link in an email, a directory listing or a printed item that needs correcting at the source, or a retired page that deserves a redirect. Add those findings to the redirect plan and fix the original link when you can, since the best missing-page experience is the one that never happens.

Sources