404 PAGESFor visitors and for GoogleEvery website gets requests for pages that don't exist: an old newsletter link, a mistyped URL, a service page deleted in a redesign. The HTTP status code tells Google whether the page exists, and the page itself tells the visitor where to go. Many sites get one of them wrong.
Which status code should a missing page return?
Return 404 (Not Found), or 410 (Gone) when you removed the page on purpose for good. MDN explains that a 404 says only that the resource is missing, not whether that is temporary or permanent, while a 410 means it is likely permanent. If you aren't sure, use 404.
For Google the difference is small: Search Console Help says Google currently treats a 410 the same as a 404. Google doesn't index URLs that return a 4xx code, and it removes indexed pages that start returning one.
What is a soft 404?
A soft 404 is a missing page that doesn't return a 404 or 410, most often a "not found" message sent with a 200 success code. Google's status code documentation says that when a 2xx page looks like an error message or is empty, Search Console reports it as a soft 404.
The fix is the code, not a plainer page. Google has said you can serve any content you like with a 404, so your branded page can keep its design. A custom design served with a 200 code is a common cause.
In single-page apps with client-side routing, the right status code can be impractical to send. Google's JavaScript SEO guide gives two fixes: redirect with JavaScript to a URL where the server returns a real 404, such as /not-found, or add a robots noindex tag to the error view:
<meta name="robots" content="noindex">Should missing pages redirect to the homepage?
No. Search Console Help names redirecting visitors to another page, such as the homepage, instead of returning a 404 as a soft 404 pattern that can confuse users and search engines. The visitor wanted something specific and gets a generic page.
Redirect a URL only when its content moved to an equivalent page: a renamed service, a merged article, a product replaced by its successor. Google also suggests redirecting common misspellings of a real URL. Everything else should return 404 or 410 and stay crawlable, because Google only sees a 404 on a URL that robots.txt lets it fetch. For choosing the code, see which redirect to use when.
What should a helpful 404 page show?
Enough to get the visitor to the right page in one click. We build ours from five parts:
- A plain message: the page isn't here, it may have moved or the link may be mistyped. Keep it friendly, with no blame.
- Search, if the site has it.
- Links to the main sections or your top services.
- A contact route, for the buyer who followed an old link in an email.
- Your usual header and footer.
Keep it on brand and keep it light. MDN's advice is custom 404 design in moderation: be human, but don't confuse people. Skip autoplay video, heavy animation and large images. Webflow enforces a similar idea: Collection lists aren't allowed on the 404 page, so it still works if the CMS is down.
In Webflow the 404 page sits under Utility Pages in the Pages panel. In Framer you add one with + in the Pages panel and New 404 Page. WordPress themes use a 404 template: 404.html in a block theme, 404.php in a classic one. After publishing, run a live URL Inspection test in Search Console on a made-up URL: Page fetch should report a Not found (404) failure, not Successful.
How do you find the broken URLs worth fixing?
Start with the Page indexing report in Search Console and open the Not found (404) reason, which lists URLs that returned a 404 in the past month. In general, Google recommends fixing only the 404s you link to yourself or list in a sitemap.
Then give the 404 page a distinct title, such as "Page not found", and filter your analytics by it to see which URLs and referring pages lead there. For each one:
- Fix the internal link so it points straight at the live page, not at a redirect.
- If the content moved, redirect the old URL to its new home.
- If the page is gone with no equivalent, keep the 404 or 410 and take it out of your sitemap.
- Leave URLs that never existed alone, unless one is a common misspelling of a real page.
Do 404 errors hurt the rest of the site?
Not in general. Search Console Help says that, in general, 404 errors won't affect your site's search performance, and that you can ignore them when you are sure those URLs shouldn't exist. Google's status code documentation adds that 4xx codes other than 429 have no effect on crawl rate.
The real cost is narrower. A page that should exist but returns 404, such as a service page lost in a redesign, drops out of the index along with its search traffic. Treat those as urgent.
Where to start
Open a made-up URL on your site and ask whether the page helps a visitor move on, then confirm it returns a real 404. Next, fix the internal links behind the Not found (404) report. For a check of status codes, redirects and broken links across the site, start with a website review or see our SEO and AI search service.
FAQ
Frequently asked questions
Can a 404 page show up in Google search results?
Not if it returns a real 404. Google ignores the content of URLs that return 4xx codes and doesn't index them. If your "page not found" design appears in search results, or Search Console lists the URL as a soft 404, the server is most likely sending a success code with it. Check the response code before you change the design.
Does our 404 page need a noindex tag?
Usually not. A page served with a real 404 code isn't indexed, so a noindex tag adds nothing. It matters when the server can't send a 404 for each missing route, as in many single-page apps; Google's JavaScript guidance lists a robots noindex tag on the error view as one of two ways to avoid a soft 404 there.
Will Google keep crawling pages we deleted?
For a while, yes. Google keeps recrawling known URLs after they start returning 4xx codes, in case the error is temporary, and crawls them less and less often over time. There is no way to tell Google to forget a URL for good, and you don't need one: a steady 404 or 410 is the correct long-term answer.
Do 404s caused by spam or scraper links matter?
Generally not. Google has said you don't need to worry about broken links from sites that scrape you or link to you in odd ways, since you can't control them. URLs that never existed on your site can usually be ignored too, unless one is a common misspelling of a real page, which is worth redirecting.
Is a humorous 404 page a good idea?
It can be, as long as the message stays clear. MDN's guidance is that custom 404 design works in moderation: be human, but don't leave visitors unsure why they are seeing something unexpected. Put the plain explanation and the useful links first, and keep any joke short enough that it doesn't get in the way.


