Media87 guide

How to Write a 404 Page That Keeps Visitors on a Small Business Website

By Muddaser Altaf, founder of Media87

Every website eventually shows a "page not found" error. A link in an old social post points to a page you deleted, someone mistypes a web address, or a redesign changes your URLs. The default error page on many platforms is a blank screen with a technical message, and most visitors leave immediately. A well-designed 404 page turns that dead end into a short detour back to something useful.

First, reduce the number of 404s

A good 404 page is a safety net, not a fix. The most important work is preventing broken links in the first place:

If you are planning changes to your site structure, a simple spreadsheet of old and new addresses, or our free redirect map generator, makes the redirect step much less error-prone.

Return the right status code

A real 404 page should send a 404 (or 410 for permanently removed content) status code to browsers and search engines. Some platforms show a friendly error message but return a normal 200 status, which Google calls a "soft 404". That can lead to empty pages being treated as real content. Ask your developer or check your platform's settings to make sure missing pages return the correct code. Do not redirect every missing page to the homepage either; Google often treats that as a soft 404, and visitors find it confusing.

Keep the message short and human

Visitors do not need an explanation of HTTP. One headline and one sentence are enough: "Sorry, we could not find that page. It may have moved, or the link may be out of date." Match the tone of the rest of your site. A light touch of humour can work for some brands, but clarity matters more than cleverness.

Give people a clear way forward

The page should offer the next step that most visitors are looking for. For a small service business, that usually means:

Keep the list short. Five clear links are better than a full sitemap.

Keep your normal header and footer

Use the same navigation, logo and footer as the rest of the site. This reassures people that they are still on your website and gives them familiar ways to continue. A 404 page that looks completely different can make visitors think the site is broken or unsafe.

Make it work on mobile

Most local service searches happen on phones. Check that the 404 page loads quickly, that the text is readable without zooming and that the buttons are large enough to tap. If your main call to action is a phone call, place it near the top.

Track how often it appears

Set up an event or a page view filter in your analytics so you can see how many people reach the 404 page and which addresses they tried. A sudden increase often points to a broken link in a campaign, an email or a recent site change. Reviewing that list once a month helps you add missing redirects before they cost you enquiries.

A simple checklist

A good error page is a small detail, but small details are what make a website feel cared for. If you are reviewing the wider structure and usability of your site, our notes on website design cover how service pages, navigation and contact options should work together.