Redirect management for Kirby 3
Plugin for Kirby 3 which adds a Panel view where you can manage redirects for your website. Redirects feature pattern placeholders, support for most common HTTP status codes as well as 404 tracking. Make sure to take your visitors where they are heading.
The Retour for Kirby plugin is free and under the MIT license. If you use it in a commercial project or you want to support its development in general, please consider to give back by
- keeping me healthy with buying me a juice 🥤 or
- supporting my trips with a donation of your choice 🌍 or
- buying a Kirby license using this affiliate link ⭐️
Download, unzip and copy this repository to
git submodule add https://github.com/distantnative/retour-for-kirby.git site/plugins/retour
composer require distantnative/retour-for-kirby
During the beta make sure to add
"minimum-stability": "beta", to the top level of your
composer.json as well.
Path to catch via the plugin and redirect. Can use routing patterns, e.g.
(:all), learn more.
- Relative path inside your own site (e.g.
- URL of external website (e.g.
errorto return your site's error page
- empty to let the browser request fail (for status codes not in the
If you use routing patterns, the mathed parts can be used via numbered variables (
Status codes in the
3xx range will actually redirect the request to the new location (URL changes). All other HTTP status codes have the option to return a specified page with the selected HTTP status code (while the URL stays the same) or let the browser request fail with the selected HTTP status code (if you leave the
Redirect to field empty).
Color of the status bubbles
HTTP status codes https://httpstatuses.com
Retour tries to track the times it redirects visitors as well as the times visitors try to visit a page on your site that does not exist (typically when they get a
404 error or your site's error page shown).
To maintain privacy and collect the least data necessary, Reroute does not log any personal data of the visitor (no IP etc.). Only the target URL, the referrer and the time are stored in an agregated way.
return [ 'distantnative.retour.limit' => 10 // # of entries to show per page ];
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you encounter any problem, please create an issue.
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.