cluster:link-building 10 min read 2,194 words

How to Fix Broken Links on Your Website

How to Fix Broken Links on Your Website

To fix broken links you need three things in order: a complete list of every link on your site that fails, a decision rule for each one, and a cadence that stops them accumulating again. The decision rule is the part people skip, and it is the part that matters — a broken link is not always something to redirect. Sometimes the right answer is to restore the page, sometimes to redirect it, sometimes to delete the link entirely, and occasionally to tell search engines the URL is gone for good.

This guide covers how to fix broken links of all three kinds: internal links between your own pages, outbound links to other people's pages, and inbound links from other sites pointing at URLs of yours that no longer exist.

Internal broken links are links from one of your pages to another page of yours that returns an error. You control both ends, so these are entirely in your hands and there is no excuse for leaving them. They waste crawl requests, they strand readers, and a page that is only linked from broken paths may not be discovered at all.

Outbound broken links are links from your pages to external sites that have gone away. You control the link but not the destination. Nobody can prevent these — the web decays continuously — but leaving a guide full of dead references signals that the page is unmaintained, to readers first and foremost.

Inbound broken links are links from other sites to URLs of yours that no longer resolve. You control the destination but not the link. These are the most valuable of the three, because each one is an endorsement currently being wasted, and fixing them is covered in depth in link reclamation.

Use more than one source. Each has a blind spot.

  • A site crawler. Desktop crawlers and hosted auditors walk your site the way a search engine does and report every link with a non-200 response, along with the pages containing them. This is the only method that reliably finds internal and outbound breaks together.
  • Google Search Console. The Pages report shows URLs Google tried to fetch and could not serve, and the Links report shows what is pointing at them. This catches URLs a crawler would never reach because nothing on your current site links to them.
  • Your server or CDN logs. Filter for 404 responses. Requests with an external referrer are broken inbound links observed directly; requests with an internal referrer are internal links your crawler may have missed behind a form, a filter or JavaScript.
  • Your sitemap. A sitemap listing URLs that 404 is a common and quietly damaging problem, because it tells search engines to go and fetch pages that are not there. Run yours through our free sitemap checker to confirm every listed URL resolves.
  • A backlink index. Ahrefs, Semrush, Majestic and similar tools flag inbound links whose target errors. Coverage differs, so a link one misses another may find.

Put everything into one spreadsheet with four columns: the broken URL, the status code it returns, where the link comes from, and how many distinct sources link to it. That last column is your priority order.

Step 2: Decide restore, redirect, or remove

For each broken URL, work through these questions in order.

Does the content still exist somewhere?

If the page was renamed, moved to a new folder, merged into a larger guide, or replaced by a newer version, redirect the old URL to the specific page that replaced it. Specific is the operative word — a redirect to the homepage or a broad category discards most of what the link was worth and frustrates the reader who clicked expecting something particular.

Should the content exist again?

Sometimes a page was deleted in a purge that should not have happened. If a dead URL has multiple inbound links from relevant sites, and there is no adequate replacement, the strongest option is often to rebuild the page — properly, at the same URL, serving the intent the link promised.

Is there genuinely no equivalent?

A discontinued product with no successor, an event that happened, a job posting that closed. If there is nothing honest to redirect to, do not invent a destination. Serve a useful 404 or, where the removal is permanent and deliberate, a 410. More on that choice below.

A typo in an href, a link to a staging domain, a protocol-relative URL that broke after an HTTPS migration, a trailing-slash mismatch. Fix the link itself. Do not build a redirect to paper over a typo you can correct at source.

Three options, in order of preference: find the same resource at its new home and update the URL; find a different, equally good source and swap it; or remove the link and rewrite the sentence so it still reads properly. Linking to an archived snapshot is a reasonable fallback for citations that matter, but it is not a substitute for a live authoritative source.

Step 3: 301 versus 410 versus a soft 404

