analyze_broken_links
This module is part of the Analyze module ecosystem and included in DXPR CMS.
Every Broken Link Costs You Visitors and Rankings
Google penalizes 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, continuously — so you can fix them before they cost you traffic.
You need Analyze Broken Links if
- Your site links to external resources that change, move, or disappear without warning
- You've deleted or restructured pages and aren't sure what still points to them
- Your content editors add links but nobody checks whether they still work six months later
- You need broken link data for content audits, SEO reviews, or site health monitoring
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.
What You Get
-
Link health score per page
A visual gauge on every content entity showing what percentage of links are healthy — so content editors can see at a glance which pages need attention.
-
Site-wide broken links report
One filterable table showing every broken URL, the HTTP status code, and which content contains it — with an Edit button to fix the problem in one click.
-
Automatic daily rechecking
Links break over time. The module rechecks URLs every 24 hours (configurable) via cron, so you always have current data without lifting a finger.
-
Status report warnings
When broken links are found, a warning appears on the Drupal status report page — the same place you already check for security updates and site health.
-
Fast, efficient checking
Checks multiple links simultaneously. If fifty pages link to the same URL, it's checked once and the result is shared. No wasted requests, no rate-limiting problems.
-
Drush commands
Scan content, check individual pages, view reports, and trigger rechecks from the command line — useful for CI pipelines, deployment scripts, and scheduled jobs.
Getting Started
- Install with Composer:
composer require drupal/analyze_broken_links - Enable the module and select which content types to monitor at /admin/config/content/analyze-settings
- That's it — scanning starts automatically on the next cron run
For immediate results, run a batch scan at /admin/config/analyze/broken-links (Batch Analysis tab). 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.
Additional requirements
This module requires:
- Analyze module (>=1.1.0)
No API keys, no external services, no subscription fees. Link checking runs entirely on your server using Drupal core's built-in HTTP client.