lindemannrock/craft-redirect-manager

Intelligent redirect management and 404 handling for Craft CMS

Maintainers

Package info

github.com/LindemannRock/craft-redirect-manager

Documentation

Type:craft-plugin

pkg:composer/lindemannrock/craft-redirect-manager

Statistics

Installs: 265

Dependents: 3

Suggesters: 0

Stars: 0

Open Issues: 0

5.36.0 2026-06-30 22:32 UTC

README

Redirect Manager

Redirect Manager for Craft CMS

Latest Version Craft CMS PHP Logging Library License

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

License

This plugin is licensed under the Craft License. See LICENSE.md for details.

Developed by LindemannRock