Designing the 404 Page the Right Way - Instead of Losing Visitors
Almost every website produces 404 errors sooner or later: a visitor clicks an old link, mistypes a URL or follows a bookmark that no longer exists. The question is not whether this happens, but what appears on the screen when it does. A blank default error page is a dead end - and this is exactly where most visitors leave. A well-considered 404 page, on the other hand, brings them back into your website.
What a 404 page actually is
The 404 status code simply means: the requested page no longer exists. Your server delivers this code together with a page - and that page is yours to design however you like. By default, many systems show a bare, technical message. That's a wasted opportunity, because the visitor is already here. They just want to go somewhere else.
The most common mistakes
Before we get to good design, it's worth looking at what tends to go wrong:
- The server's default page - grey text on a white background, no connection to your brand, no way back.
- Redirecting to the homepage - this may seem convenient, but it confuses people: the visitor lands somewhere else without explanation and doesn't understand what happened.
- Soft 404 - the page looks like an error page but technically returns the code 200 (OK). Google treats this as a mistake and may handle the affected URLs less favourably.
- A dead end with no links - attractive design, but no clue about how to continue.
What belongs on a good 404 page
A 404 page has to do two things: explain what's going on - and immediately offer the visitor a way out. In practice, that means:
- A clear, friendly message: tell people honestly that the page couldn't be found. No jargon, no blaming the user.
- Consistent design: your site's header, logo, navigation and colours stay visible. That way the visitor knows they aren't lost - they're still with you.
- Working navigation: the normal menu lets them reach anywhere on your site.
- A search field: especially on larger websites with many sub-pages, this is the fastest route to the right place.
- Links to your most important pages: homepage, popular content, contact. Three to five are enough.
- An optional way to get in touch: if the visitor was looking for something specific, they can let you know - which helps you find broken links.
A little humour or a fitting illustration does no harm and takes the frustration out of the moment. But the key point remains: usefulness comes first. A witty graphic with no navigation doesn't solve the problem.
The technical side - often forgotten, but decisive
The look is only half the story. For search engines to work cleanly, the page must return the real status code 404 (or 410, if something has been removed permanently). You can check this with your browser's developer tools or an online header checker. If the page mistakenly returns 200, you create a soft 404 - and Google may index empty pages or keep deleted content in its index.
A second point: when a page has been moved, what belongs there is not a 404 but a 301 redirect to the new address. The 404 page is meant only for content that genuinely no longer exists or never did. Drawing this distinction cleanly saves you from ranking losses.
Keeping an eye on 404 errors
A well-designed 404 page catches visitors - but ideally they shouldn't end up there in the first place. That's why it pays to check regularly which URLs are triggering errors:
- In Google Search Console, the page reports show you which addresses are considered not found.
- In your server logs or an analytics tool, you can see which links bring visitors to the 404 page.
- If certain URLs keep coming up, it usually means an internal link is broken or an external page is pointing to the wrong place - both can be fixed.
How we handle this in practice
We run seven of our own brands in production - from an accessibility scanner and a cosmetics product portal with over 177,000 products to a vehicle deal radar. Particularly with large, dynamically generated page collections, dead links are inevitable: products get removed, URLs change, crawlers guess addresses. From this experience we know that a 404 page isn't a cosmetic detail but part of the substance. It has to return the correct status code, match the brand in its design, and guide the visitor back with search and navigation. On every project we build at a fixed price, a proper error page with correct HTTP behaviour is part of the standard - not an add-on.
The bottom line: the 404 page is a small building block with a big impact. It takes little effort, yet it stops you from losing visitors at the very moment you could still easily keep them.