lindemannrock / craft-redirect-manager
Intelligent redirect management and 404 handling for Craft CMS
Package info
github.com/LindemannRock/craft-redirect-manager
Type:craft-plugin
pkg:composer/lindemannrock/craft-redirect-manager
5.36.0
2026-06-30 22:32 UTC
Requires
- php: ^8.2
- craftcms/cms: ^5.10
- lindemannrock/craft-logging-library: ^5.13.1
- lindemannrock/craft-plugin-base: ^5.32
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- phpunit/phpunit: ^11.0
- yiisoft/yii2-redis: ^2.0
This package is auto-updated.
Last update: 2026-06-30 22:33:54 UTC
README
Redirect Manager for Craft CMS
Intelligent redirect management and 404 handling for Craft CMS.
Features
- Automatic 404 Handling — catches all 404s and attempts to redirect
- Multiple Match Types — exact, contains, regex, wildcard, prefix
- Auto-Redirect Creation — creates redirects when entry URIs change with undo detection
- Rich Analytics — track 404s with device, browser, OS, geographic data, and bot detection
- Geographic Detection — visitor location via ip-api.com, ipapi.co, or ipinfo.io
- CSV Import/Export — import redirects (up to 4000 rows) and export analytics
- Backup System — automatic/scheduled backups with retention and restore
- Smart Caching — file or Redis caching for fast redirect lookups
- Multi-Site Support — site-specific or global redirects
- GraphQL Support — resolve redirects and list enabled redirects for headless/SPAs
- Read-only JSON API — expose enabled redirects to static builds, SPAs, edge workers, or backend integrations
- In-CP API testing — try the JSON API and download a Postman collection without leaving Craft
- Plugin Integration — pluggable architecture for other plugins to handle 404s
- Privacy-First — salted IP hashing, optional subnet masking, GDPR-friendly
- Query String Control — strip, preserve, or consolidate query strings
- URL Filtering — exclude bot/scanner/system URLs with regex, plus one-click recommended, WordPress, and security-probe presets
Requirements
- Craft CMS 5.10+
- PHP 8.2+
- Logging Library 5.13.1+ (installed automatically)
Installation
Composer
composer require lindemannrock/craft-redirect-manager && php craft plugin/install redirect-manager
DDEV
ddev composer require lindemannrock/craft-redirect-manager && ddev craft plugin/install redirect-manager
Post-install
Generate the IP hash salt used by privacy-conscious analytics:
php craft redirect-manager/security/generate-salt
ddev craft redirect-manager/security/generate-salt
Documentation
Full documentation is available in the docs folder.
Postman collection setup notes are available in postman/README.md.
Support
- Issues: GitHub Issues
- Email: support@lindemannrock.com
License
This plugin is licensed under the Craft License. See LICENSE.md for details.
Developed by LindemannRock
