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

Abandoned → [vdlp/oc-redirect-plugin](/?search=vdlp%2Foc-redirect-plugin)ArchivedOctober-plugin

adrenth/redirect
================

Advanced redirect plugin for October CMS

4.2.0(8y ago)92544MITPHP

Since Mar 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/adrenth/redirect)[ Packagist](https://packagist.org/packages/adrenth/redirect)[ RSS](/packages/adrenth-redirect/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependencies (3)Versions (78)Used By (0)

Adrenth.Redirect
================

[](#adrenthredirect)

The #1 Redirect plugin for October CMS ([Editors' choice](http://octobercms.com/plugins/featured))
--------------------------------------------------------------------------------------------------

[](#the-1-redirect-plugin-for-october-cms-editors-choice)

This is the best Redirect-plugin for October CMS. With this plugin installed you can manage redirects directly from October CMS' beautiful interface. Many webmasters and SEO specialists use redirects to optimise their website for search engines. This plugin allows you to manage such redirects with a nice and user-friendly interface.

> **This plugin is fully compatible with OctoberCMS build 434+.** This is a new optimised version for PHP 7.0. PHP5 is not supported as of version 4.

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

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

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

DEMO
----

[](#demo)

Username: `demo`

Password: `demo`

Features
--------

[](#features)

- **Quick** matching algorithm
- A **test** utility for redirects
- Matching using **placeholders** (dynamic paths)
- Match placeholders 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 **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! Contact me at )***
- Supports MySQL, SQLite and PostgreSQL
- HTTP status codes 301, 302, 303, 404, 410
- Caching

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

[](#supported-database-platforms)

- MySQL
- PostgreSQL
- 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:

- Use the latest version of PHP7 (really you should)
- 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 `Adrenth.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/adrenth/redirect) 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 me. I'm happy to help you. You can also visit the support forum and drop your questions/issues there.

Kind regards,

Alwin Drenth -- *Author of the Redirect plugin*

---

> If you love this quality plugin as much as I do, please [**rate my plugin**](http://octobercms.com/plugin/adrenth-redirect), or consider a donation to support this plugin and my other quality October CMS plugins. Donate to [PayPal](https://www.paypal.me/adrenth) or donate BitCoin to `1KowxskQEFLh7PUFeWxtPp1JMzH42bseaD`.

---

Other plugins by [Alwin Drenth](http://octobercms.com/author/Adrenth)
---------------------------------------------------------------------

[](#other-plugins-by-alwin-drenth)

[![HtmlPurifier](https://camo.githubusercontent.com/65f28657beee1f2ac231b29fa92ddaa9c731d1920efc9795e5b0392e5a622680/687474703a2f2f6f63746f626572636d732e636f6d2f73746f726167652f6170702f75706c6f6164732f7075626c69632f3538382f3333342f3938372f7468756d625f363436365f36347836345f305f305f6175746f2e706e67)](https://camo.githubusercontent.com/65f28657beee1f2ac231b29fa92ddaa9c731d1920efc9795e5b0392e5a622680/687474703a2f2f6f63746f626572636d732e636f6d2f73746f726167652f6170702f75706c6f6164732f7075626c69632f3538382f3333342f3938372f7468756d625f363436365f36347836345f305f305f6175746f2e706e67)

[**HtmlPurifier**](http://octobercms.com/plugin/adrenth-htmlpurifier) - *Adds a standards compliant HTML filter to October CMS.*

[![RssFetcher](https://camo.githubusercontent.com/17e105ce38ff95de97f64af01e996165c0ab651653d620f998b406ee8ced9c64/687474703a2f2f6f63746f626572636d732e636f6d2f73746f726167652f6170702f75706c6f6164732f7075626c69632f3536372f3639642f3033382f7468756d625f333534315f36347836345f305f305f6175746f2e706e67)](https://camo.githubusercontent.com/17e105ce38ff95de97f64af01e996165c0ab651653d620f998b406ee8ced9c64/687474703a2f2f6f63746f626572636d732e636f6d2f73746f726167652f6170702f75706c6f6164732f7075626c69632f3536372f3639642f3033382f7468756d625f333534315f36347836345f305f305f6175746f2e706e67)

[**RssFetcher**](http://octobercms.com/plugin/adrenth-rssfetcher) - *Fetches RSS/Atom feeds from different sources to publish on your website or dashboard.*

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 95.6% 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 ~9 days

Recently: every ~27 days

Total

76

Last Release

2987d ago

Major Versions

1.1.3 → 2.0.02016-07-04

2.0.24 → 3.0.02017-01-27

3.16.0 → 4.0.02017-11-21

### Community

Maintainers

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

---

Top Contributors

[![adrenth](https://avatars.githubusercontent.com/u/5699988?v=4)](https://github.com/adrenth "adrenth (172 commits)")[![hambern](https://avatars.githubusercontent.com/u/3506799?v=4)](https://github.com/hambern "hambern (5 commits)")[![arzola](https://avatars.githubusercontent.com/u/4997549?v=4)](https://github.com/arzola "arzola (2 commits)")[![pvullioud](https://avatars.githubusercontent.com/u/3446410?v=4)](https://github.com/pvullioud "pvullioud (1 commits)")

### Embed Badge

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

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.4k37.3k](/packages/matomo-matomo)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[spatie/laravel-ray

Easily debug Laravel apps

31538.4M2.8k](/packages/spatie-laravel-ray)[liuggio/fastest

Simple parallel testing execution... with some goodies for functional tests.

4825.6M26](/packages/liuggio-fastest)[beyondcode/laravel-server-timing

Add Server-Timing header information from within your Laravel apps.

5712.0M1](/packages/beyondcode-laravel-server-timing)[shetabit/visitor

Laravel visitor

565578.2k8](/packages/shetabit-visitor)

PHPackages © 2026

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