Vernon Web Design

Articles · Small business websites

How to write a 404 page for your small business website

Published · Updated

A visitor clicks a link to your site and sees a blank page that says “404 Not Found.” Most of them leave. They do not know if your business closed, if the site broke, or if they made a mistake.

A good 404 page fixes that. It tells the visitor the page is missing and shows the next step. This guide explains what a 404 page is, what to write on it, and how to test it.

What a 404 page is

A 404 page appears when someone asks for a web address that does not exist on your site. The number 404 is the code a server sends for “not found.”

Visitors reach it in a few ways:

  • They typed the address wrong.
  • They clicked an old link from a search result, a social post, or a printed flyer.
  • You renamed or deleted a page, and a link still points to the old address.
  • Someone else linked to your site with a typo.

You cannot stop every one of these. You can control what the visitor sees when it happens.

What the default page looks like

Most website platforms show a plain default page. It may have a gray background, a short error line, and no menu. Some hosts show a page with their own branding and no mention of your business.

A visitor on that page has no way to move forward. They have to retype the address or press the back button. Many will close the tab.

What to put on your 404 page

Keep the page short. The visitor wants to get somewhere, not read about the error. Include these five parts.

A plain headline. Say what happened. “We cannot find that page” works. Avoid jokes that hide the message. A visitor in a hurry needs to know the page is missing, not that you are clever.

One line of explanation. Say the page may have moved or the link may have a typo. Do not blame the visitor.

Your main menu. Keep the same header and navigation as the rest of the site. A visitor who sees your menu knows they are still on your site.

Three or four useful links. Pick the pages visitors want most. For most small businesses that means the home page, services, prices, and contact. Write each as a plain link.

A way to reach you. Add your phone number, email address, or a link to your contact page. If the visitor was looking for something specific, they can ask you.

A sample you can adapt

Here is text for a Vernon plumbing company:

“We cannot find that page. It may have moved, or the link may have a typo. Try one of these pages instead: Home, Services, Prices, Contact. Still looking for something? Call us or send a message and we will point you to it.”

Replace the page names with the ones on your site. Make each name a link. Add your real phone number as a tap-to-call link. How to add a click-to-call phone link to your website shows how.

Match the look of your site

Use your usual colors, logo, and fonts. A 404 page that looks like the rest of the site feels like part of the business. A page that looks different can make visitors think they landed on the wrong site.

Add a search box only if your site already has one. Most small business sites do not need search, and a menu with a few links does the job.

Some site owners set up a redirect so every missing page sends the visitor to the home page. This looks helpful, but it confuses people. A visitor who clicked a link for a specific service lands on the home page and wonders why. Search engines may also treat these redirects as errors.

Show the 404 page instead. It tells the visitor what happened and lets them choose where to go.

If you renamed a page on purpose, a redirect from the old address to the new one is the right fix. That keeps old links working. Ask whoever manages your site to set it up.

Check that it returns a real 404

A 404 page should do two things. It should show your friendly message, and it should send the 404 code to the browser. Some setups show a nice message but send a “200 OK” code instead. Search engines then read the page as a real page, which is not what you want.

To test it:

  1. Type your domain into the browser, then add a made-up path, such as /this-page-does-not-exist.
  2. Check that your custom message appears.
  3. Open your browser’s developer tools and click the Network tab. Reload the page. The first line should show the status 404.

If you do not use developer tools, ask the person who built your site to check the status code. It takes a minute.

Test it on a phone

Many visitors arrive from a phone. Load the made-up address on your phone and check three things. The text should be easy to read. The links should be large enough to tap. The menu should work. How to check if your website works on a phone lists more checks.

A 404 page helps when a visitor hits a dead end. Fixing the dead end is better. Links inside your own site, such as a menu item that points to a deleted page, send visitors to the 404 page every time. How to find and fix broken links on your small business website explains how to find them.

Do this check after any change to your page names or menu. Do it again every few months.

Where to set it up

How you add a 404 page depends on how your site is built. Many website builders have a setting called “404 page” or “error page.” On a site built from code, the page is usually a file named 404 in the main folder. WordPress themes often include a 404 template.

If you cannot find the setting, ask your web designer or host. Give them the text from this guide. If you want help writing or building the page, contact us and tell us what platform your site uses.

Ready when you are

Book a coffee