Glossary · Technical SEO
404 Error: What It Means and How to Fix It for SEO
A 404 means the server could not find the page. Whether that is a problem depends on why it happened, and many 404s are perfectly fine.
A 404 error is an HTTP status code that means the server is working but cannot find the page at that address. Visitors see a not found message. Search engines drop the URL from their index over time, so a 404 on a page that should exist costs you traffic.
Key Takeaways
- A 404 is not a penalty. Google treats a genuine 404 as a page that is gone and stops indexing it.
- The harm comes from 404s on pages that earn links or traffic, and from soft 404s, which return a success code with an error message.
- Fix the important ones with a 301 redirect to the closest matching page. Never redirect everything to the homepage.
- Ahrefs found at least 66.5% of links to sites from the last nine years are dead, so check your inbound links regularly.
Someone emails you a screenshot. The page they wanted says Not Found. They are polite about it, but you can tell they are a little annoyed, and you wonder how long it has been like that.
Most 404 advice is either panic or shrug. The honest answer sits in the middle, and it starts with knowing which of your 404s matter.
What a 404 actually tells a search engine
Every web request gets a three-digit answer. A 200 means here is the page. A 301 means it moved for good. A 404 means the server looked and found nothing at that address. The IANA registry and MDN document these codes, and RFC 9110 defines them as part of the HTTP standard.
Google's documentation on HTTP status codes says 404 and 410 are both treated as a sign the page is gone. Google may recheck a 404 for a while in case it was a mistake, then slows down and drops the URL. That is healthy. Old products, expired events and deleted drafts should disappear from search results.
The trouble starts when a page that should exist returns 404, or when a page with real links and traffic dies without a redirect. Then the equity those links carried goes nowhere, which is why this entry sits close to link equity in how we think about it.
Soft 404s: the version that fools you
A soft 404 is a page that looks like an error to a human but returns a 200 OK to the server. Think of an empty search results page that says Nothing found, or a product page with the stock removed and a generic message left behind. Google flags these in Search Console because they confuse crawling: the server claims success, yet the page has no value.
Single-page apps cause many soft 404s. The framework loads a shell, shows a not found view with JavaScript and still returns 200. Google's JavaScript SEO guidance tells developers to avoid this by returning a real 404 status or by redirecting to a URL that does. If your site is built this way, our JavaScript SEO entry covers the wider rendering picture.
Quick test: open a made-up address on your site, such as /this-page-does-not-exist. If your browser's network tab shows 404, good. If it shows 200 with an error message, you have a soft 404 problem site-wide.
Lost traffic after a redesign?
Share your old and new URLs and we will check where redirects are missing.
Which 404s to fix and which to leave
Triage saves hours. Pull the 404 URLs from Search Console, your server logs or a crawler, then sort them by what they used to earn. A URL with backlinks or past organic traffic gets a fix. A random typo from a bot gets ignored.
| Situation | Best response | Why |
|---|---|---|
| Page moved to a new URL | 301 redirect to the new page | Passes visitors and link credit |
| Product discontinued, close substitute exists | 301 to the substitute or category | Keeps the visitor in the buying path |
| Page deleted, no replacement, no links | Leave the 404 or return 410 | Clean signal that it is gone |
| Internal link points to a dead URL | Edit the link at the source | No redirect chain needed |
| Old URL with strong backlinks | 301 to the closest relevant page | Reclaims the credit |
301 is a strong signal and 302 a weak one in Google's documentation, so use 301 when the move is permanent.
One habit to drop: redirecting every dead URL to the homepage. Google may treat bulk redirects to an irrelevant page as soft 404s, and visitors who land on your homepage after clicking a specific article feel misled.
What a stray 404 costs a business
It helps to translate the status code into money. Suppose an old guide earns twenty visits a day from search and has attracted links from a few trade sites. The day someone renames the URL without a redirect, those visits stop and the links lead nowhere. The guide still exists, but Google cannot connect the new address to the old reputation.
Customers feel it differently. A shopper clicking a saved link to a product and landing on a dead page rarely searches again for your store. They go to a competitor. That is why we treat 404 checks as part of conversion work too, and why the CRO service and the SEO service share the same audit step.
Notes by platform
On WordPress, redirect plugins make 301s easy, but long lists slow the site, so retire redirects for pages with no links or traffic after a year. On Shopify, deleting a product leaves a dead URL unless you add a redirect in the admin. On a custom or JavaScript framework, confirm the server really sends status 404 for unknown routes. A quick way is to run curl -I against a made-up path and read the first line of the response.
After a domain or platform migration, keep a spreadsheet with three columns: old URL, new URL and status after launch. Spot-check fifty URLs by hand. It is dull work and it saves the quarter.
Design a 404 page people do not hate
Even a correct 404 should help. The best ones keep the site header, say plainly that the page was not found and offer three things: a search box, links to your top categories and a way to reach a human. A little warmth is fine. A pun that hides the next step is not.
Make sure the page itself returns the 404 status. Many themes show a friendly design with a 200 code, which brings us back to the soft 404 problem. A good custom 404 page also carries a noindex-free, simple layout, because search engines should see the status code, not a stylized page that hides it.
Track what people search for from that page. If forty visitors in a month type the same missing product name, you have found demand you were not serving.
Finding and fixing 404s in three passes
- Collect. Export the Pages report from Google Search Console, filter for Not found (404), and crawl the site with a tool like Screaming Frog to catch internal broken links.
- Prioritize. Add backlink counts from your link tool. Anything with referring domains or past clicks goes to the top.
- Repair and verify. Fix internal links at the source, add 301 redirects for the rest, then re-crawl and confirm no chains longer than one hop.
Run this quarterly on a small site and monthly after a redesign or migration. It is the cheapest SEO insurance there is, and it is the first thing our monthly website audit checks.
Common mistakes
Letting a CMS auto-redirect every missing slug to the homepage. Treating the Not found count in Search Console as a penalty and chasing it to zero. Forgetting that 5xx errors are different: Google's documentation says server errors and 429 responses slow crawling and are eventually dropped, which is a far more urgent problem than a few 404s.
The last mistake is skipping the check after a launch. A redesign with new URL patterns and no redirect map is the classic way sites lose a third of their traffic in a week. Build the map first, test it on staging, and keep it live for at least a year.
FAQ
404 Error: questions people ask
Do 404 errors hurt SEO?
A genuine 404 does not hurt rankings on its own. Harm comes from important pages returning 404, lost link credit and soft 404s. Fix those and leave the rest.
Should I redirect all 404s to my homepage?
No. Redirect each URL to the closest relevant page. Bulk redirects to an unrelated page confuse visitors and can be treated as soft 404s.
What is the difference between a 404 and a 410?
A 404 says the page was not found. A 410 says it is gone for good. Google's documentation treats both as gone.
How long does Google keep a 404 URL?
Google may recheck it a few times, then slows crawling and drops it from the index. There is no fixed number of days.
How do I find 404 errors on my site?
Use the Pages report in Google Search Console, a site crawler for internal links and your server logs for what bots and visitors actually request.
Want every dead URL with links found and fixed?
Our monthly audit catches broken pages before visitors or search engines do.
How we wrote this page
Chenthil Kumar wrote this entry from the sources listed below and from audit work on client sites, and the Digimarketlabs Editorial Team checked it against our editorial guidelines. Figures carry a source and a date, and where a study shows correlation only, we say so. Search features change often, so check the linked documentation before you act on a detail. Last updated October 23, 2026.
Sources & further reading
Keep reading