Contents
A 404 page (a nonexistent URL), an empty cart, no search results and a filter with no products are "empty states" — moments when the site doesn't have what the user came for. A well-designed empty state says what happened, offers 2–3 specific ways forward (search, bestsellers, contact) and keeps the tone of the site. A poorly designed one — meaning the default — is a server message and an exit. For a store, empty states account for a few percent of sessions; for SEO, they're a signal of how many links lead nowhere.
Thesis: an empty state isn't an error — it's a user's decision that you need to handle
The user on a 404 page did nothing wrong. They clicked a Google link that stopped working after a migration; typed in a URL from a flyer with a typo; returned to a bookmark from a month ago. Showing them "404 Not Found" in white text on a white background is like saying: "your problem." And they have other tabs open.
The same goes for an empty cart ("Your cart is empty." — and nothing more) and for "No results" after typing "puppy food" in a store that carries junior food.
7 rules for every empty state
- Say what happened — in plain language. "This page doesn't exist. It may have changed its URL, or there's a typo in the link." Not "Error 404."
- Offer 2–3 ways forward, not 20. Search, a link to the most important categories, contact.
- Keep the site header and footer. The user must not fall out of the site.
- Keep the brand tone. A joke if the brand jokes; a matter-of-fact tone if it's matter-of-fact. An empty state is still your site.
- Don't blame the user. "Invalid address" sounds like an accusation. "We couldn't find this page" doesn't.
- Measure. Every empty state is an analytics event.
- Design mobile-first — most 404s from Google come from phones.
404 page — elements and copy
| Element | What |
|---|---|
| Header | "This page doesn't exist" / "We lost this page" |
| One sentence of explanation | "The address may have changed, or there's a typo in the link." |
| Search engine | Focused on the field, ready for typing |
| 3–5 links | Home page, key services/categories, contact, blog |
| Contact | Phone and email — clickable |
| HTTP response code | 404, not 200 (more on that below) |
Sample text for a service company:
This page doesn't exist — but we do. The address may have changed, or there's a typo in the link. Check whether what you're looking for is here: [websites] · [WooCommerce stores] · [SEO] · [contact]. Or type a keyword into the search box below.
For a store: the same, plus bestsellers (4–6 products) and a link to current deals.
SEO and 404 errors — three things you need to know
- A 404 must return a 404 status code, not 200. A "not found" page with a 200 status (a "soft 404") is a duplicate indexed by Google. You can check it in your browser's developer tools (Network tab → status) or in Search Console.
- Don't redirect all 404s to the home page. Google treats this as a soft 404, and users get confused. Use a 301 redirect only where an equivalent exists (old product URL → new product URL). We cover the rules for choosing between canonical, noindex and 301 in a separate article in this series (October 24).
- Search Console → Page indexing → "Not found (404)" — a list of URLs that have links pointing to them. Every one with an internal link is an error to fix; one with an external link is a candidate for a 301 if the content has an equivalent. More context in SEO audit.
During migrations, 404s are the main source of losses — we write about this in the article on migrating to WordPress without losing SEO.
Empty states in an online store — four cases
Empty cart
Default: "Your cart is empty. Return to shop." Better: "Your cart is empty — start with what others are buying" + 4 bestsellers + a link to recently viewed items (if any). For logged-in users: "you recently bought…".
No search results
The costliest empty state in a store: the customer knew what they wanted and couldn't find it. Three things: – Suggestions: "You searched for 'puppy food' — maybe you mean: junior food, food for young dogs." Synonyms are configured in the store's search engine. – Closest categories instead of an empty page. – Search query logging — a list of "searched, not found" terms is the best source of ideas for your product range and synonyms.
Filter with no products
"No products match your criteria." Instead: show which filter narrowed results to zero, along with a "remove this filter" button. Even better — don't let users select values that return zero results; the rules are in the article on product filters.
Product unavailable
This isn't a 404 — the page exists. Show: "temporarily unavailable" + a back-in-stock notification (email) + similar products. For a permanently discontinued product: a 301 to the category or a successor, not deleting the page.
Empty states on a company website
- Empty blog category — don't publish categories without posts; if one must exist: "Coming soon — in the meantime, check out…".
- No case studies in an industry — "We don't have a project in this industry yet, but these three are the closest."
- Form submitted — this is a "full" state, but it's often designed like an empty one: "Sent." Better: what happens next, when, and who will reply — as in the article on the contact form.
Measurement
In GA4: an event page_view with a title containing "404" — a report of 404 pages with their URLs; an event for searches with no results (view_search_results with a result count of 0) and for an empty cart. Once a month: the 10 most frequent 404 URLs (fix the links) and the 10 most frequent queries with no results (synonyms, product range).
From our experience
With every project, we design the 404 page and the store's empty states as part of the build — we don't leave the theme defaults. It's 2 hours of work that affects a few percent of sessions.
We design empty states as part of website design i stores — together with the measurement that shows whether they work.
FAQ — 404 page and empty states
A 404 page alone doesn't — it's a normal state. What hurts are internal links leading to 404s (wasted crawl budget, a bad signal), soft 404s (a "not found" page with a 200 status) and mass redirects of 404s to the home page.
No. Google treats this as a soft 404, and users don't understand why they ended up on the homepage. Use 301 redirects only for URLs that have a real equivalent (a new URL for the same content). All others should return a true 404 with a helpful page.
Suggestions with synonyms, the closest categories, bestsellers and a way to get in touch. Save the query — a list of searches with no results is the best source of information about missing products and missing synonyms in your search configuration.
Author: Adrian Kamiński — Websky Studio, Poznań. Website and store design — with well-designed empty states, because that's where users are closest to leaving.
Your feedback
Was this article helpful?
One click — it helps me choose future topics.

