This project is not covered by Drupal’s security advisory policy.
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.
-
AI Coding Assistant Integration
Broken link analysis is available to AI coding
assistants through the Analyze module's built-in
Agent
Skills file. Run
drush analyze:setup-aito enable, then ask
naturally:- "Check all pages for broken links"
- "Show me the broken link report for the
site" - "Recheck all stale URLs"
- "Run broken link and sentiment analysis together
on articles"
Compatible with Claude Code, Codex CLI, Gemini CLI,
GitHub Copilot, Cursor, and other tools supporting the
standard.
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 via drush analyze:batch --analyzers=analyze_broken_links_checker or the centralized 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.
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.
Related Modules
- Analyze - Required. Provides the plugin framework, Analyze tab, and batch processing this module extends
- AI Content Marketing Audit - Sibling Analyze plugin that scores marketing effectiveness using AI
- AI Content Security Audit - Sibling Analyze plugin that detects PII and credential leaks using AI
- AI Sentiments Analysis - Sibling Analyze plugin that measures tone, trust, and reading level using AI
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.
Project information
- Project categories: Search engine optimization (SEO)
- Ecosystem: Analyze, Drupal CMS SEO Tools
2 sites report using this module
- Created by jurriaanroelofs on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
"Check all pages for broken links" - first stable release with AI agent batch processing support
