Article

404 Page Design: What a Good Error Page Needs in 2026

What a 404 page should say and link to, why it must return a real 404 status code, and how to build and test one in Framer, Webflow, Next.js and Astro.

Good 404 page design tells visitors plainly that the page can't be found, keeps your normal header and footer, and offers a few clear ways forward: the home page, popular pages, search and a contact link. The page must also return a real 404 status code, not a 200.

What Is a 404 Page?

A 404 page is what your site shows when someone requests a URL that does not exist. The name comes from the HTTP status code 404 Not Found, which, as MDN's reference for the 404 status explains, means the server cannot find the requested resource. The usual causes are mistyped URLs and pages that were moved or deleted without a redirect.

Visitors meet your 404 page more often than you might think: an old link in a newsletter, a renamed blog post, a typo in a shared URL. The page can either end the visit or send it somewhere useful. That makes it a small design job with a real payoff, and it belongs on any website launch checklist alongside redirects and the sitemap.

A 404 says only that the page is missing, without saying whether that is temporary or permanent. MDN notes that a server should send 410 Gone when a resource has been removed for good. Most sites use one designed page for both cases.

What Should a 404 Page Include?

A useful 404 page explains the error, suggests why it happened, and gives the visitor actions to take next. The U.S. Web Design System's 404 page template breaks this into six parts, and Google's guidance on custom 404 pages covers the same ground from a search point of view.

Element

What it does

Example

Heading

Names the problem in plain words

"Page not found"

Lead text

Says what probably happened

"The link may be broken, or the page may have moved."

Ways to fix it

Tells people what they can try

Check the address, or search the site

Actions

Buttons or links to the next step

Back to home, Browse templates, Read the blog

Support channels

Somewhere to go if they are stuck

Contact page, email address, help centre

Error code

Small print for people who report problems

"Error code: 404"

Google's own tips add three points worth keeping. Make the 404 page look like the rest of the site, including the navigation. Consider links to your most popular pages as well as the home page. And think about giving people a way to report the broken link, so you can fix it at the source.

Keep your normal website header and footer on the page. A visitor who lands on a 404 has already lost their path; the menu and the footer links are the quickest way back to it. A bare page with one line of text and no navigation is the most common 404 mistake.

How to Write the 404 Message

Write the message in plain, friendly language that says what went wrong and what to do next, in two or three short lines. The USWDS guidance points out that a 404 can be frustrating or confusing, and that straightforward wording helps. Humour is fine if it suits your brand, but the facts come first.

Do

Avoid

Say "We can't find that page" in the heading

Only showing "404" with no explanation

Suggest a likely cause: a typo, a moved or deleted page

Blaming the visitor ("You typed the wrong address")

Offer two to four links that match what people usually look for

A wall of every link on the site

Add a search box if the site has search

A search box that returns its own error

Keep the joke short and on-brand, if you use one

A joke with no way out of the page

Use the same words as your navigation ("Pricing", "Templates")

Internal jargon or technical stack traces

Pick the links for your own visitors. A shop should link its main categories and the cart; a SaaS site its pricing, docs and sign-in; a portfolio its work and contact pages. If your analytics show which pages people looked for before hitting the 404, link those.

Real 404 vs Soft 404: Why the Status Code Matters

Your 404 page must return the HTTP status code 404 (or 410), not 200. Google calls a "not found" page served with a 200 status a soft 404. Its soft 404 guidance says such pages are a bad experience and are excluded from Search, and they appear as soft 404 errors in Search Console.

With a real 404, Google knows the page is gone. Its documentation on HTTP status codes says Google does not index URLs that return a 4xx code, and removes already-indexed URLs that start returning one. Google's guidance is to use each code for what it means:

  • Page removed, no replacement: return 404 or 410, and show your designed 404 page.
  • Page moved, or a clear replacement exists: use a 301 permanent redirect to the new URL.
  • Page still exists but was flagged as a soft 404: check it with the URL Inspection tool in Search Console; Google says blank pages, missing resources or a prominent error message during rendering can cause the flag.

Single-page apps need extra care, because client-side routing often can't send a status code. Google's JavaScript SEO basics suggests either a JavaScript redirect to a URL that returns a 404 from the server, such as /not-found, or adding a robots noindex meta tag to the error view. Our Framer SEO guide covers the rest of the technical checklist.

How to Set Up a 404 Page in Framer, Webflow, Next.js and Astro

Every major site builder and framework has a built-in place for a custom 404 page, and in each case the page you design replaces the platform's default error page. Here is where to find it, from each platform's own documentation, checked on 24 November 2026.

Platform

Where the 404 page lives

Worth knowing

Framer

Pages panel → + → New 404 Page (Framer help)

Framer assigns the new page as the site's 404 automatically

Webflow

Pages panel → Utility Pages → 404 (Webflow help)

You can't add Collection lists to a 404 page, so it works even if the CMS is down

Next.js (App Router)

app/not-found.js, or global-not-found.js for unmatched routes (Next.js docs)

