This module is part of the Analyze module ecosystem and included in DXPR CMS.

Every Broken Link Costs You Visitors and Rankings

Google penalises pages with broken links. Visitors who hit a 404 leave and don't come back. Analyze Broken Links finds every dead link across your Drupal site, automatically and continuously, so you can fix them before they cost you traffic.

Broken Links full report showing link health table with URL, Status, Link Text, and Last Checked columns

You need Analyze Broken Links if

How It Works

Enable the module, select which content types to monitor, and you're done. Broken links scanning starts automatically on cron; no manual batch runs required. Every page gets a link health score visible in the Analyze tab, and a site-wide report surfaces every broken URL with a direct link to the content that needs fixing.

Broken links health gauge showing the percentage of healthy links on a colour-coded scale for a content page

What You Get

Broken links report table listing URLs with HTTP status codes, link text, and last checked timestamps

Getting Started

  1. Install with Composer: composer require drupal/analyze_broken_links
  2. Enable the module and select which content types to monitor at /admin/config/content/analyze-settings
  3. That's it; scanning starts automatically on the next cron run

For immediate results, run a batch scan via drush analyze:batch --analyzers=analyze_broken_links_checker or the centralised batch UI at /admin/config/content/analyze-batch. Fine-tune timeouts, exclusion patterns, and which HTTP status codes count as "broken" in the Settings tab.

Prefer a turnkey demo site?

Spin up DXPR CMS: Drupal pre-configured with DXPR Builder, DXPR Theme, the full Analyze suite including Broken Links, and security best practices out of the box.

Get DXPR CMS »

Additional requirements

This module requires:

No API keys, no external services, no subscription fees. Link checking runs entirely on your server using Drupal core's built-in HTTP client.

FAQ

Does Analyze Broken Links require an AI provider or external service?

No. Link checking runs entirely on your server using Drupal core's built-in HTTP client. There are no API keys, no external services, and no subscription fees. The module checks both internal and external links by making HTTP requests directly from your Drupal installation.

How does the deduplication work?

If fifty pages link to the same URL, the module checks that URL once and shares the result across all pages that reference it. This avoids redundant requests, prevents rate-limiting problems with external sites, and keeps cron runs fast even on large sites with thousands of links.

Can I exclude specific URLs or patterns from checking?

Yes. The module's settings page lets you define exclusion patterns for URLs that should not be checked, such as localhost addresses, staging URLs, or known-slow external services. You can also configure which HTTP status codes count as "broken" and adjust connection timeouts.

Related Modules

Analyze Broken Links is part of the Analyze suite included in DXPR CMS, a turnkey marketing CMS for Drupal that combines content analysis, a premium Drupal theme, and a drag-and-drop layout builder. See getting started or explore pricing.