PHPackages                             recranet/craft-redirects - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. recranet/craft-redirects

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

recranet/craft-redirects
========================

Simple redirect management for Craft CMS

1.2.0(2w ago)0431MITPHP

Since Mar 10Pushed 2w agoCompare

[ Source](https://github.com/recranet/craft-redirects)[ Packagist](https://packagist.org/packages/recranet/craft-redirects)[ RSS](/packages/recranet-craft-redirects/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

Craft Redirects
===============

[](#craft-redirects)

A redirect management plugin for Craft CMS 5. Manage URL redirects — all from the control panel.

Features
--------

[](#features)

- **Exact &amp; regex redirects** with support for captured groups (`$1`, `$2`, etc.)
- **301, 302, 307, 308** status codes
- **Chain detection** — warns when a redirect points to another redirect's source URL
- **Search &amp; sort** — filter and sort redirects by any column
- **Bulk actions** — enable, disable, or delete multiple redirects at once
- **CSV import/export** — import redirects from CSV or export your full list
- **Labels &amp; notes** — organize redirects with optional metadata

Requirements
------------

[](#requirements)

- Craft CMS 5.0 or later
- PHP 8.2 or later

Installation
------------

[](#installation)

```
composer require custom/craft-redirects
php craft plugin/install redirects
```

Usage
-----

[](#usage)

After installation, a **Redirects** item appears in the control panel sidebar with three sections:

### Redirects

[](#redirects)

Create and manage redirects. Each redirect has:

FieldDescriptionFrom URLThe path to redirect from (must start with `/`)To URLThe destination URLTypeHTTP status code (301, 302, 307, 308)Match Type`exact` or `regex`LabelOptional label for organizationNotesOptional notes**Exact match** redirects are case-insensitive and normalize trailing slashes — `/old-page` and `/old-page/` are treated the same.

**Regex match** redirects use PCRE patterns. Captured groups can be referenced in the destination URL:

From URLTo URLExample`/blog/(\d{4})/(.*)``/articles/$1/$2``/blog/2024/my-post` -&gt; `/articles/2024/my-post`### Import

[](#import)

Import redirects from a CSV file. The import flow provides column mapping and a preview before importing. An example CSV is available for download.

###  Health Score

40

↑

FairBetter than 86% of packages

Maintenance97

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Total

4

Last Release

16d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdd6d6951efb85c875a00f2ff0e04c4be6bfc2d5943d37cdafd510cd68d3878b?d=identicon)[recranet](/maintainers/recranet)

---

Top Contributors

[![liamyves](https://avatars.githubusercontent.com/u/217174196?v=4)](https://github.com/liamyves "liamyves (3 commits)")[![rensmaljers](https://avatars.githubusercontent.com/u/72763052?v=4)](https://github.com/rensmaljers "rensmaljers (1 commits)")

### Embed Badge

![Health badge](/badges/recranet-craft-redirects/health.svg)

```
[![Health](https://phpackages.com/badges/recranet-craft-redirects/health.svg)](https://phpackages.com/packages/recranet-craft-redirects)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393813.5k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
