Guide

How to Design a 404 and Error Page

A broken link does not have to be a lost visitor — a thoughtful 404 page turns a dead end into a fresh start.

A 404 page appears when someone follows a broken link or mistypes an address. It is going to happen — links rot, pages move, people fat-finger URLs — so the question is not whether visitors will hit one, but what they find when they do.

The default server error page is bleak and offers no way forward, so many people simply leave. A custom error page can rescue that visit. This guide explains how to design one that helps.

Explain plainly what happened

Tell the visitor, in plain English, that the page could not be found — not “Error 404” with no context. A friendly, slightly apologetic tone works well: “Sorry, we cannot find that page.” Reassure them nothing is broken on their end.

Keep it on-brand and human. The error page should look like the rest of your site, with your header, footer and navigation intact, so people immediately understand they are still in the right place and have options.

Give people a way forward

The whole point is to keep the visitor moving. Offer a prominent link back to the homepage and to your most important pages or services. A search box helps if your site is large enough to warrant one.

Think about why someone might have landed here and offer the most likely destination. If a product or page has moved, pointing them to its new home turns a frustrating dead end into a quick recovery.

Fix the underlying problem too

A nice 404 page is a safety net, not a cure. If visitors keep hitting it, find out which broken links are sending them there and either fix them or set up redirects to the right place. Tools like Google Search Console will flag the worst offenders.

When you move or delete a page, set up a redirect to the most relevant replacement. That preserves any search ranking the old page had and means visitors and Google never see the error at all, which is better than even the best 404 page.

FAQs

Common questions.

Do 404 pages hurt my Google ranking?
The odd 404 is normal and harmless. Problems arise when important pages quietly turn into 404s with no redirect, losing their ranking. Catching and redirecting those is the part that matters for SEO.
Should the 404 page be funny?
A light touch is fine and can soften the moment, but usefulness comes first. A witty page that still leaves people stranded is worse than a plain one that helps them find what they wanted.
What links should I include on a 404 page?
We always include a link to the homepage and a working search box, so the visitor has a clear path forward rather than a dead end. For most small business sites, adding links to your two or three most popular pages also helps people find what they came for quickly.
How we can help

Turn this into action.

The services behind this guide.

Related guides

More on web design & ux.

Want a hand putting this into practice?

Book a free, no-obligation consultation with a Norwich-based specialist.

Book a free consultation
Get started

Let's put your business in a better light.

Book a free, no-pressure consultation. We'll talk through your goals and tell you honestly what we'd do — whether you work with us or not.

  1. 01
    Tell us a bitFill in the form — two minutes, tops.
  2. 02
    We'll call you backWithin one working day, no pressure.
  3. 03
    Get a clear planHonest advice and a fixed quote.

Free · No obligation · We reply within one working day

Book a free consultation