Site SEO AI Auditod Internet Solutions

Custom 404 Pages: What a Helpful Not Found Page Needs

30. září 2026Čtení: 8 minTechnické SEO
Custom 404 Pages: What a Helpful Not Found Page Needs

Short answer: A custom 404 page should do two things at once: return an HTTP 404 (or 410) status code so search engines know the page does not exist, and help the human visitor continue with a clear message, a search box, navigation and links to key pages. Do not redirect missing URLs to the home page and do not serve the error page with a 200 status, because both create soft 404s. Test the status code directly and track which URLs land on the page.

What a 404 page is for

Every website has missing URLs. Pages get deleted, products are discontinued, people mistype addresses and other sites link to URLs that never existed. A 404 response is the correct and normal way to say “there is nothing here”. Search engines expect it, and a reasonable number of 404s does not harm a site’s rankings.

The error page therefore has two audiences with different needs:

Most 404 problems come from mixing these up: making the page friendlier for users by changing the status code, or satisfying crawlers with a bare server error page that loses every visitor.

Get the status code right first

The single most important technical detail is that the response to a missing URL has status 404 (Not Found) or 410 (Gone). The page content can be anything you like. Our overview of HTTP status codes for SEO explains the wider family of codes.

Setup Status returned Result
Custom error page served for missing URLs 404 Correct
Deliberately removed page 410 Correct, states removal is intentional
Error page shown but status is 200 200 Soft 404, missing pages may be indexed
All missing URLs redirected to home page 301 then 200 Usually treated as soft 404, confusing for users
Missing URLs redirected to /404/ page 302 then 404 Works poorly, loses the original URL in the address bar

The last row is a common legacy setup. Serve the error page directly at the requested URL instead, so the visitor still sees the address they typed and can correct it. The soft 404 guide covers how search engines detect the problematic variants.

How to set it up on common platforms

Most platforms already return a proper 404; the work is in the template, not the server.

E-commerce and CMS plugins sometimes add their own “helpful” behaviour, such as automatically redirecting missing URLs to a guessed match. Check what yours does, because guesses are often wrong.

What to put on the page

A helpful 404 page is short. Its job is to get the visitor moving again within a few seconds.

  1. A plain message such as “We can’t find that page”. Avoid technical jargon and avoid blaming the visitor.
  2. Your normal header and navigation, so the page feels like part of the site and every main section is one click away.
  3. A search box, ideally pre-filled with words from the requested URL when that is easy to do.
  4. A few key links: popular categories or services, the blog, pricing and contact. Choose based on what visitors most often want.
  5. A way to report a broken link, if you have the capacity to act on reports.

Humour and illustrations are fine if they match your brand, but they should not push the useful elements below the fold on mobile.

Adapting the page to your type of site

The best links to offer depend on why people usually arrive at a missing URL on your site.

Whatever you choose, keep the list short. Five well-chosen links help more than a full sitemap on the error page.

Technical details that are easy to miss

How to test your 404 setup

Do not trust the browser alone, because it shows the page content but not the status code. Test like this:

  1. Request a URL that certainly does not exist, such as /this-page-should-not-exist-123/, with a tool that shows headers, for example curl -I or your browser’s developer tools on the Network tab.
  2. Confirm the first response is 404 or 410, with no redirect before it.
  3. Repeat with a missing URL in each main section: a blog post, a product, a category and a language folder, because different templates can behave differently.
  4. Use the URL Inspection tool in Search Console on one missing URL to see how Google reads the response.
  5. Check that a mistyped parameter on a real page, such as a wrong product ID, also returns 404 rather than an empty 200 template.

Use the 404 page as a data source

The error page tells you where visitors get lost. Give it a distinctive page title so it is easy to filter in analytics, and review the requested paths regularly.

This review is where redirects belong: selectively, for URLs with a clear successor, as explained in 301 vs 302 redirects. Everything else can stay a 404.

How Site SEO AI Audit helps

Site SEO AI Audit crawls your site the way a search engine does and records the status code of every URL it reaches. It reports broken internal and external links, links that go to redirects, redirect chains and pages that return errors, so you can see where your own site sends visitors to a 404. It checks status codes and links; it does not judge how your error page looks. You can run a free audit of your website to see the current state.

Related reading

The bottom line

A good 404 page returns a real 404 or 410 status and helps visitors continue with navigation, search and a few key links. Avoid soft 404s from 200 responses and blanket redirects to the home page. Test the status code with a header tool, keep the page light and localised, and use the list of requested URLs to fix broken links and redirect only what has a clear successor.

FAQ

Do 404 errors hurt SEO?

No, not in themselves. Search engines expect missing pages and simply drop them from the index. Problems arise when important pages return 404 by mistake or when internal links point to missing URLs.

Should I redirect 404 pages to the home page?

Generally no. Search engines usually treat such redirects as soft 404s, and visitors do not find what they wanted. Redirect only URLs that have a clearly relevant replacement.

What is the difference between 404 and 410?

A 404 means the page was not found, while 410 means it was removed on purpose and will not return. Both lead to removal from the index, and 410 may be processed slightly faster.

Should my 404 page have a noindex tag?

If it returns a real 404 status, a noindex tag is unnecessary because error responses are not indexed. It can help as a safety net on JavaScript sites where the server returns 200 for every route.

How can I check the status code of my 404 page?

Request a non-existent URL with curl -I or look at the Network tab in browser developer tools. The first response should show 404 or 410 without any redirect.

#Crawling#Status codes#Technical SEO
Zkontrolujte svůj web — zdarma.Každý SEO problém na vašem webu — a přesně jak ho opravit.
Začít zdarma

Další z blogu

Všechny články →
Internet Solutions

Další od našeho týmu

Vytvořilo Internet Solutions. Vyzkoušejte i naše další produkty — každý vám ušetří čas jiným způsobem.

internet-solutions.net ↗
Site SEO AI Audit
Přehled soukromí

Tento web používá cookies, abychom vám mohli poskytnout co nejlepší uživatelský zážitek. Informace z cookies se ukládají ve vašem prohlížeči a slouží například k tomu, aby vás web při návratu poznal a náš tým viděl, které části webu jsou pro vás nejzajímavější a nejužitečnější.