This is where most fix-broken-links guides get vague. The distinction is simple.

301 (moved permanently) says: this thing still exists, at a new address. Use it whenever there is a genuine equivalent. It passes readers and ranking signals to the new URL and it is the correct response for renamed, moved and merged pages.

404 (not found) says: we could not find this. It is the correct, unalarming default for a URL that was never valid, for typos, and for content that is simply gone. A 404 is not a penalty. Search engines expect them and drop the URL from the index over time.

410 (gone) says: this existed, we removed it deliberately, and it is not coming back. It signals permanence more strongly than a 404 and tends to lead to faster removal from the index. Use it for content you have intentionally retired — expired listings, deprecated products, deleted user content — where you are certain there is no successor.

Soft 404 is the failure mode to avoid: a URL that returns a 200 status while displaying a "page not found" message, or that redirects to a homepage which has nothing to do with the request. Search engines flag these, and they hide real problems from your own reporting. If the content is gone, return the status code that says so.

Two mechanical rules apply to every redirect you create:

  1. One hop. If the old URL redirects to a second URL that redirects to a third, collapse the chain so the original points directly at the final destination. Chains lose value and waste crawl budget, and they break entirely if a middle link is later removed.
  2. No loops, and no redirect to a page that canonicalises elsewhere. A redirect landing on a page whose canonical points somewhere else sends conflicting instructions. Verify the destination with our canonical checker before you consider the fix done.
Do this automatically

Let AutoSEO write & rank this for you — on autopilot

Enter your site: we scan it, build a keyword plan, and publish ranking-ready articles for Google and AI answers. Start for $1.

First 3 articles instantly Cancel anytime during the trial 30-day money-back

Redirecting is a safety net for links you do not control. For your own internal links, edit the link. A site whose internal navigation depends on a redirect map is one cleanup away from breaking, and every redirected internal link is a wasted request on every crawl.

Work through the crawler export page by page, updating hrefs to their final destinations. Pay particular attention to:

  • Navigation menus, footers and sidebars, where one bad link is repeated across every page on the site.
  • Templated links inside components — related-post modules, author boxes, breadcrumb builders — which produce breakage at scale from a single bug.
  • Hard-coded links in old posts pointing at a previous URL structure.
  • Links inside redirects, canonical tags, hreflang annotations and structured data, all of which should reference live, self-canonical URLs.

Inbound broken links deserve separate treatment because they carry value from outside. Sort them by how many distinct domains point at each dead URL and how relevant those domains are, then work down the list. Most are solved unilaterally with a 301 to the right replacement. A minority — where the linking site typed the URL wrong, or linked to a page that never existed — need a short, polite email pointing out the defect and giving the correct address. The full playbook, including what to send, is in link reclamation.

Step 6: Verify, then set a cadence

After making the fixes, re-crawl. Confirm three things: the previously broken URLs now return the intended status, no new chains were introduced, and your sitemap contains only live, canonical, indexable URLs.

Then keep it from happening again:

  • Weekly: skim Search Console's Pages report for newly not-found URLs. New breaks usually mean something changed in a template.
  • Monthly: crawl the site and check internal links. Internal breakage is entirely preventable and reflects directly on your maintenance.
  • Quarterly: check outbound links. External decay is continuous and silent, and old cornerstone guides accumulate it fastest.
  • After every migration, replatform or URL structure change: run the whole process immediately. Migrations break more links in a weekend than a year of ordinary publishing.
  • On every deletion: before removing a page, check what links to it — internally and externally — and decide its redirect or 410 in the same change, not later.

On a large site this is real recurring work. Automated auditing sits alongside AI content generation, rank and AI-visibility tracking and publishing to thirteen CMS platforms in AutoSEO, which will surface broken links and other on-page defects on a schedule rather than when someone remembers to check.

