Broken Links Test: The Complete Guide to Fix Errors

Broken Links Test: The Complete 2025 Guide to Finding, Fixing & Preventing Dead Links

A broken links test scans every hyperlink on your website and flags the ones that return errors — most commonly HTTP 404 — so you can fix them before they silently drain your SEO rankings, crawl budget, and user trust. This guide covers everything: what a broken links test is, why it matters, how to run one step-by-step, which tools to use, and how to prevent dead links from coming back.

Updated for 2025 · Tools, processes, fixes, status codes, and prevention strategies.

Quick Answer

A broken links test is the process of systematically crawling every hyperlink on a website to identify URLs that return error responses such as 404 Not Found, 410 Gone, or 500 Server Error. Running this test regularly protects SEO rankings, preserves link equity, and ensures every visitor lands on valid, useful content.

What Is a Broken Links Test?

A broken links test is the systematic process of crawling every hyperlink on a website — internal links, outbound links, image sources, canonical tags, and resource URLs — and verifying that each one returns a valid HTTP 200 response. When a link returns an error code instead, it is classified as broken.

In short: a broken links test tells you exactly which URLs on your site are dead, so you can fix them before they hurt your rankings and frustrate your visitors. According to Wikipedia’s documentation on HTTP 404, the 404 error is the most familiar error response on the web — and it represents a fundamental breakdown between a link’s promise and the server’s reality.

Broken links fall into two major categories:

  • Internal broken links — Links pointing to pages within your own domain that no longer exist or have been moved without proper redirects in place.
  • External broken links — Links pointing to third-party websites whose pages have since been deleted, moved, or restructured without a redirect.

Furthermore, broken links aren’t limited to standard HTML anchors. They can also appear in image src attributes, JavaScript-rendered hrefs, sitemap entries, and canonical tag destinations. A thorough broken links test covers all of these link types simultaneously.

Visual diagram of a broken links test showing red broken nodes in a website link network

A broken links test reveals which nodes in your link network are failing — shown here as red disconnected points against a healthy graph.


HTTP Status Codes: What Your Broken Links Test Is Actually Finding

Not every error your broken links test surfaces is equal. Understanding HTTP status codes — the numbered responses a server sends back when a URL is requested — helps you prioritise fixes correctly and choose the right remedy for each situation.

Status Code Meaning SEO Severity Recommended Fix
404 Not Found Page does not exist at this URL High 301 redirect or recreate page
410 Gone Page permanently removed High 301 redirect to best alternative
301 Moved Permanently URL has moved — redirect in place Low Update link to final destination
302 Found (Temporary) Temporary redirect — equity not passed Medium Change to 301 if permanent
500 Server Error Server failed to process request High Diagnose server configuration
503 Service Unavailable Server temporarily down or overloaded Medium Monitor; fix if persistent

In addition, redirect chains — where a URL redirects to a second URL, which redirects to a third — are technically “working” but dilute link equity and slow page load times. A thorough broken links test flags these chains so you can collapse them into a single direct redirect.


Why a Broken Links Test Matters for SEO

Search engines like Google crawl your website by following links. Consequently, every broken link encountered during a crawl wastes a portion of your crawl budget — the limited number of pages a search engine bot will process in a given session. On large websites, this means important pages go unindexed simply because crawlers spent resources hitting dead ends.

Beyond crawl budget, broken links interrupt the flow of link equity (sometimes called PageRank — Google’s measure of a page’s authority based on incoming links). When an internal link points to a 404 page, the authority that link was meant to pass simply disappears. Over time, this silently erodes the ranking power of your most important pages.

⚠ SEO Impact: What Broken Links Actually Cost You

  • Wasted crawl budget on dead-end URLs that block discovery of live pages
  • Lost link equity across internal linking chains — authority simply evaporates
  • Higher bounce rates as frustrated users immediately leave error pages
  • Reduced content quality signals in Google’s algorithm evaluations
  • Broken outbound links signal poor editorial standards and site neglect
  • Diminished E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) signals

The User Experience Dimension

SEO impact aside, broken links create a deeply frustrating user experience. A visitor who clicks a link and lands on a 404 page has zero reason to stay on your site. They will likely return to the search results and visit a competitor instead. This behaviour — clicking back to the SERP quickly — is precisely the type of engagement signal that can negatively influence how Google perceives your page’s quality.

