How to Fix 404 Errors for SEO: Search Console, Redirects, and Best Practices

How to Fix 404 Errors and Improve Your Website's SEO

A 404 error appears when a URL cannot be found on the server. In SEO, the goal is not to remove every 404 from the internet. The goal is to identify which missing URLs matter, fix broken internal paths, redirect valuable removed pages to relevant alternatives, and leave genuinely outdated or intentionally removed URLs as proper 404 or 410 responses.

Not every 404 is a problem. Deleted test pages, old spam URLs, or expired pages with no traffic and no useful replacement may be fine as 404s. The real risk appears when important pages, internal links, backlinks, sitemap URLs, or conversion paths lead users and crawlers to missing content.

Finding and fixing 404 errors for technical SEO

What Is a 404 Error?

A 404 error is an HTTP status code that tells browsers and search engines the requested page cannot be found. This can happen when a page is deleted, a URL changes, a link is typed incorrectly, a migration is handled poorly, or an internal link points to an outdated address.

For users, a 404 page usually means a dead end. For search engines, it is a signal that the URL should not be treated as a live page. That signal is not automatically bad. If the content is gone and there is no useful replacement, a 404 may be the correct response.

Common Causes of 404 Errors

  • A page was deleted without updating internal links.
  • A URL slug changed without a redirect.
  • A website migration missed old URLs.
  • An external site linked to a wrong or outdated URL.
  • A product, event, or landing page expired.
  • The XML sitemap still includes removed URLs.
  • A CMS, plugin, or permalink setting changed URL paths.

404 vs 410 vs Soft 404

A standard 404 means the page was not found. A 410 means the page is gone intentionally and is not expected to return. In practice, both can be valid for removed pages, but 410 gives a clearer “gone” signal.

A soft 404 is different. It happens when a page looks like an error, empty page, or irrelevant replacement to Google but returns a 200 status code as if the page exists. Soft 404s are more confusing because the server says the page is live while the content suggests it is not useful.

Because 404s are part of technical SEO maintenance, it helps to understand technical SEO fundamentals before deciding whether to redirect, repair, remove, or ignore a missing URL.

SEO impact of 404 errors and broken links

Do 404 Errors Hurt SEO?

A normal 404 does not automatically damage your entire website’s SEO. Search engines expect some URLs to disappear over time. Old campaign pages, deleted posts, expired products, and mistyped URLs can all return 404 without creating a site-wide penalty.

The SEO concern is not the existence of a 404 itself. The concern is whether important URLs are missing and whether users or crawlers are being sent to broken paths. A 404 deserves attention when it affects discoverability, authority, user experience, or conversions.

When 404 Errors Matter

A 404 should be reviewed carefully when the missing URL:

  • has internal links pointing to it;
  • receives external backlinks;
  • still appears in an XML sitemap;
  • used to receive organic traffic;
  • served a product, service, guide, or conversion page;
  • is part of a recent site migration;
  • appears frequently in Google Search Console reports.

How 404s Affect Users and Crawlers

Broken internal links create a poor experience because users click expecting useful content and reach an error page instead. They also waste crawl paths that could have pointed search engines toward live, valuable pages.

External backlinks pointing to a missing page can also represent lost opportunity. If the old URL has a relevant replacement, a 301 redirect can help preserve the user path and may recover some link value. If there is no relevant replacement, forcing a redirect can create a worse experience than leaving the 404 in place.

How to find 404 errors in Google Search Console and site crawls

How to Find 404 Errors

The first step is finding which 404 URLs exist and where they come from. Do not rely on one source only. Google Search Console, crawler tools, analytics, server logs, and backlink reports can each reveal different parts of the problem.

How to Find 404 Errors in Google Search Console

  1. Open Google Search Console and choose the correct property.
  2. Go to Indexing and then Pages.
  3. Review reports such as Not found (404) and Soft 404.
  4. Export affected URLs if the list is large.
  5. Check whether each URL has traffic, backlinks, internal links, sitemap inclusion, or a replacement page.
  6. Fix the URLs that matter, then use Validate Fix after Google can crawl the changes.

Use Crawlers, Analytics, and Backlink Tools

Search Console is useful, but it may not show every broken link immediately. A site crawler can identify internal links pointing to 404 pages. Analytics can show whether users are landing on 404 URLs. Backlink tools can help identify missing pages that still receive links from other websites.

When you collect 404 URLs, classify them instead of fixing everything blindly. Some are important. Some are harmless. Some are spam or mistyped URLs that do not deserve time.

Your XML sitemap should not list removed URLs. If a 404 URL is still in the sitemap, remove it and resubmit or regenerate the sitemap. Internal links should also point directly to the best live URL, not through a broken page or unnecessary redirect chain.

When to fix 404 errors with redirects or leave them as 404

When Should You Fix a 404 Error?

The correct action depends on why the URL is missing and whether it still has value. A 404 error should not automatically become a redirect. The best fix is the one that gives users the most relevant outcome and gives search engines the clearest signal.

