Skip to content

How to Fix Broken Links and 404 Errors on Your Website

Last Updated: August 22, 2026

Broken links and 404 errors create a frustrating experience for visitors and waste the crawl budget search engines allocate to your site. Every dead link is a dead end: users leave, and the link equity that page earned disappears into thin air. Fixing broken links is one of the highest-impact, lowest-effort SEO improvements you can make. Broken links often result from redirect chains that were improperly set up or pages that moved without proper redirects.

This guide shows you how to find, diagnose, and fix broken links across your entire site using free tools.

Why Broken Links Hurt Your SEO

Search engines follow links to discover pages. When a crawler hits a 404, it learns the page does not exist and stops there. If that broken link was the only path to a deep page, that page becomes undiscoverable. Over time, broken links erode your site's crawlability.

  • Lost link equity. If other sites link to a URL on your site that now returns 404, that authority is wasted.
  • Bad user experience. Visitors who click a link expecting content and land on an error page leave immediately, increasing bounce rate.
  • Crawl budget waste. Search engines have a limited crawl budget. Every 404 wastes a crawl request that could have discovered a valid page.
  • Indexation gaps. If a page is only reachable through a now-broken link, it may drop out of the index entirely.

Step 1: Find All Broken Links

You cannot fix what you cannot find. The first step is a comprehensive scan of your entire site for broken internal and external links.

  • Run the free broken links checker on your domain. It scans every page and reports all 404s, 500s, and other error status codes.
  • Check Google Search Console under Coverage and Crawl Stats for reported 404 errors.
  • Look at your server access logs for 404 response codes. These show real user attempts to reach broken pages.

Step 2: Categorize the Broken Links

Not all broken links are equal. Categorize them by cause to determine the right fix.

  1. Typo in the URL. A simple misspelling in a link. Fix: correct the URL.
  2. Page was moved without a redirect. The content exists at a new URL. Fix: add a 301 redirect from the old URL to the new one.
  3. Page was deleted intentionally. The content no longer exists and should not come back. Fix: remove the link or redirect to the most relevant existing page.
  4. External link to a page that no longer exists. The other site removed or moved the page. Fix: find the new URL, link to an alternative resource, or remove the link.
  5. Link points to a page behind a login or paywall. Search engines cannot access it. Fix: link to a publicly available version or remove the link.

Step 3: Fix Internal Broken Links

Internal links are entirely under your control, so these are the easiest and highest-priority fixes.

  • Update the link if the target page moved to a new URL.
  • Add a 301 redirect if you cannot change every link pointing to the old URL. Use your CMS redirect manager or server configuration.
  • Replace the link with a link to a different, relevant page if the original content was deleted.
  • Remove the link entirely if there is no suitable replacement and the anchor text is not important.

Use the redirect checker to verify that your redirects resolve correctly and do not create chains.

Step 4: Fix External Broken Links

You cannot control external sites, but you can control what you link to.

  • Use the redirect checker on the external URL. Sometimes the page moved and a redirect resolves to the new location.
  • Search for the content on the target site to find the updated URL.
  • Link to an alternative authoritative resource if the original is gone permanently.
  • Remove the link if no replacement exists. A dead outbound link provides no value.

Step 5: Handle 404 Pages Gracefully

Some 404s are inevitable. A good 404 page retains visitors instead of losing them.

  • Design a helpful 404 page with a search box, links to popular content, and a clear message that the page was not found.
  • Monitor your 404 log regularly. Spikes in 404s for a specific URL may indicate a broken link in a popular piece of content.
  • Set up Google Search Console alerts for new 404 errors.

Step 6: Prevent Future Broken Links

Prevention is cheaper than cleanup. Build processes that catch broken links before they affect users.

  • Run the broken links checker monthly. Schedule it as a recurring task.
  • Always set up 301 redirects before deleting or moving a page.
  • Use relative URLs for internal links where possible to survive domain changes.
  • Before publishing, test any external links to confirm they resolve.

Prioritize and Execute

Start with the broken links that affect your highest-traffic and highest-authority pages. A broken link on a page that earns 10,000 visits per month matters more than one on a page with 10 visits. Fix internal links first (you control them), then external links. Re-run the checker after your fixes to confirm everything resolves correctly.

Broken link maintenance is not glamorous, but it is one of the most reliable ways to improve crawlability, user experience, and rankings simultaneously.

Related Articles

Related Tools