Therefore, a broken links test should be treated as a routine SEO maintenance task — not a one-time fix. As your site grows and external sites change, new broken links will inevitably appear. Pairing link audits with regular content updates for SEO ensures your entire site stays healthy, relevant, and crawlable.


How to Run a Broken Links Test: Step-by-Step

A professional broken links test follows a structured, repeatable workflow. Here is the exact process used by experienced SEO practitioners — whether you’re auditing a five-page portfolio or a 50,000-page e-commerce store.

1

Choose the Right Crawling Tool for Your Site’s Size

Select a tool appropriate for your scale. Screaming Frog SEO Spider handles up to 500 URLs free and unlimited pages with a paid licence. Google Search Console’s Coverage report surfaces crawl errors as Google actually experiences them. Ahrefs Site Audit and Semrush Site Audit offer cloud-based scanning with scheduled automation. For quick single-page checks, the W3C Link Checker works well.

2

Configure and Launch a Full Site Crawl

Input your root domain and configure the crawler to follow all link types: HTML anchors, image src attributes, JavaScript-rendered links, sitemap URLs, and canonical tags. Enable external link checking if your tool supports it. Additionally, run the crawl during off-peak hours to minimise any impact on server performance and crawl accuracy.

3

Filter Results by Status Code and Prioritise

Export the results and filter by HTTP status code. Prioritise 404 and 410 errors appearing on pages with high organic traffic, strong backlink profiles, or significant internal link authority. A 404 on a page receiving thousands of monthly visits demands immediate attention. In contrast, one on an obscure archive page can be addressed later. Also flag redirect chains (301 → 301 → 200) for clean-up.

4

Implement the Correct Fix for Each Error Type

For internal broken links, either restore the missing page, implement a 301 redirect to the most relevant live page, or update the anchor to point to existing content. For external broken links, replace the URL with a working alternative or remove the link entirely if no replacement exists. Specifically for redirect chains, update the source link to point directly to the final destination URL.

5

Verify Fixes and Request Re-Indexing

After implementing fixes, re-crawl the affected URLs to confirm all errors are resolved. For high-priority pages, use Google Search Console’s URL Inspection tool to request re-indexing immediately. This signals to Google that the issue has been addressed and accelerates the recovery of any lost ranking positions.

6

Schedule Automated Recurring Scans

Set up automated monthly scans (or weekly for large sites) and configure Google Search Console alerts to catch new issues between audits. Furthermore, integrate broken link checking into your content publishing checklist — so every new post is verified before it goes live.

Website audit dashboard showing results of a broken links test with error codes listed

A typical broken links test dashboard highlights error URLs by status code, making prioritisation and batch-fixing straightforward.


Best Tools for Running a Broken Links Test in 2025

The right tool depends on your site’s size, technical setup, and budget. Here is a detailed comparison of the leading options currently available:

Tool Best For Cost Depth Checks External Links?
Google Search Console Monitoring crawl errors as Google sees them Free Medium No
Screaming Frog Deep technical site crawls, desktop-based Free / £259/yr Very High Yes
Ahrefs Site Audit Cloud audits with backlink data integration Paid (from $129/mo) High Yes
Semrush Site Audit Automated scheduled audits with reporting Paid (from $139/mo) High Yes
W3C Link Checker Quick spot-checks on individual pages Free Low Yes (per page)
Broken Link Checker (WP Plugin) WordPress sites needing continuous monitoring Free / Premium Medium Yes

Which Tool Should You Use?

For most small-to-medium sites, Google Search Console + Screaming Frog is the ideal combination. Google Search Console shows you the errors Google has actually encountered while crawling; Screaming Frog gives you a complete technical picture across all link types. Together, they cover both perspectives.

However, if your site publishes content frequently or has thousands of pages, a cloud-based platform like Ahrefs or Semrush is worth the investment. These tools run scheduled automated scans, alert you to new errors as they appear, and integrate broken link data with broader SEO metrics like keyword rankings and backlink profiles — making them significantly more efficient at scale.


How Often Should You Run a Broken Links Test?