Common mistakes

  • Redirecting everything to the homepage. It converts a clear "not found" into a confusing "here is something else", and search engines frequently treat it as a soft 404 anyway.
  • Treating 404s as errors to eliminate at any cost. Some URLs should 404. A site with zero 404s has usually redirected a lot of things dishonestly.
  • Fixing the symptom, not the template. If one broken link appears on 4,000 pages, the fix is in the component, not in 4,000 pages.
  • Ignoring links inside redirects and sitemaps. These are links too, and search engines follow them.
  • Never re-checking. A fix verified once and never crawled again quietly regresses on the next deploy.

Frequently Asked Questions

Use several sources together: a site crawler for internal and outbound breaks, Google Search Console's Pages report for URLs Google cannot serve, your server or CDN logs filtered to 404 responses for breaks that crawlers miss, and a backlink index for inbound links pointing at dead URLs. Also validate your sitemap, since sitemaps listing 404s are a common and easily fixed problem.

Redirect when a genuine equivalent exists, and point at the specific replacement rather than the homepage. Delete or correct the link when it is simply wrong — a typo, a staging URL, a stale internal path. Serve a 404 or 410 when the content is gone and nothing honest replaces it. Inventing a redirect target to avoid a 404 makes the experience worse, not better.

What is the difference between a 301 and a 410?

A 301 says the content moved permanently to a new address and sends both readers and ranking signals there. A 410 says the content existed, was deliberately removed, and is not coming back, which typically results in faster removal from the index than a plain 404. Use 301 when there is a successor page and 410 when the removal is intentional and final.

Internal broken links waste crawling, strand readers, and can leave pages undiscovered, which is a real cost. Outbound broken links mainly signal an unmaintained page, and readers notice. Broken inbound links are the most expensive kind, because an external endorsement is being thrown away — those are worth fixing first, and they are usually the easiest, since a single redirect recovers them.

Skim Search Console weekly, crawl for internal links monthly, and audit outbound links quarterly. Run a full pass immediately after any migration, replatform or URL structure change, and decide the redirect or 410 for any page at the moment you delete it rather than afterwards.

Usually yes, without contacting anyone. If the link points at a URL you once controlled, a 301 from that URL to the closest genuine equivalent recovers it. Outreach is only necessary when the link itself is malformed or points somewhere that never existed on your domain — in which case a short note giving the correct URL is often enough.

Related Articles

Link Reclamation: How to Recover Links You Already Earned

The five types of links you have already earned but are not receiving — broken inbound links, unlinked mentions, moved pages, lost links and image credit gaps — plus how to find each one and what to send.

2,350 words11 min read

Link Building Software: A Buyer's Guide to the Tool Categories

Five categories of link building software, what each one actually does, the questions to ask before buying, and an honest read on what automated link building tools can and cannot do.

2,240 words10 min read

How Many Backlinks Do I Need to Rank?

No universal backlink number exists. What exists is a method for reading your target search results and estimating what the query actually demands — plus why link count is a weak proxy for what wins.

2,108 words10 min read

Barnacle SEO: Ranking on Platforms You Do Not Own

Attaching your brand to marketplaces, directories, review platforms, YouTube and community threads can win visibility your own domain cannot — as long as you are honest about the fact that you do not own the asset.

2,120 words10 min read

Digilocker Website

Understanding the DigiLocker Website: Definition, Significance, and Functionality Concise Overview The DigiLocker website is an official digital platform operated by the Government of India, designed

2,022 words5 min

Domain By Google

What Is Domain by Google? Domain by Google , commonly referred to as Google Domains , is a domain registration and management service provided by Google. It allows individuals and businesses to purcha

2,511 words5 min

Stop doing SEO by hand

Put your SEO on autopilot — your first 3 articles free

Auto SEO scans your site, builds a content plan, and writes ranking-ready articles automatically. Start your $1 trial — the AI writes your first 3 the moment you begin. Cancel anytime during the trial.

2,147+ businesses · Cancel anytime · No lock-in