Returns 404 before streaming starts; after streaming starts the status stays 200. Next.js adds a robots noindex tag in both cases

Astro

src/pages/404.astro or 404.md (Astro docs)

Builds to 404.html, which most hosts pick up automatically

Webflow's help article adds a tip that applies everywhere: when you delete a page or change its URL, set a 301 redirect from the old address. That keeps visitors and search engines off the 404 page in the first place. If you are new to either builder, our Webflow tutorial walks through the Pages panel and redirects.

How to Test and Maintain Your 404 Page

Test the page by visiting a URL on your live domain that can't exist, such as /this-page-does-not-exist, and confirm two things: your designed page appears, and the response status is 404. Framer's and Webflow's help articles both describe this test.

  1. Open a made-up URL on the published site and check that your custom page shows, with the header, footer and links working.
  2. Check the status code in your browser's developer tools (Network tab), or with a command-line request. It should read 404, not 200.
  3. Run the URL through the URL Inspection tool in Google Search Console to see the status Google receives.
  4. Look at the Page Indexing report every month or so for "Not found (404)" and "Soft 404" entries, and fix internal links that point to missing pages.
  5. Whenever you rename or delete a page, add a 301 redirect for the old URL if there is a sensible new home for it.

A spike in 404s usually means a broken link somewhere you control, such as a navigation item, an email campaign or an old post. Fixing the link is better than relying on the 404 page to catch every visitor.

404 Page Examples From Waida Studio Templates

These are four of our own Waida Studio templates, so treat them as examples from the people who made them. On 24 November 2026 we requested a made-up URL on each template's live preview; all four returned a real 404 status and showed a designed page rather than a default error.

medonix feature

Medonix, a medical SaaS template, keeps its whole header and footer on the 404 page. The message reads "404 Not Found" with one line of explanation and a Return Home button, and the footer underneath lists main pages, inner pages and utility pages, so a lost visitor has a dozen ways back. Medonix is free on every platform, including the Figma file.

Check out Medonix template

Zelda: Big Type, One Clear Action

Zelda — Dark Design Agency Template preview

Zelda, a dark design-agency template, sets "PAGE NOT FOUND" in the same oversized type as its other headings, with a single Back to Homepage button and the full footer of quick links and social links below. It shows how a 404 page can stay on-brand without saying much. Zelda is also free everywhere, Figma file included.

Check out Zelda template

Avande: A Message That Explains the Cause

avande feature image

Avande, an AI automation agency template, follows the heading with a short reason: the link may be broken, or the page may have been removed. That one line answers the visitor's first question before the Back to Home button. Avande is free on Framer, $99 on Webflow, $39 as HTML and $49 for Next.js or Astro.

Check out Avande template

Finos: A Real 404 Plus a Noindex Tag

finos feature image

Finos, a personal finance template, keeps its 404 page minimal: "Page Not Found", one sentence and a Back to Home button. The Astro version returns a 404 status and also carries a robots noindex tag, so the error page has no chance of being indexed. Finos is free on Framer, $59 on Webflow, $39 as HTML and $49 for Next.js or Astro.

Check out Finos template

Templates to start from

All 46 templates

Frequently asked questions

What should a 404 page say?

A 404 page should say plainly that the page can't be found, suggest why (a typo, or a moved or deleted page), and offer next steps: a link to the home page, a few popular pages, search if the site has it, and a way to contact you.

What is a soft 404?

A soft 404 is a "page not found" message served with a 200 success status instead of a 404. Google excludes these pages from Search and reports them as soft 404 errors in Search Console's Page Indexing report.

Should I redirect all 404 errors to the home page?

No. Google's guidance is to use a 301 redirect only when a page has moved or has a clear replacement. For pages that are gone with no replacement, return a 404 or 410 status and show a helpful custom 404 page.

Do 404 errors hurt SEO?

Google says 404 responses are not necessarily a problem when a page was removed without a replacement; such URLs are simply dropped from the index. Problems come from broken internal links, moved pages without redirects, and soft 404s.

How do I test my 404 page?

Visit a URL on your live site that can't exist, such as /this-page-does-not-exist. Check that your designed page appears, then confirm the status code is 404 in the browser's Network tab or with Search Console's URL Inspection tool.

Do Waida Studio templates include a 404 page?

The four Waida templates checked for this guide, Medonix, Zelda, Avande and Finos, each serve a designed 404 page with a real 404 status on their live previews. Check a template's live preview before you buy if a 404 page matters to you.

A good 404 page does three jobs: it admits the page is missing in plain words, keeps the site's navigation in place, and offers a few useful next steps. Under the design, it must return a real 404 or 410 status, with 301 redirects for anything that has simply moved. Test it with a made-up URL after every launch.

If you would rather start with the 404 page already designed, every one of our Framer templates is free with a free Waida account, and the code versions start at $39. Paid Webflow versions range from $59 to $129, and Zelda and Medonix are free on every platform.

Kazi Mohammed EhsanFounder of Waida Studio

More from Kazi

Related articles

More in Design Craft