PHPackages                             marcelweidum/redirect - 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. marcelweidum/redirect

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

marcelweidum/redirect
=====================

Craft redirect plugin provides an easy way to enter and maintain 301 and 302 redirects and 404 error pages.

2.0.3(1y ago)054MITPHP

Since Dec 13Pushed 1y agoCompare

[ Source](https://github.com/MarcelWeidum/craft-plugin-redirect)[ Packagist](https://packagist.org/packages/marcelweidum/redirect)[ RSS](/packages/marcelweidum-redirect/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Craft CMS 4.x Redirect Manager
==============================

[](#craft-cms-4x-redirect-manager)

Craft plugin that provides an easy way to enter and maintain 301 and 302 redirects. The plugin provides a clear user interface for admin and non-admin users.

This is particularly useful if you are migrating pages from an old website and want to avoid dead links and want to keep the page ranks for the SEO. But also useful if you are making (big) changes in the site (url) structure.

The plugin registers and shows the last hit date and hit count per visited redirect.

As a new (experimental) feature the redirect also give you the ability to enable a catch all page to handle all the not existing urls. The plugin will register and count the hits on this not existing pages in a different section and makes it easy to create new redirect rules directly from missed / not existing URLs by simply clicking on the URL.

**Note**: This plugin may become a paid add-on when the Craft Plugin store becomes available.

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

[](#requirements)

This plugin requires Craft CMS 4.0 or later.

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

[](#installation)

[Click here](INSTALL.md) for the installation readme.

### Example of the redirect overview

[](#example-of-the-redirect-overview)

[![Screenshot](resources/screenshots/redirects_overview_example_rc5.png)](resources/screenshots/redirects_overview_example_rc5.png)

### Example of the missed URLs overview

[](#example-of-the-missed-urls-overview)

[![Screenshot](resources/screenshots/catchall_overview_example_rc5.png)](resources/screenshots/catchall_overview_example_rc5.png)

### Settings screen

[](#settings-screen)

[![Screenshot](resources/screenshots/settings_overview_example_rc5.png)](resources/screenshots/settings_overview_example_rc5.png)

Using the Redirect plugin
-------------------------

[](#using-the-redirect-plugin)

You can use the Redirect plugin to redirect simple routes but also use it for more advanced route matches. See some examples below.

### Simple redirect exact match

[](#simple-redirect-exact-match)

Source URL:

```
oldpage/wont/work/anymore

```

Destination URL:

```
newpage/will/work/again

```

### Simple redirect to an other (sub)domain

[](#simple-redirect-to-an-other-subdomain)

Source URL:

```
oldpage/wont/work/anymore

```

Destination URL:

```
https://www.newwebsite.com/newpage/will/work/again

```

### More advanced redirect with a parameter

[](#more-advanced-redirect-with-a-parameter)

Source URL:

```
category//overview.php

```

Destination URL:

```
overview/category//index.html

```

[Click here](RULES.md) for the complete overview of rule examples.

Redirect Manager Roadmap
------------------------

[](#redirect-manager-roadmap)

Potential features:

- Dashboard with statistics
- CSV import/export of the redirects
- Add a priority property for (partly) overlapping urls

### Created by

[](#created-by)

- Dolphiq - Johan Zandstra - dolphiq.nl
- Venveo - Ransom Roberson - venveo.com

### Other Contributors

[](#other-contributors)

- 24hoursmedia
- Mosnar
- boscho87
- HelgeSverre
- ohlincik

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance40

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.9% 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 ~48 days

Total

2

Last Release

509d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9413586?v=4)[Marcel](/maintainers/marcelweidum)[@MarcelWeidum](https://github.com/MarcelWeidum)

---

Top Contributors

[![johanzandstra](https://avatars.githubusercontent.com/u/4737521?v=4)](https://github.com/johanzandstra "johanzandstra (148 commits)")[![rickdegraaf-dq](https://avatars.githubusercontent.com/u/56675920?v=4)](https://github.com/rickdegraaf-dq "rickdegraaf-dq (8 commits)")[![MarcelWeidum](https://avatars.githubusercontent.com/u/9413586?v=4)](https://github.com/MarcelWeidum "MarcelWeidum (5 commits)")[![kringkaste](https://avatars.githubusercontent.com/u/964698?v=4)](https://github.com/kringkaste "kringkaste (4 commits)")[![JoshC96](https://avatars.githubusercontent.com/u/31444107?v=4)](https://github.com/JoshC96 "JoshC96 (3 commits)")[![dolphiq-allard](https://avatars.githubusercontent.com/u/4312073?v=4)](https://github.com/dolphiq-allard "dolphiq-allard (3 commits)")[![Mosnar](https://avatars.githubusercontent.com/u/3810939?v=4)](https://github.com/Mosnar "Mosnar (3 commits)")[![barbarj](https://avatars.githubusercontent.com/u/2942306?v=4)](https://github.com/barbarj "barbarj (2 commits)")[![dennisadriaans](https://avatars.githubusercontent.com/u/9150766?v=4)](https://github.com/dennisadriaans "dennisadriaans (2 commits)")[![boscho87](https://avatars.githubusercontent.com/u/11815871?v=4)](https://github.com/boscho87 "boscho87 (2 commits)")[![sergeifilippov](https://avatars.githubusercontent.com/u/123676?v=4)](https://github.com/sergeifilippov "sergeifilippov (1 commits)")[![brandonkelly](https://avatars.githubusercontent.com/u/47792?v=4)](https://github.com/brandonkelly "brandonkelly (1 commits)")[![dwheeldo](https://avatars.githubusercontent.com/u/47947013?v=4)](https://github.com/dwheeldo "dwheeldo (1 commits)")[![HelgeSverre](https://avatars.githubusercontent.com/u/1089652?v=4)](https://github.com/HelgeSverre "HelgeSverre (1 commits)")[![iparr](https://avatars.githubusercontent.com/u/497635?v=4)](https://github.com/iparr "iparr (1 commits)")[![leigh-ochsner](https://avatars.githubusercontent.com/u/164410967?v=4)](https://github.com/leigh-ochsner "leigh-ochsner (1 commits)")[![nikolenko-dmitriy](https://avatars.githubusercontent.com/u/65535954?v=4)](https://github.com/nikolenko-dmitriy "nikolenko-dmitriy (1 commits)")[![ohlincik](https://avatars.githubusercontent.com/u/1297647?v=4)](https://github.com/ohlincik "ohlincik (1 commits)")[![RobWouters](https://avatars.githubusercontent.com/u/345230?v=4)](https://github.com/RobWouters "RobWouters (1 commits)")[![24hoursmedia-craftcms](https://avatars.githubusercontent.com/u/37671572?v=4)](https://github.com/24hoursmedia-craftcms "24hoursmedia-craftcms (1 commits)")

---

Tags

cmsredirectCraftcraftcmscraft-pluginseocraft3

### Embed Badge

![Health badge](/badges/marcelweidum-redirect/health.svg)

```
[![Health](https://phpackages.com/badges/marcelweidum-redirect/health.svg)](https://phpackages.com/packages/marcelweidum-redirect)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M51](/packages/nystudio107-craft-seomatic)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24142.6k12](/packages/verbb-hyper)

PHPackages © 2026

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