# Error pages that help visitors

URL: https://ekom.blog/error-pages-that-help-visitors/
Published: 2026-11-26
Author: Ekom
Topics: How the internet works

> How to design 404, 500 and maintenance pages that keep visitors on your site, send the right status code to search engines and help you spot broken links.

A visitor clicks a link from a search result and lands on a blank white page that says "404 Not Found" in Times New Roman. They hit the back button. You lose them for good.

Errors happen on every website. The difference is what the visitor sees next. A good error page turns a dead end into a signpost.

## The errors people actually meet

Every web response carries a status code. HTTP status codes explained: 200, 301, 404, 500 covers the family; these are the ones that need a good page:

- 404 Not Found: the page doesn't exist (deleted, moved, or mistyped).

- 403 Forbidden: the page exists, but the visitor isn't allowed in.

- 500 Internal Server Error: something broke on the server.

- 503 Service Unavailable: the site is overloaded or in maintenance.

The 404 is by far the most common, so most of this post is about it.

## What a good 404 page does

### 1. Says plainly what happened

"We can't find that page." Not "Error: resource not located". Say it like a person and skip the blame.

### 2. Keeps the site's look and navigation

The page should still have your header, menu and footer. If the visitor can see the site around the message, they know they're still in the right place.

### 3. Offers a way forward

The most useful options, in order:

- A search box (so they can look for what they wanted).

- Links to popular pages: homepage, top categories, best products or posts, contact page.

- On a shop, links to main collections or best sellers.

- A contact link for "I was sure this page existed".

### 4. Has a bit of personality, without wasting time

A touch of humour can soften the moment, but don't make it the whole page. People who hit an error are mildly annoyed and want to get on. Keep the joke to one line.

### 5. Stays light

Don't load a huge animation for a page nobody wants to be on. A fast error page is a kind one. I wrote more on getting this right in the 404 page: small page, big job.

## The technical part that really matters

### Return a real 404 status

The page should send the 404 status code, not a 200. If your "page not found" message is served with a 200 (OK) code, search engines treat it as a real page, and you end up with a "soft 404". Google then wastes time on useless URLs and flags them in Search Console. See fixing soft 404s.

How to check: open the browser's developer tools, go to the Network tab, load a made-up URL like /this-does-not-exist-123, and look at the status of the main request.

### Don't redirect every 404 to the homepage

It's tempting, but it confuses visitors and search engines, who see a wall of "redirected" pages that don't match. Redirect when there's a close replacement (a renamed page, a moved product). Otherwise show the 404. Choosing between the options is covered in choosing between a redirect, a 404 and a 410 for retired pages.

### Use 410 for removed-for-good content (optionally)

A 410 says "gone on purpose". It's a small signal that can help clear old URLs faster, but a 404 is fine for most sites.

## Using 404s to improve the site

Error pages are a free source of insight.

- Search Console's pages report lists URLs Google found that returned 404.

- Your analytics can track visits to the error page, showing the URLs people requested.

- Server logs reveal which broken URLs get hits, and from where.

- A broken-link check after any redesign catches internal links that point to nowhere.

Triage them. If a 404 URL has real links from other sites or steady visitors, redirect it to the best replacement. If it's junk (bots probing for admin pages), ignore it. Redirect chains: finding and fixing them helps if your fixes begin to stack up.

## The other error pages

### 500 and 503

A 500 page often can't use your normal template, because the system that builds it is the thing that has failed. Keep it simple: a short apology, a note that you're working on it, and a way to reach you (phone, email, social account). Host the static version somewhere that still works if your database is down.

For planned maintenance, send a 503 status with a Retry-After header, so search engines know it's temporary and don't drop pages. Don't use a 200 or 404 for a maintenance screen.

### 403

Say why, if you safely can: "You need to log in to see this page", with a login link.

### Checkout and form errors

Inline errors deserve the same care: say what went wrong and how to fix it, next to the field. "Invalid input" isn't help.

## A small design checklist

- Clear headline in plain words.

- One short, friendly sentence.

- Search box.

- Three to six useful links.

- Same header and footer as the rest of the site.

- Correct 404 status code.

- Loads fast on mobile.

- Tracked, so you can see what people hit.

## For different platforms

- WordPress: your theme usually has a 404 template, editable in the theme or block editor. Check how it renders and that it keeps the menu.

- Shopify: the 404 page is part of the theme and can be customised in the theme editor or code.

- Builders: most have a dedicated 404 page setting.

## Key takeaways

- A good error page is plain, on-brand, helpful and fast.

- It must return the right status code.

- Don't send every missing URL to the homepage.

- Use 404 reports to find broken links and missed redirects.

- Maintenance should use 503, not 200.

## Related reading

- HTTP status codes explained: 200, 301, 404, 500

- Status pages for small businesses

- Status pages and outages: how big platforms tell you they are broken

Type a made-up address on your own site right now. Would you stay if you landed there?

---

From Ekom (https://ekom.blog/). More: https://ekom.blog/llms.txt
