404 Page Design: Turning Dead Ends into Helpful Pages
A 404 page is what visitors see when they request a page that does not exist, perhaps through a mistyped address, an outdated link, or a deleted page. You cannot eliminate all of them, but you can make sure they do not become dead ends.
What a 404 is
When a server cannot find a page, it responds with a 404 status code. A good 404 page tells the visitor what happened and helps them get somewhere useful, while still returning the correct status code to browsers and search engines.
Return a real 404 status
A common mistake is a "soft 404," where the page says "not found" but the server returns a normal success code. Search engines may then treat these pages as real content and index them. Make sure the server sends the 404 status. You can check using browser developer tools or an online header checker. Pages that are permanently gone for good may also use a 410 status, though 404 is generally fine.
What to include
A clear message. Say plainly that the page could not be found, with a friendly tone. Avoid blaming the visitor.
Your normal navigation. Keep the header and menu, so people can continue. See navigation best practices.
A search box. On larger sites, let visitors search for what they wanted.
Helpful links. Offer your homepage, popular pages, main services, or latest articles.
A way to report the problem. Contact details or a simple form can help you learn about broken links.
Your brand personality. A little humor or warmth is fine, but clarity comes first. See consistent branding.
What to avoid
- Cryptic technical messages
- A page with no navigation
- Automatically redirecting every missing URL to the homepage, which confuses visitors and can create soft 404 issues
- Overly clever copy that hides the way forward
Find and fix the causes
- Broken internal links. Check your site regularly with a crawler or Search Console. See Google Search Console.
- Changed URLs. When you move or rename a page, set up a 301 redirect from the old address.
- External links. If other sites link to a page you removed, redirect it to the closest relevant replacement, where one exists.
- Redesigns and migrations. Missing redirects are a major source of lost traffic. See how to redesign a website without losing SEO.
Monitor 404s
The Pages report in Search Console lists URLs Google could not find. Analytics can also show 404 pageviews if your 404 page has a recognizable title. Prioritize fixing those with inbound links or traffic.
Make it accessible and fast
Use proper headings, readable text, and keyboard-friendly links. See accessibility basics. Keep it lightweight.
Test it
Type a nonsense address on your site and check what happens on desktop and mobile. Include this in your maintenance checklist.
The bottom line
A helpful 404 page, the correct status code, and good redirect habits keep visitors moving and protect your search visibility.