Download the PHP package rekurzia/yii2-redirect without Composer
On this page you can find all versions of the php package rekurzia/yii2-redirect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rekurzia/yii2-redirect
More information about rekurzia/yii2-redirect
Files in rekurzia/yii2-redirect
Download rekurzia/yii2-redirect
More information about rekurzia/yii2-redirect
Files in rekurzia/yii2-redirect
Vendor rekurzia
Package yii2-redirect
Short Description Simple Application class which tries to redirect to one of specified routes before handling request.
License MIT
Homepage https://github.com/rekurzia/yii2-redirect
Package yii2-redirect
Short Description Simple Application class which tries to redirect to one of specified routes before handling request.
License MIT
Homepage https://github.com/rekurzia/yii2-redirect
Please rate this library. Is it a good library?
Informations about the package yii2-redirect
Yii2 Redirect
Custom Application class which tries to redirect to one of specified routes before handling request.
It's useful if you moved website and forgot to set redirects properly and receiving many 404 Not Found
errors.
Redirects go through standard \yii\helpers\Url::to()
function, so they'll be 302 Found
redirects.
Installation
Using Composer:
Usage
Change your entry script (index.php
) to use this class:
And add new routes through redirectRoutes
option:
License
MIT. See LICENSE file.
All versions of yii2-redirect with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0
The package rekurzia/yii2-redirect contains the following files
Loading the files please wait ....