A 404 error means a visitor tried to open a URL that no longer exists on your site. To fix 404 errors for SEO, find them with Google Search Console or a site crawler, then either restore the missing page or set up a 301 redirect sending that URL to the most relevant live page. Cleaning up broken URLs protects your rankings, preserves link value, and keeps visitors from bouncing.
In This Article
- What Is a 404 Error, Exactly?
- Do 404 Errors Actually Hurt Your SEO?
- How Do You Find 404 Errors on Your Site?
- How Do You Fix a 404 Error?
- What’s the Difference Between 301, 302, and 404 Handling?
- How Do You Prevent 404 Errors in the Future?
- Frequently Asked Questions
- How many 404 errors are acceptable?
- Will 301 redirects pass all my SEO value?
- Should I redirect deleted pages to my homepage?
- How long should I keep 301 redirects in place?
- Can I find 404s without any paid tools?
Every website collects 404s over time. You delete old pages, change URLs, redesign your site — and each change can leave dead links behind. A few 404s are normal and harmless. A growing pile of them is a problem worth fixing. Here’s how to handle the whole job.
What Is a 404 Error, Exactly?
When someone clicks a link or types a URL, their browser asks your server for that page. If the server can’t find it, it returns a “404 Not Found” status code, and the visitor sees an error page.
404s happen for ordinary reasons:
- You deleted a page but links to it still exist
- You changed a URL (like a blog post slug) without redirecting the old one
- Someone linked to your site with a typo in the URL
- You migrated or redesigned your site and URL structures changed
The error page itself isn’t the problem — it’s what the 404 represents: a dead end. The visitor didn’t find what they wanted, and any SEO value that URL had (from backlinks, age, or past rankings) is now stranded.
Do 404 Errors Actually Hurt Your SEO?
A handful of 404s won’t tank your rankings. Google understands that pages come and go, and it doesn’t penalize sites just for having some.
But 404s cause real damage in specific ways:
- Wasted backlinks. If other sites link to a URL that 404s, that link value evaporates. Redirect the URL and you keep it. Reclaiming dead links is also the core idea behind a broken link building strategy.
- Wasted crawl budget. Googlebot spends time crawling dead URLs instead of your real pages. On large sites, this genuinely slows down how fast new content gets indexed. See our guide on how to fix crawl errors in Search Console for the related cleanup.
- Bad user experience. Visitors who hit error pages often leave, which costs you engagement and conversions.
- Lost rankings. If a page that used to rank gets deleted without a redirect, its rankings don’t transfer anywhere — they just disappear.
So the rule is simple: a 404 for a URL nobody visits and nobody links to is fine. A 404 for a URL with traffic, backlinks, or rankings needs fixing.
How Do You Find 404 Errors on Your Site?
You can’t fix what you can’t see. Start with these free methods:
- Google Search Console. If you have not set it up yet, follow our Google Search Console setup guide first. Then go to Pages under Indexing and look for “Not found (404)” in the crawl results. This shows URLs Google tried to crawl that returned 404s. It’s the most important source because it shows what Google actually sees.
- A site crawler. Screaming Frog’s free version crawls a limited number of URLs (around 500 at the time of writing — check the current plan page for the latest limit) and lists every 404 it finds, plus which pages link to each broken URL. That “which pages link to it” part is gold — it tells you where to fix internal links.
- Your analytics. If you are unsure which tool shows what, see Google Search Console vs Google Analytics. Then look for a spike in 404 page views or check which error-page URLs get the most hits. High-traffic 404s are your top priority.
- Broken link checkers. Browser extensions and free online tools can scan a single page for broken links quickly. Useful for spot checks, not full audits.
- Server logs. If you have access, your raw server logs show every 404 request, including ones from bots and tools that the other methods miss.
Run one of these checks at least once a quarter, as part of a regular SEO audit. After any redesign, migration, or bulk URL change, check immediately — that’s when 404s multiply.
How Do You Fix a 404 Error?
Once you’ve found a broken URL, you have three options. Pick based on the situation:
- Restore the page. If the page was deleted by mistake or still has value, just bring it back at the same URL. This is the simplest fix and preserves everything.
- Set up a 301 redirect. If the page is gone for good, see our 301 vs 302 redirect guide. redirect the old URL to the most relevant live page. A 301 tells Google the move is permanent and passes most of the old page’s ranking value to the new one. This is the right fix in most cases.
- Leave it as a 404. If the URL was never important — no traffic, no backlinks, no rankings — leaving the 404 is perfectly fine. Google will stop crawling it eventually.
The key word in the redirect option is “relevant.” Redirect a deleted blog post about email marketing to your current email marketing guide — not to your homepage. Google may treat mass homepage redirects as soft 404s, and they don’t pass value the way a proper relevant redirect does.
How you set up the redirect depends on your platform:
- WordPress: plugins like Redirection or Rank Math let you add 301s in minutes with no code
- Other CMSs: most have built-in redirect managers or plugins
- Manual: add redirect rules to your .htaccess file (Apache) or server config (Nginx) — back up the file first
What’s the Difference Between 301, 302, and 404 Handling?
These get mixed up constantly, so here’s the plain-English version:
- 301 redirect — permanent move. Use when a page is gone for good. Passes most SEO value to the new URL. This is your default for fixing 404s.
- 302 redirect — temporary move. Use when the page will come back, like during short maintenance. Does not reliably pass SEO value, so don’t use it for permanent fixes.
- 404 — page not found. Use when the page is truly gone and there’s no relevant replacement. Honest and fine in the right cases.
- 410 — gone. A stronger version of 404 that tells Google the page was deliberately removed. Useful when you want Google to drop the URL from its index faster.
The most common mistake is using 302s for permanent changes. If you redirected a deleted page “temporarily” two years ago, change it to a 301. The second most common mistake is redirect chains — URL A redirects to B, which redirects to C. Chains slow things down and dilute SEO value. Point A directly at C.
How Do You Prevent 404 Errors in the Future?
Fixing 404s is good. Not creating them in the first place is better. Build these habits:
- Never change a URL without adding a redirect. Before you edit a slug or restructure a section, write down the old URL and set up the 301 first.
- Audit before deleting. When removing a page, check whether it has traffic or backlinks. If it does, redirect it instead of just deleting it.
- Fix internal links at the source. When you redirect a URL, also update the links on your own site that point to the old URL. Redirects are a safety net, not a substitute for correct links.
- Use a custom 404 page. Your error page should look like your site, explain what happened in plain language, and offer helpful next steps — a search box, links to popular pages, and a way back home. A good 404 page turns a dead end into a detour.
- Monitor continuously. Set up alerts in Search Console and re-crawl after any site changes. Catching 404s early keeps them from piling up.
If you’re planning a redesign or migration, map every old URL to its new home before launch day. Migrations without redirect maps are a common cause of large 404 spikes — and the traffic drops that come with them.
Frequently Asked Questions
How many 404 errors are acceptable?
There’s no fixed number. A few 404s from old deleted pages are normal and won’t hurt you. What matters is whether important URLs — ones with traffic, backlinks, or rankings — are broken. Fix those; don’t stress about obscure URLs nobody visits.
Will 301 redirects pass all my SEO value?
They pass most of it. Google has said 301 redirects pass PageRank, and in practice a relevant 301 preserves most of a page’s ranking power. A relevant 301 is always better than letting a valuable URL 404. Just avoid redirect chains and irrelevant targets.
Should I redirect deleted pages to my homepage?
No, not as a habit. Redirect each deleted URL to the most closely related live page. Mass homepage redirects look like soft 404s to Google and frustrate visitors who expected specific content. Homepage redirects are only right when the deleted page has no close match anywhere on your site.
How long should I keep 301 redirects in place?
Keep them for at least a year, and ideally indefinitely. Old links around the web keep pointing at the old URL, and removing the redirect recreates the 404. Redirects are cheap to maintain — there’s rarely a good reason to remove one.
Can I find 404s without any paid tools?
Absolutely. Google Search Console is free and shows exactly which URLs Google found broken. Screaming Frog’s free tier crawls a limited number of URLs at no cost (check the current plan page for the latest limit). Between those two, most small and medium sites can find every 404 that matters without spending anything.
Broken URLs are silent traffic killers — they don’t announce themselves, they just quietly drain your rankings and frustrate your visitors. If you’d rather have an expert handle the full cleanup, our digital marketing services include technical SEO audits that find and fix exactly these kinds of issues.
