How to Fix a 404 Error Without Losing SEO Equity

14 min read

Most people treat a 404 error as a simple technical problem. Delete the page, move on.

The issue is that a 404 URL isn’t just a dead page - it’s often the accumulated result of years of backlinks, internal links, and crawl history. When a page that ranked and attracted links returns 404, all of that equity sits stranded. It doesn’t transfer anywhere. It just stops working.

The difference between fixing a 404 correctly and incorrectly can be the difference between keeping a page’s ranking and losing it entirely.

Browser showing a 404 not found error page with a redirection arrow pointing to a live page

What Actually Happens to SEO Equity When a Page Returns 404

When Google crawls a URL and gets a 404, a few things happen in sequence.

First, Googlebot stops passing PageRank through any links that pointed to that URL. Internal links from your own pages that used to boost that content now lead nowhere. External backlinks from other sites that pointed to that URL stop delivering authority.

Second, Google begins the process of deindexing the URL. This doesn’t happen immediately - Google will retry a 404 several times over days or weeks before it concludes the page is permanently gone. But once it deindexes, any rankings that page held disappear with it.

Third, if the 404 URL was in your sitemap, you’re actively directing Googlebot to a dead end on every crawl. That’s wasted crawl budget.

None of this is catastrophic if the page had no real equity - low traffic, no backlinks, no rankings. But if it did have equity, the clock starts ticking the moment the page goes down.


Step 1: Diagnose the 404 Before You Touch Anything

The fix for a 404 depends entirely on what was there before. A knee-jerk redirect to the homepage is not a fix - it’s just moving the problem. Before you do anything:

Find out what the page was:

  • Check the Wayback Machine (web.archive.org) - paste the 404 URL and see the last cached version of the page
  • Check your CMS for deleted content - most platforms keep deleted posts in trash for 30 days
  • Check Google’s cache by searching cache:yoursite.com/old-url

Find out if it has backlinks:

  • Open Google Search Console -> Links -> Top linked pages and search for the URL
  • If you use Ahrefs or Semrush, check the backlink profile for the specific URL
  • Any page with 5+ referring domains linking to it is worth fixing with a proper redirect

Find out what traffic it had:

  • In Google Analytics, check historical traffic for the URL (if it was previously indexed)
  • In GSC, check Performance -> Pages for historical click data

If the page had no traffic and no backlinks, a 410 response (Gone) is a perfectly valid choice - it tells Google to deindex faster than a 404. If it had meaningful traffic or backlinks, proceed with a redirect.


Step 2: Determine If the Content Still Exists Somewhere

Before setting up a redirect, check whether the content was moved rather than deleted.

If the page was moved to a new URL:

  • The fix is a 301 redirect from the old URL to the new URL
  • Additionally, find all internal links on your site that still point to the old URL and update them to link directly to the new URL - this avoids redirect chain hops

If the page was deleted but equivalent content exists:

  • A 301 redirect to the most topically relevant live page is the right move
  • The redirect should go to a page that covers the same subject - not a generic category page and definitely not the homepage

If the page was deleted and no equivalent exists:

  • You have two options: recreate the content at the same URL, or accept the loss and redirect to the closest alternative
  • If the page had significant backlinks, recreating it is often worth the effort

Step 3: Set Up a 301 Redirect to the Right Destination

A 301 (Moved Permanently) redirect is the correct HTTP status for permanently moved or deleted pages. It tells browsers and crawlers to update their records to the new URL and passes the majority of link equity to the destination.

The golden rule for redirect targets: redirect to the most topically relevant live page. Relevance matters because Google factors in the relationship between the source URL and the redirect destination when deciding how much equity to pass.

A blog post about “email marketing open rates” that 404s should redirect to another email marketing post - not to your homepage, not to your blog index, not to a generic “resources” page.

How to implement:

On Apache (.htaccess):

Redirect 301 /old-page/ https://yoursite.com/new-page/

On Nginx:

location = /old-page/ {
  return 301 https://yoursite.com/new-page/;
}

On WordPress (Redirection plugin): Add the old path as source, new path as target, type 301.

On Webflow: Project Settings -> Hosting -> 301 Redirects. Add old path and new path, then republish.

On Squarespace: Settings -> Advanced -> URL Redirects.

What not to do:

  • Don’t redirect to the homepage unless no relevant alternative exists anywhere on the site
  • Don’t create a chain: if /A already redirects to /B, and /B is now 404, redirect /A directly to /C
  • Don’t use a 302 (temporary) redirect for content that’s permanently gone or moved

A 301 redirect handles external backlinks and crawlers, but your own internal links should be updated to point directly to the destination. Here’s why: each redirect hop loses a small amount of equity. Internal links that go through a redirect instead of pointing directly to the live URL are marginally less efficient than they could be.