Situation Best Action Why
Deleted page has a close replacement 301 redirect Preserves user path and may recover link value
Deleted page has no useful replacement Keep 404 or use 410 Signals the page is gone without misleading users
Internal link points to missing URL Update the internal link Fixes user experience and crawl path
URL in XML sitemap returns 404 Remove it from sitemap Sitemaps should list indexable, useful URLs
External backlink points to missing URL Redirect to the most relevant live page Can recover referral traffic and link equity
Random spam URL returns 404 Usually leave it alone Not every 404 needs action

When to Use a 301 Redirect

Use a 301 redirect when the old URL has a close, relevant replacement. For example, if an old guide was moved to a new URL, redirect the old guide to the new guide. If a discontinued product has a newer version, redirect to the newer product only if it is genuinely relevant.

Do not redirect every missing page to the homepage. Irrelevant redirects frustrate users and can be treated as low-quality signals. A redirect should answer the user’s original expectation as closely as possible.

When to Keep 404 or Use 410

Keep a 404 when the page is gone, has no replacement, and does not provide value anymore. Use 410 when you want to make it clearer that the page was intentionally removed and is not coming back.

This is common for expired job listings, old event pages, discontinued offers, test URLs, or low-value pages that should no longer be available.

Step-by-step process to fix 404 errors for SEO

How to Fix 404 Errors Step by Step

Fixing 404 errors is not only a redirect task. A good workflow checks the cause, value, replacement options, internal links, sitemap signals, and final crawl status.

Step 1: Audit and Prioritize URLs

Start by exporting 404 URLs from Google Search Console and your crawler. Then prioritize URLs with traffic, backlinks, internal links, sitemap inclusion, or business value. Do not spend the same amount of time on a random spam URL as you would on a deleted service page with backlinks.

Step 2: Choose the Right Fix

  • Restore the page if it was deleted by mistake and still has value.
  • 301 redirect if a close replacement exists.
  • Keep 404 or use 410 if the page is intentionally gone and has no useful replacement.
  • Fix internal links if your site still points users to the broken URL.
  • Remove the URL from the sitemap if it is no longer indexable or useful.

Internal links should point directly to the correct live page. Do not rely on redirects when you can update the link at the source. This keeps navigation cleaner and helps search engines crawl the site more efficiently.

If the 404 came from an old internal link, review the surrounding content too. Sometimes the page linking to the broken URL also needs updating because the context has changed.

Step 4: Validate and Monitor

After fixing important 404s, test the affected URLs in a browser and with a status code checker. Then monitor Google Search Console to confirm that Google recrawls the URLs and updates the report. For important fixes, use the validation option when available.

404 cleanup should be part of your regular SEO tools and audit workflow, especially after migrations, redesigns, product removals, or permalink changes.

Custom 404 page best practices for users and SEO

Custom 404 Page Best Practices

A custom 404 page cannot fix broken links by itself, but it can reduce user frustration. If someone lands on a missing URL, the page should explain what happened and help them continue browsing.

What a Custom 404 Page Should Include

  • Explain clearly that the page cannot be found.
  • Link to the homepage, main categories, search function, or popular resources.
  • Keep the design consistent with the rest of the site.
  • Return the correct 404 HTTP status code.
  • Avoid indexing the 404 page itself as useful content.

What to Avoid on 404 Pages

Do not show a generic server error with no navigation. Do not return a 200 status code for an error page. Do not automatically redirect all missing URLs to the homepage. These shortcuts may look convenient, but they can confuse users and search engines.

A good 404 page is honest and helpful. It says the page is missing, then offers useful next steps.

The safest 404 process is not “redirect everything.” It is classification. Some URLs should be restored, some should redirect, some should stay gone, and some should simply be ignored. The quality of the decision matters more than the number of 404s removed from a report. Martha Vicher, MOCOBIN

Common 404 error mistakes in technical SEO audits

Common 404 Error Mistakes

Most 404 mistakes come from treating all missing URLs the same. Some missing URLs matter. Others do not. The best technical SEO decisions come from context.

Mistake 1: Redirecting Every 404 to the Homepage

This is one of the most common poor fixes. If a user clicks an old product page and lands on the homepage with no explanation, the experience is confusing. Redirect only when the destination is closely relevant.

If your own pages link to missing URLs, fix those links directly. Internal broken links are fully within your control and should be part of routine site maintenance.

Mistake 3: Leaving 404 URLs in the Sitemap

An XML sitemap should guide search engines toward important, live, indexable URLs. If removed pages remain in the sitemap, the sitemap becomes less useful. Regenerate or edit it after deleting pages.

Mistake 4: Confusing Soft 404s With Normal 404s

A soft 404 often needs special attention because the server returns a 200 status code even though the page looks empty, irrelevant, or unavailable. Fix this by returning the correct 404 or 410 status, restoring useful content, or redirecting to a closely relevant page.

Mistake 5: Not Checking After Site Migrations

Site migrations, permalink changes, CMS changes, and redesigns often create large numbers of 404s. Before launch, prepare a redirect map. After launch, crawl the site and check Search Console regularly until the main issues are resolved.

Scroll to Top