redirect_audit
185 sites
Security covered
Redirect Audit provides detailed technical reports on redirect chains and loops in your Drupal site. It helps site builders, SEO specialists, and administrators identify and fix redirect issues that impact performance and search rankings.
The module automatically detects multi-step redirect chains (A→B→C) and loops (A→B→A), providing tools to resolve them with a single click.
It is especially useful for site migrations, SEO audits, performance optimization, and ongoing maintenance.
Key Features
- Automated detection of redirect chains and loops
- Visual dashboard showing complete redirect paths
- One-click bulk fix for all detected chains
- Queue-based processing for large redirect databases
- Configurable scan depth (5-50 levels)
- Batch operations to prevent timeouts
Available Operations
Audit
- Scan All Redirects: Analyzes every redirect to detect chains and loops
- Chain Detection: Identifies multi-step redirect sequences
- Loop Detection: Finds circular redirect references
- Statistics Dashboard: Displays chains found, loops detected, and redirect counts
Fix
- Automatic Chain Resolution: Updates source redirects to final destinations
- Safe Operation: Loops flagged for manual review (cannot be auto-fixed)
Monitor
- Real-time Scanning: Automatically detects changes when redirects are created or modified
- Optional Auto-fix: Automatically resolve chains as they're detected
Configuration Options
Audit settings /admin/config/search/redirect/audit/settings displays:
- Scan on Change: Enable/disable automatic scanning when redirects are modified
- Auto-fix Enabled: Choose between manual review or automatic chain resolution
- Batch Size: Number of redirects to process per batch
- Maximum Chain Depth: How deep to follow redirect chains
Reports Dashboard
The main dashboard at /admin/config/search/redirect/audit displays:
- Summary Statistics: Total chains, loops, and redirects analyzed
- Results Table: Source path, intermediate links, target path, and issue type
- Clickable Chain Paths: Navigate directly to redirect edit forms
- Action Buttons: Audit, Fix, and Clear operations
Common Use Cases
- Site Migrations: Clean up complex redirect structures after content migration
- SEO Audits: Identify and fix redirect issues hurting search rankings
- Performance Optimization: Reduce page load time by eliminating redirect chains
- Ongoing Maintenance: Continuous monitoring prevents redirect problems from accumulating
Related Projects
- Redirect – Base redirect functionality (required)
Do you have suggestions for improvement? Please open a feature request.