How to find internal links to the old URL:

  • Run a full-site crawl with redCacti or your preferred crawler and filter for links pointing to the old 404 URL
  • In Google Search Console -> Links -> Internal links, search for the old URL

Update each source page to link directly to the new destination URL. For sites with hundreds of internal links to the same old URL, a database search-and-replace (on WordPress) or a site-wide find is significantly faster than manual editing.


A 301 redirect means external backlinks pass equity through to the destination page automatically - you don’t need to contact every linking site. But there’s a meaningful difference between a redirected backlink and a direct backlink: some studies suggest redirects pass around 90-99% of link equity, not 100%.

For high-value backlinks (from authoritative domains, editorial placements, or links that drove direct referral traffic), it’s worth reaching out to have the link updated to point directly to the new URL.

How to identify the most valuable backlinks:

  1. Export your backlinks from GSC or Ahrefs for the old 404 URL
  2. Sort by domain authority or referring domain traffic
  3. For the top 10-20 linking domains, reach out directly

What to say: Keep it simple. Something like: “Hi - I noticed you link to [old URL] which now redirects. We’ve moved this content to [new URL] - would you be able to update the link? Happy to return the favour.”

Response rates on these emails are surprisingly good, especially from active bloggers and content teams who care about link accuracy.


Step 6: Remove the 404 URL from Your Sitemap

If the broken URL is in your sitemap.xml, your sitemap is actively directing Googlebot to a dead end on every crawl. This wastes crawl budget and makes your sitemap less trustworthy overall.

How to check: Open yoursite.com/sitemap.xml in a browser and Ctrl+F for the old URL path. If it’s there, remove it.

On most CMS platforms, this means either:

  • Deleting the page properly (not just taking it offline)
  • Manually editing the sitemap if you manage it yourself
  • Regenerating the sitemap after your redirect is in place (most CMSs do this automatically when a redirect is set up)

The sitemap should only contain URLs that return a 200 status code. Any 404, 301, or 410 in the sitemap is a problem.


Step 7: Verify the Fix and Request Recrawl in GSC

After implementing your redirect, confirm it’s working correctly before calling it done.

Check the redirect:

curl -I https://yoursite.com/old-page/

You should see HTTP/1.1 301 Moved Permanently followed by Location: https://yoursite.com/new-page/. Then hitting the new URL should return HTTP/1.1 200 OK.

In Google Search Console:

  1. Go to the URL Inspection tool and enter the old 404 URL
  2. Click “Request Indexing” - this prompts Google to recrawl the URL and discover the redirect
  3. Also inspect the destination page and request indexing there if it was recently created or updated

GSC typically picks up the redirect within a few days. The old URL will show as “Redirect” in the Coverage report, and the destination page should retain or improve its position over the following weeks as equity consolidates.


When a 404 Is Actually Fine

Not every 404 needs to be fixed with a redirect. Some 404s are completely acceptable:

  • Low-traffic pages with no backlinks - if the page had no equity, there’s nothing to preserve. A clean 404 or 410 is fine.
  • Spam pages or scraped content you deliberately removed - no redirect needed
  • Pages that were never meant to exist (typos in URLs, test pages) - just let them 404
  • Expired promotions or campaigns - if the content is genuinely gone and irrelevant, a 404 is honest

The point of this whole process is to recover equity that would otherwise be lost. If there’s no equity at stake, the process is simpler: remove from sitemap, let it 404, done.


Quick Reference Checklist

  • Find what the 404 URL was (Wayback Machine, CMS trash, Google cache)
  • Check for backlinks in GSC Links report or Ahrefs
  • Check historical traffic in GA or GSC Performance
  • Identify the best redirect destination (most topically relevant live page)
  • Implement 301 redirect (platform-appropriate method)
  • Update internal links to point directly to the new URL
  • Remove 404 URL from sitemap.xml
  • Verify redirect with curl or redirect checker
  • Request indexing of old URL in GSC URL Inspection tool
  • Follow up on top 10 backlinks to request direct link updates


A 404 error is recoverable. The equity that page had does not have to disappear - it just needs a well-placed redirect and a few minutes of cleanup work to flow to the right destination.

The cost of fixing a 404 correctly is maybe 30 minutes. The cost of leaving it unfixed indefinitely is years of accumulated equity sitting idle.

Find all 404 errors on your site ->

Run a free audit and get a complete list of 404s across your site - with the source pages that link to each one.


Also in this series: How to Find Broken Links on Your Website - How to Set Up 301 Redirects After Fixing Broken Links

Newsletter

Weekly SEO teardowns

Internal linking, broken links & orphan pages — straight to your inbox, every week.

Subscribe free

redCacti Team

The team behind redCacti - helping websites improve their SEO through better internal linking.

Related Posts