PHPackages                             winter/wn-redirect-plugin - 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. winter/wn-redirect-plugin

ActiveWinter-plugin

winter/wn-redirect-plugin
=========================

Advanced redirect plugin for Winter CMS.

v4.1.0(10mo ago)1028.4k↓29.4%9GPL-2.0-onlyPHPPHP ^8.1CI failing

Since Aug 31Pushed 9mo ago3 watchersCompare

[ Source](https://github.com/wintercms/wn-redirect-plugin)[ Packagist](https://packagist.org/packages/winter/wn-redirect-plugin)[ GitHub Sponsors](https://github.com/wintercms)[ Fund](https://opencollective.com/wintercms)[ RSS](/packages/winter-wn-redirect-plugin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (63)Used By (0)

Redirect Plugin
===============

[](#redirect-plugin)

[![Banner](https://github.com/wintercms/wn-redirect-plugin/raw/main/.github/banner.png?raw=true)](https://github.com/wintercms/wn-redirect-plugin/raw/main/.github/banner.png?raw=true)

[![Version](https://camo.githubusercontent.com/97a225027b4b4b8adc7f8e8ce2ab6b69d74826087b26bd795b2e418d1631aed1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f77696e746572636d732f776e2d72656469726563742d706c7567696e3f736f72743d73656d766572267374796c653d666c61742d737175617265)](https://github.com/wintercms/wn-redirect-plugin/releases)[![Packagist PHP Version Support](https://camo.githubusercontent.com/6106764ecf8d479fb79dc9fc65b563353a0b1c0167c585865bea6a89937852fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77696e7465722f776e2d72656469726563742d706c7567696e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6106764ecf8d479fb79dc9fc65b563353a0b1c0167c585865bea6a89937852fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77696e7465722f776e2d72656469726563742d706c7567696e3f7374796c653d666c61742d737175617265)[![License](https://camo.githubusercontent.com/30fb2d5c0173f16de62be1a9f6d67da2fc82f5786c5831133009a7f17cd4260e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77696e746572636d732f776e2d72656469726563742d706c7567696e3f6c6162656c3d6f70656e253230736f75726365267374796c653d666c61742d737175617265)](https://packagist.org/packages/winter/wn-redirect-plugin)[![Discord](https://camo.githubusercontent.com/9ccde68755bc7666e40d293b454327a4315cb3ed8e7839dfaee5d6dc46fc5d01/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3831363835323531333638343139333238313f6c6162656c3d646973636f7264267374796c653d666c61742d737175617265)](https://discord.gg/D5MFSPH6Ux)

Manage all your HTTP redirects with an easy to use GUI. This is an essential SEO plugin. With this plugin installed you can manage redirects directly from Winter's beautiful interface. Many webmasters and SEO specialists use redirects to optimise their website for search engines.

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

[](#installation)

This plugin is available for installation via [Composer](http://getcomposer.org/).

```
composer require winter/wn-redirect-plugin
```

After installing the plugin you will need to run the migrations and (if you are using a [public folder](https://wintercms.com/docs/develop/docs/setup/configuration#using-a-public-folder)) [republish your public directory](https://wintercms.com/docs/develop/docs/console/setup-maintenance#mirror-public-files).

```
php artisan migrate
```

Features
--------

[](#features)

- **Quick** matching algorithm
- A **test** utility for redirects
- Matching using **placeholders** (dynamic paths)
- Matching using **regular expressions**
- **Exact** path matching
- **Importing** and **exporting** redirect rules
- **Schedule** redirects (e.g. active for 2 months)
- Redirect to **external** URLs
- Redirect to **internal** CMS pages
- Redirect to relative or absolute URLs
- Redirect **log**
- **Categorize** redirects
- **Statistics**
    - Hits per redirect
    - Popular redirects per month (top 10)
    - Popular crawlers per month (top 10)
    - Number of redirects per month
    - And more...
- Multilingual ***(Need help translating!)***
- Supports MySQL, SQLite and Postgres
- HTTP status codes 301, 302, 303, 404, 410
- Caching

History
-------

[](#history)

- 2016: Originally built by Alwin Drenth, a Software Engineer at Van der Let &amp; Partners.
- 2018: The plugin is re-distributed under the vendor name VDLP.Redirect (formerly known as Adrenth.Redirect).
- 2022: The plugin is forked by the Winter CMS maintainers and made available for Winter CMS as Winter.Redirect

The Winter.Redirect plugin is currently maintained by the Winter CMS maintainers and you (the open-source community).

What does this plugin offer?
----------------------------

[](#what-does-this-plugin-offer)

This plugin adds a 'Redirects' section to the main menu of Winter CMS. This plugin has a unique and fast matching algorithm to match your redirects before your website is being rendered.

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

[](#requirements)

- Winter CMS 1.1 or higher.
- PHP version 7.4 or higher.
- PHP extensions: `ext-curl` and `ext-json`.

Supported database platforms
----------------------------

[](#supported-database-platforms)

- MySQL
- Postgres
- SQLite

Supported HTTP status codes
---------------------------

[](#supported-http-status-codes)

- `HTTP/1.1 301 Moved Permanently`
- `HTTP/1.1 302 Found`
- `HTTP/1.1 303 See Other`
- `HTTP/1.1 404 Not Found`
- `HTTP/1.1 410 Gone`

Supported HTTP request methods
------------------------------

[](#supported-http-request-methods)

- `GET`
- `POST`
- `HEAD`

Performance
-----------

[](#performance)

All redirects are stored in the database and will be automatically "published" to a file which the internal redirect mechanism uses to determine if a certain request needs to be redirected. This is way faster than querying a database.

This plugin is designed to be fast and should have no negative effect on the performance of your website.

To gain maximum performance with this plugin:

- Enable redirect caching using a "in-memory" caching method (see Caching).
- Maintain your redirects frequently to keep the number of redirects as low as possible.
- Try to use placeholders to keep your number of redirect low (less redirects is better performance).

Caching
-------

[](#caching)

If your website has a lot of redirects it is recommended to enable redirect caching. You can enable redirect caching in the settings panel of this plugin.

Only cache drivers which support tagged cache are supported. So driver `file` and `database` are not supported. For this plugin database and file caching do not increase performance, but can actually have a negative influence on performance. So it is recommended to use an in-memory caching solution like `memcached` or `redis`.

### How caching works

[](#how-caching-works)

If caching is enabled (and supported) every request which is handled by this plugin will be cached. It will be stored with tag `Winter.Redirect`.

When you modify a redirect all redirect cache will be invalidated automatically. It is also possible to manually clear the cache using the 'Clear cache' button in the Backend.

Placeholders
------------

[](#placeholders)

This plugin makes advantage of the `symfony/routing` package. So if you need more info on how to make placeholder requirements for your redirection URLs, please go to:

Contribution
------------

[](#contribution)

Please feel free to [contribute](https://github.com/wintercms/wn-redirect-plugin) to this awesome plugin.

Questions? Need help?
---------------------

[](#questions-need-help)

If you have any question about how to use this plugin, please don't hesitate to contact us via the Winter CMS [Discord](https://discord.gg/D5MFSPH6Ux). We're happy to help you.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance55

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83.3% 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 ~43 days

Recently: every ~273 days

Total

59

Last Release

306d ago

Major Versions

1.10.5 → 2.0.02020-03-26

2.6.0 → 3.0.02022-02-19

3.0.3 → v4.0.12022-04-16

PHP version history (4 changes)2.0.0PHP ^7.1.3

2.5.10PHP ^7.1.3 || ^8.0

3.0.0PHP ^7.4 || ^8.0

v4.1.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7253840?v=4)[Luke Towers](/maintainers/LukeTowers)[@LukeTowers](https://github.com/LukeTowers)

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (289 commits)")[![LukeTowers](https://avatars.githubusercontent.com/u/7253840?v=4)](https://github.com/LukeTowers "LukeTowers (26 commits)")[![bennothommo](https://avatars.githubusercontent.com/u/15900351?v=4)](https://github.com/bennothommo "bennothommo (7 commits)")[![mjauvin](https://avatars.githubusercontent.com/u/2013630?v=4)](https://github.com/mjauvin "mjauvin (7 commits)")[![WebVPF](https://avatars.githubusercontent.com/u/61043464?v=4)](https://github.com/WebVPF "WebVPF (4 commits)")[![jaxwilko](https://avatars.githubusercontent.com/u/31214002?v=4)](https://github.com/jaxwilko "jaxwilko (3 commits)")[![juanmarin97](https://avatars.githubusercontent.com/u/8534968?v=4)](https://github.com/juanmarin97 "juanmarin97 (2 commits)")[![FlusherDock1](https://avatars.githubusercontent.com/u/20070837?v=4)](https://github.com/FlusherDock1 "FlusherDock1 (2 commits)")[![jamzy118](https://avatars.githubusercontent.com/u/49433753?v=4)](https://github.com/jamzy118 "jamzy118 (1 commits)")[![damsfx](https://avatars.githubusercontent.com/u/282242?v=4)](https://github.com/damsfx "damsfx (1 commits)")[![nathan-van-der-werf](https://avatars.githubusercontent.com/u/1123054?v=4)](https://github.com/nathan-van-der-werf "nathan-van-der-werf (1 commits)")[![sander-beenen](https://avatars.githubusercontent.com/u/2843816?v=4)](https://github.com/sander-beenen "sander-beenen (1 commits)")[![AIC-BV](https://avatars.githubusercontent.com/u/89913092?v=4)](https://github.com/AIC-BV "AIC-BV (1 commits)")[![winitop](https://avatars.githubusercontent.com/u/32765749?v=4)](https://github.com/winitop "winitop (1 commits)")[![zaxbux](https://avatars.githubusercontent.com/u/5186921?v=4)](https://github.com/zaxbux "zaxbux (1 commits)")

---

Tags

hacktoberfestredirectwintercms

### Embed Badge

![Health badge](/badges/winter-wn-redirect-plugin/health.svg)

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

###  Alternatives

[october/rain

October Rain Library

1601.7M63](/packages/october-rain)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[microweber/microweber

New generation CMS with drag and drop

3.4k13.8k1](/packages/microweber-microweber)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)

PHPackages © 2026

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