Frequency depends on how actively your site is maintained and how much content you publish. As a general rule, the larger and more dynamic your site, the more frequently you need to run your broken links test.

  • Small blogs (under 100 pages): Quarterly scans are sufficient, with a manual check after any major content update or URL change.
  • Medium websites (100–1,000 pages): Monthly automated scans, supplemented by continuous Google Search Console monitoring.
  • Large e-commerce or news sites (1,000+ pages): Weekly automated crawls, with real-time alerting configured for critical product and landing pages.
  • After any site migration or redesign: Run a complete broken links test immediately before and after the transition to catch every moved or deleted URL.
  • After bulk content deletion or archiving: Run a targeted scan immediately to ensure all removed pages have proper redirects in place.

Notably, external links deserve special attention on their own schedule. Third-party sites can disappear or restructure at any time, and your crawling tool won’t catch those changes unless you specifically include external link checking. Consequently, a quarterly external link audit is advisable even for sites that run monthly internal crawls.


Fixing Broken Links: Four Remediation Strategies Explained

Once your broken links test surfaces errors, you have four primary remediation strategies. The right choice depends on whether the broken link is internal or external, whether the missing page had significant authority, and whether a natural replacement exists.

✅ 301 Redirect

The gold standard fix. Permanently redirects the broken URL to the most relevant live page, preserving link equity and user experience simultaneously. Use this whenever a logical destination page exists.

✏️ Update the Link

Edit the anchor href to point directly to the correct, live URL. Best used when content has moved to a new address without a redirect in place, or when you want to bypass a redirect chain for efficiency.

🗑️ Remove the Link

If no suitable replacement exists, remove the link entirely. For external links especially, it is better to cite no source than to point users to a dead page. Remove confidently when the referenced resource no longer adds value.

🔧 Recreate the Page

If the missing page had strong backlinks, significant traffic history, or important internal link equity, recreating the content at the original URL recovers that authority. This strategy offers the highest SEO upside when a page was deleted accidentally.

A Note on Redirect Chains

When fixing broken links via 301 redirects, always point directly to the final destination URL. In other words, avoid creating redirect chains by sending broken URL → redirect 1 → redirect 2 → live page. Each hop in a chain dilutes the link equity being passed and adds unnecessary latency. Instead, configure every redirect to point in a single step to its final destination.


Preventing Broken Links Before They Happen

The best broken links test is one that finds nothing to fix. Building prevention habits into your content workflow dramatically reduces the volume of errors you’ll need to address reactively. Here are the most effective strategies:

  • Always set up 301 redirects before deleting or renaming any page — not after.
  • Use relative URLs for internal links where possible; they survive domain migrations cleanly.
  • Audit external links quarterly — third-party sites change structure without warning.
  • Maintain a URL change log during redesigns to track every moved or deleted page.
  • Link to authoritative, institutionally stable sources (government sites, academic journals, major publications) that are unlikely to disappear.
  • Use the Wayback Machine to find archived versions of dead external pages — and update your links to point to the archived copy as a fallback.
  • Integrate a broken link check into your CMS publishing workflow so every new page is verified before it goes live.

Prevention also means thinking strategically about your content architecture. Sites with a well-planned internal linking structure are inherently more resilient because each page has multiple entry points, reducing the damage any single broken link can cause. Furthermore, pages that are well-connected internally are more likely to be recrawled quickly after a fix — accelerating your recovery from any link-related ranking dip.

For a deeper understanding of how content structure affects ranking performance, see our guide on how content length impacts SEO rankings.

Before and after comparison of a website before and after running a broken links test and fixing errors

The difference between an unaudited site and one maintained with regular broken links testing is stark — for both users and search engines.


Broken Links Test for Specific Site Types

The approach to running a broken links test varies meaningfully depending on your platform and site type. Here is how to adapt the process for the most common scenarios:

WordPress Sites

WordPress users benefit from dedicated plugins that run a continuous broken links test in the background. The Broken Link Checker plugin monitors all post and page content, comments, and custom fields. However, be aware that on shared hosting, this plugin can cause performance issues. For larger WordPress sites, it is often better to use Screaming Frog or Ahrefs Site Audit instead of a live plugin.

E-Commerce Sites (Shopify, WooCommerce)

