Introduction
Redirects normally sit in the database until someone notices a 404 report. Extend Redirect catches broken ones automatically - on save, on page delete/hide and in bulk via the Scheduler.
Features
- Health check - every redirect target is verified, either by following it through a
frontend sub-request (
requestmode) or purely against thepages/sys_tables (redirect databasemode). Redirects whose target no longer resolves are disabled. - Self-healing targets - page targets are rewritten to
t3://; chains of up to 10 redirects are flattened to the final page.page?uid=... - Re-check on edit - changing a target re-enables and re-checks the redirect.
- Page delete/hide protection - redirects pointing to a deleted or hidden page are disabled with a logged reason.
- Broken-redirect filter in the Redirects module.
- Disable log - reason, source, target and timestamp of every automatic disabling.
- CSV import - semicolon-separated, with validation of hosts and duplicate source paths.
- Email notification (optional) - a mail when a redirect is disabled, as one summary mail per run or one mail per redirect; off by default, see Email notification.
- Commands -
extendredirect:andcheckredirects extendredirect:, both schedulable.cleanuplog