Redirect template
Redirect template is a light module for Magnolia CMS which provides you a redirect template.
It is a replacement for former stkRedirect from Standard templating kit, which is not part of Magnolia bundle anymore.
Installation
With Magnolia CLI just run: mgnl install redirect-template
.
Alternatively git clone it from https://git.magnolia-cms.com/projects/LIGHT-MODULES/repos/redirect-template/browse
and copy redirect-template
folder into your Magnolia's light modules directory.
Usage
After successful installation 'Redirect' template will be available as a page template when creating a new page.
This template allow you to redirect page to internal or external page selected in page properties dialog.
In case no page was selected in dialog, or page doesn't exists anymore it will redirect to /
.
In editmode there is just information about where page will be redirected but redirect itself will not happen.
License
MIT
Contributors
Magnolia, https://www.magnolia-cms.com
- Tomáš Gregovský tomas.gregovsky@magnolia-cms.com
- Bartosz Staryga bartosz.staryga@magnolia-cms.com