E-commerce platforms are particularly vulnerable to broken links because product pages are regularly added, removed, and restructured. Specifically, out-of-stock product pages that are deleted rather than redirected create a high volume of 404 errors very quickly. In addition, category restructuring during seasonal promotions can break dozens of internal links at once. Weekly broken links tests are therefore strongly recommended for active online stores.

News and Publishing Sites

High-volume publishing sites are particularly susceptible to broken external links because they cite a large number of third-party sources, many of which change or disappear over time. For these sites, a regular external link audit — separate from the internal crawl — is essential. Tools like Ahrefs Site Audit allow you to run these as distinct, scheduled jobs.

JavaScript-Heavy and Single-Page Applications (SPAs)

Standard crawlers may miss links rendered entirely by JavaScript. Therefore, when running a broken links test on a React, Angular, or Vue-based site, use a JavaScript-rendering crawler. Screaming Frog offers JavaScript rendering mode; Google Search Console also captures JavaScript-rendered links as Google itself encounters them. Both together give you the most complete picture.


Frequently Asked Questions About Broken Links Tests

Do broken links hurt SEO directly?

Yes. Broken links hurt SEO by wasting crawl budget, blocking link equity flow, and signalling poor site quality to search algorithms. They also increase bounce rates, which is a secondary negative signal for user experience metrics. Additionally, a site with many broken links may be perceived as low-quality or neglected by both users and search engine evaluators.

What HTTP status codes does a broken links test flag?

A comprehensive broken links test flags 404 Not Found (most common), 410 Gone (permanently removed), 500 Internal Server Error, and 503 Service Unavailable as confirmed broken or problematic links. It should also flag 302 temporary redirects used where a 301 would be more appropriate, and redirect chains (multiple sequential 301s) that dilute link equity.

What is the best free tool to run a broken links test?

Google Search Console is the best free starting point for most sites — it shows errors Google has actually encountered while crawling. Screaming Frog’s free tier (up to 500 URLs) adds deeper technical crawling capability across all link types. For individual page checks, the W3C Link Checker is fast and reliable. Together, these three free tools cover most small-to-medium site needs comprehensively.

Can broken external links harm my site even though I didn’t create them?

Yes. Even outbound links you added in good faith can become broken when third-party sites change their URL structure or go offline. These still reflect on your site’s quality from both a user experience and editorial standards perspective. Regular external link audits are therefore an essential part of any complete broken links test strategy.

How long does a broken links test take to run?

Speed depends on the tool and your site’s size. A Screaming Frog crawl of a 500-page site typically completes in 5–20 minutes on a standard connection. Cloud-based tools like Ahrefs and Semrush run audits asynchronously, returning results within 30 minutes to a few hours for large sites. Google Search Console surfaces errors continuously and passively, with no manual crawl required.

Should I fix all broken links or just the high-traffic ones?

Ideally, fix all broken links — but prioritise strategically. Start with broken links on high-traffic pages, pages with strong backlink profiles, and pages that are critical to your conversion funnel. Subsequently, work through lower-priority errors systematically. No broken link is harmless, but some are far more urgent than others.

Does fixing broken links improve Google rankings quickly?

The timeline varies. For pages with significant authority and traffic, fixing broken links can produce ranking improvements within a few weeks once Google recrawls the updated URLs. Using the URL Inspection tool in Google Search Console to request re-indexing accelerates this process. For low-traffic pages, improvements may take several months to materialise as Google recrawls on its normal schedule.


Conclusion

A consistent broken links test is one of the highest-ROI maintenance tasks any site owner can perform. Dead links cost you crawl budget, link equity, user trust, and ultimately rankings — all of which compound quietly over time if left unaddressed. By running regular audits with the right tools, prioritising high-impact fixes, understanding the full range of HTTP error codes that signal broken links, and building prevention habits into your publishing workflow, you protect everything your content strategy has built — and give search engines every reason to rank your site above competitors who let link rot take hold.

For a deeper dive into maintaining a high-performing site, explore the full suite of technical and content SEO resources at rankauthority.com — your link health is just one piece of a larger optimisation picture.

Leave a Reply

Your email address will not be published. Required fields are marked *

Featured Posts

Categories

contact us
close slider

Let’s Talk AI Search

We typically respond within the hour.

Send a Message

We’ll get back to you as soon as possible.