PHPackages                             hafrit/permanent-redirection-bundle - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. hafrit/permanent-redirection-bundle

ActiveLibrary[HTTP &amp; Networking](/categories/http)

hafrit/permanent-redirection-bundle
===================================

A symfony bundle that enable you to create redirections from configuration yml file.

1.0.3(9y ago)018MITPHP &gt;=5.3.9

Since Feb 23Compare

[ Source](https://github.com/hafrit/PermanentRedirectionBundle)[ Packagist](https://packagist.org/packages/hafrit/permanent-redirection-bundle)[ RSS](/packages/hafrit-permanent-redirection-bundle/feed)WikiDiscussions Synced 2w ago

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

PermanentRedirectionBundle
==========================

[](#permanentredirectionbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/9c787eefd13d904b19802a641327ed070e86cd5b71320dcb0216a6cb9828193f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35333131636639392d303732312d343964652d383837652d3162353330343531633635302f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5311cf99-0721-49de-887e-1b530451c650)[![Total Downloads](https://camo.githubusercontent.com/9fbf661f779788a7a5e1d64aac2ac4356a18d2d3761e480712ca06debb9a81f2/68747470733a2f2f706f7365722e707567782e6f72672f6861667269742f7065726d616e656e742d7265646972656374696f6e2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/hafrit/permanent-redirection-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/cef30a15c7340a891af4a7059d67597bebc2b0267840560c6af4432b378942f6/68747470733a2f2f706f7365722e707567782e6f72672f6861667269742f7065726d616e656e742d7265646972656374696f6e2d62756e646c652f762f737461626c65)](https://packagist.org/packages/hafrit/permanent-redirection-bundle)[![License](https://camo.githubusercontent.com/b8fae8c9cf70a09df842d8eb34342c130944bd8eb6ff1b4832f64a44a582c153/68747470733a2f2f706f7365722e707567782e6f72672f6861667269742f7065726d616e656e742d7265646972656374696f6e2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/hafrit/permanent-redirection-bundle)

This bundle enable you to create infinite number of redirection without using code.

- User bookmark a page of your site that does't exist anymore so he will have a beautiful 404 page.
- A link sent into an old mailing campaign and you want to redirect it instead of using controller redirection you can just configure your redirection.

Install
-------

[](#install)

### Step 1: Add to composer.json

[](#step-1-add-to-composerjson)

```
"require" :  {
    // ...
    "hafrit/permanent-redirection-bundle": "dev-master",
}

```

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
