Armstrong Websites

Articles · Website upkeep

What is a 404 page and what should yours say?

By Armstrong Websites. Published . Updated .

A 404 page is the page your website shows when someone asks for an address that does not exist on your site. Yours should say plainly that the page was not found, then give the visitor somewhere useful to go: your homepage, your main services, and your contact details. A good 404 page keeps a customer on your site after a bad link or a typo.

Where the name comes from

When a browser asks a website for a page, the website answers with a three-digit status code. The visitor does not normally see it. A code of 200 means the page was found. A code of 404 means the website is working, but it has no page at that address.

So a 404 is not a sign that your whole site is down. It means one address led nowhere.

Why visitors land on a 404 page

Every website gets these visits. The common causes are:

  • A typed mistake. Someone types your address by hand and gets a letter wrong.
  • A deleted or renamed page. You removed last year’s “Summer specials” page, but a link to it still sits in an old Facebook post.
  • A link on another site. A directory or a local group linked to a page you have since moved.
  • An old bookmark. A regular customer saved your menu page, and you changed its address in a redesign.
  • A broken link on your own site. A button points to an address with a typo in it.

You can fix some of these and not others. You cannot edit an old social media post on someone else’s page or a bookmark on a customer’s phone. That is why the 404 page itself matters.

What the default page looks like

Every platform shows something when a page is missing. If you have never set yours up, visitors see the default.

On some hosting, the default is a bare white page with the words “404 Not Found.” It has no logo, no menu, and no link. A visitor has no way forward other than the back button, and may think the business has closed.

Builders such as Squarespace and Shopify, and most WordPress themes, show a default 404 page that keeps your header and menu. That is better, but the message is generic. A few lines of your own make it more useful.

What your 404 page should say

Keep the page short. It needs five things.

A plain message. Say what happened in words anyone can follow. “We could not find that page” works. Avoid technical terms.

A reason, in one line. Something like “The page may have moved, or the address may have a typo.” This tells the visitor it is not their fault and not a sign the business is gone.

Links to your main pages. Offer three to five choices: the homepage, services, the menu or shop, and the contact page. Pick the pages most visitors want.

Your contact details. Put your phone number and email address right on the page. A visitor who wanted to call you can still call you.

Your normal header and footer. The page should look like the rest of your site, with your logo and menu, so the visitor knows they are in the right place.

A sample you can adapt

Here is wording a local service business could use. Change the details to fit yours.

We could not find that page.

The page may have moved, or the address may have a typo. Here are the pages people look for most:

  • Home
  • Services
  • Service area
  • Request a quote

Or call us at your phone number.

A cafe would swap in “Menu,” “Hours and location,” and “Catering.” A farm stand would list “What is in season,” “Hours,” and “Find us.”

What to leave off

A 404 page has one job. Extra parts get in the way.

Skip long apologies. One sentence is enough.

Skip blame. Do not tell the visitor they typed something wrong, even if they did.

Skip jokes that hide the message. A light tone is fine if it fits your business. But a visitor who is trying to book a furnace repair wants a link, not a pun. Put the useful part first.

Skip an automatic jump to the homepage. Some sites send every missing address straight to the homepage with no message. The visitor clicked a link about one thing and landed on a page about everything. They cannot tell what went wrong. Show a real 404 page with choices.

How to edit your 404 page

The steps depend on your platform, and menus change over time. Look for these in general terms.

Squarespace. Build a normal page with the message and links you want. Then look in the site settings for the option that sets which page shows for a 404 error, and pick the page you built.

WordPress. The 404 page comes from your theme. Many current themes let you edit it in the site editor, where it appears as a template named 404. With older themes, look in the theme’s options or ask the person who built the site.

Shopify. The 404 page is a template in your theme. Open the theme editor and look for the 404 template in the list of page types.

A custom-built site. Ask your designer or developer. Adding a custom 404 page is a small job on most sites.

If you cannot find the setting, search your platform’s help pages for “404 page.”

Test it

Type your web address, add a slash, and then type a word that is not a page on your site, such as “test-page-123.” Press Enter.

Your own 404 page should appear, with your logo, your message, and your links. Click each link to confirm it works. Then do the same test on your phone.

If you see a bare error page or get sent to the homepage, the custom page is not set up yet.

Reduce how often people see it

A helpful 404 page is the backup. The better fix is fewer missing pages.

When you rename or delete a page, set up a redirect from the old address to the best matching page. Visitors who use the old link then arrive at the right place and never see an error. What is a redirect and when do you need one? explains the steps.

Check your own site for links that point nowhere. How to check your website for broken links shows how to find and fix them.

If you plan a redesign, list every address on the old site before you start, so each one gets a new home. How to redesign a website without losing Google rankings covers that list in detail.

Google Search Console also reports addresses on your site that return a 404. Look at that report every month or so. If an address on the list used to be a real page, add a redirect for it.

If you want a hand setting up a 404 page or finding missing pages, reach us through the contact page.

Ready when you are

Book a coffee