404 and soft 404 errors in Google: what to do with pages that do not exist
A 404 will not penalize you, but a soft 404 gets in the way. Learn to tell them apart, when to redirect and how to build a useful 404 page on your site.
You delete an expired promotion from your site and, weeks later, Search Console shows you a list of errors that keeps you up at night. Are you being punished for it? Almost never, but there is one case worth fixing.
Does a 404 error hurt my rankings?
No: a 404 on a page that truly no longer exists is normal and Google does not penalize it. According to the Google Search Central guide on crawling errors, returning 404 or 410 for pages that no longer exist, or never existed, is expected: it does not trigger a manual action, does not harm indexing or the ranking of the rest of the site, and known 404 URLs do not use up crawl budget in any meaningful way.
What does matter is that the 404 is not a link you yourself keep using in your ads or your business profile. If you changed an address, the fix is in the guide to 301 redirects on Cloudflare Pages.

What is a soft 404?
It is a URL that shows the visitor a “not found” message but answers the browser with a 200 code, which means success. Google's documentation explains that when its algorithms detect that the content belongs to an error page, or that the page has no main content, Search Console reports it as a soft 404.
The problem is the contradiction: the server says “all good” and the page says “there is nothing here”. Google reads that as a configuration error, and that URL is not indexed the way you expected. We cover it alongside other statuses in the guide to pages not indexed in Search Console.
How do 404, 410 and soft 404 differ?
404 and 410 tell Google the content does not exist; a soft 404 says the opposite with the code and contradicts it with the text. According to Google's documentation on HTTP codes, all 4xx errors except 429 are treated the same: the indexing system removes the URL if it was indexed, and the crawl frequency drops over time.
| Situation | Server code | What Google does |
|---|---|---|
| Page deleted, no replacement | 404 o 410 | Removes it from the index and crawls it less and less |
| Page moved | 301 to the new destination | Follows the redirect |
| Error message with a 200 code | 200 (soft 404) | Flags it as a soft 404 in Search Console |
| Page with empty content | 200 | May flag it as a soft 404 |
For indexing, 404 and 410 are equivalent. Google clarifies that a 410 generally leads to less frequent crawling.
How do I fix a soft 404?
It depends on what happened to the page: if the content no longer exists, return 404 or 410; if it moved, use a 301; if it still exists, check why Google sees it as empty. Those are the three ways out that Google recommends. In the last case, the URL Inspection tool in Search Console shows whether there are blocked resources or errors when rendering.
Common mistake: redirecting every deleted page to the home page so you “do not lose visits”. Google says you should only redirect when an equivalent page exists, and that sending removed pages to an unrelated one, such as the home page, is treated as a soft 404.
Before deciding, check in Search Console which pages were getting clicks, as we explain in the guide to the performance report.

What should a good 404 page look like?
It should tell the visitor clearly that the page does not exist, keep the site's design and navigation, and offer a search or links to the most popular content. Google insists these pages are for people, not for the search engine. And even with their own design, the server must keep responding with a 404 code.
On Cloudflare Pages this is solved with a file. According to the Cloudflare documentation, if you create a 404.html, Pages shows it when it cannot find the requested file, and one at the root turns off the fallback to index.html. Without that file, a nonexistent route can respond 200 with the home page in a single-page application setup, which is exactly a soft 404.
Heads up: after creating your 404 page, open a made-up address on your site and check the status code in the browser's Network tab. If you see 200, you have a soft 404 caused by configuration.
In short
That list of errors in Search Console is almost never a punishment: a real 404 is normal. What you should hunt down are soft 404s and your own broken links, and fix them with 404, 410 or 301 depending on the case. If you want us to review your site and get it in order, check out our SEO and AI search visibility service.
Frequently asked questions
Do 404 errors lower my Google rankings?
Not on their own. According to Google Search Central, returning 404 or 410 for pages that no longer exist is expected and does not affect indexing or the ranking of the rest of the site.
What is a soft 404?
It is a URL that shows the user a page-not-found message, but the server responds with a 200 success code. Search Console reports it as a soft 404.
Should I redirect all deleted pages to the home page?
No. Google says you should only redirect when an equivalent page exists. Sending removed pages to an unrelated page, such as the home page, is treated as a soft 404.
Is a 404 or a 410 better?
For indexing, Google treats them the same. According to its documentation, a 410 generally leads to less frequent crawling of that URL.
Should my custom 404 page return a 404 code?
Yes. Even with its own design, the server must respond 404 so the page is not indexed. On Cloudflare Pages, a 404.html file at the project root is served for routes that do not exist.
Do not stop at the theory: apply it to your business
We implement SEO and GEO with AI end to end, with your real operation. The first conversation is free.




