Skip to main content
Beta: Front-End Checklist is currently in beta. Some issues are still being fixed. Thanks for your patience.
SEOMedium

Fix or remove broken external links

Detects and resolves external links that return error codes or have timed out.

Utilities
Quick take
Typical fix time 10 min
  • Regularly scan for external links returning 4xx or 5xx error codes
  • Update broken links to the new correct URL or remove them entirely
  • Avoid linking to expired domains that may have been repurposed
Why it matters: Broken links provide a poor user experience and can signal to search engines that your content is outdated or poorly maintained.

Rule Details

Maintaining the integrity of your outbound links is essential for a high-quality user experience and professional site reputation.

Code Example

<!-- Regular auditing is required -->
<article>
  <p>
    <!-- ✅ Good: Updated link to a live resource -->
    Learn more in the <a href="https://modern-docs.com/guide">latest documentation</a>.
    
    <!-- ❌ Bad: Linking to a known broken or archived resource without context -->
    Read this <a href="https://dead-site.com/old-post">old post</a>.
  </p>
</article>

Why It Matters

  • User Experience: Prevents visitors from encountering frustrating "Page Not Found" errors when following your references.
  • Site Quality: A high frequency of broken links suggests to search engines that the site is abandoned or not regularly audited.
  • SEO Authority: Linking to high-quality, live resources is a positive signal; linking to dead ends is a negative one.
  • Security: Expired domains you link to can be bought by malicious actors to serve malware or phishing content.

Exceptions

  • Staging, utility, login, account, or internal search pages may intentionally use different crawl or index signals if they are not meant to rank.
  • Temporary migration states can produce noisy intermediate signals; flag the live production URL pattern, not one-off transition artifacts.
  • When redirects, canonicals, robots directives, or indexability signals conflict, fix the strongest final signal first instead of reporting every downstream symptom as a separate blocker.

Standards

  • Use these references as the standard for the final search-facing HTML, metadata, and crawl behavior.
  • Check the implementation against Google Search Central: Search Essentials before treating the rule as satisfied.
  • Check the implementation against Google Search Central documentation before treating the rule as satisfied.

Verification

Automated Checks

  • Inspect rendered HTML and HTTP headers to confirm the expected metadata or crawlability signal is present.
  • Test the affected URL with Google Search Console or equivalent tooling where relevant.
  • Re-crawl a representative page set after deployment.

Manual Checks

  • Confirm the change does not create conflicting canonical-url, robots, or structured-data signals.

Use with AI

Copy these prompts to use with your AI assistant, or install the MCP server to use directly from Claude, Cursor, or Windsurf.

Check

Verify implementation

Scan the page for any external links that lead to 404 pages or other error states.

Fix

Auto-fix issues

Update the broken external link to a working URL or remove the link if the resource no longer exists.

Explain

Learn more

Explain the impact of 'link rot' on a website's perceived quality and user trust.

Review

Code review

Review metadata generation, rendered HTML, structured data, and response headers related to Fix or remove broken external links. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.

Sources

References used to support the guidance in this rule.

Further Reading

Tools and supplementary material for exploring the topic in more depth.

Google Search Console
search.google.comTool

Rules that often go hand-in-hand with this one.

Resolve internal broken links

Detects and fixes internal links that return 404 or 5xx errors to improve user experience.

SEO
4XX Pages in Sitemap

Checks for sitemap URLs that return 4XX HTTP status codes, indicating broken or removed pages.

SEO
Add internal links to orphan pages

Detects pages with no internal links pointing to them

SEO
Link directly to final destination URLs

Detects URLs that redirect and links pointing to redirects

SEO

Was this rule helpful?

Your feedback helps improve rule quality. This stays internal for now.

Loading feedback...
0 / 385