Magnolia Vanity-URL App
Attention
Project was moved to https://github.com/IBM/magkit-vanity-url.
With that also the Maven coords will be changed for all version higher than 1.6.0.
Introduction
A module containing an app for the Magnolia CMS
Allows to configure vanity URLs in the Magnolia CMS without requiring access to the config workspace. Ideal for page/content editors who are not supposed to write to the config workspace. Also creates QR codes for quick testing with your mobile phone.
License
Released under the GPLv3, see LICENSE.txt.
Feel free to use this app, but if you modify the source code please fork us on Github.
Issue tracking
Issues are tracked at GitHub. Any bug reports, improvement or feature requests are welcome!
Maven artifacts in Magnolia's Nexus
The code is built on Travis CI. You can browse available artifacts through Magnolia's Nexus
Maven dependency
<dependency>
<artifactId>magnolia-vanity-url</artifactId>
<groupId>com.aperto.magkit</groupId>
<version>1.6.0</version>
</dependency>Versions
- Version 1.2.x is compatible with Magnolia 5.2.x
- Version 1.3.x is compatible with Magnolia 5.3.x
- Version 1.4.x is compatible with Magnolia 5.4.x and 5.5.x
- Version 1.5.x is compatible with Magnolia 5.6.x, 5.7.x, 6.1.x and 6.2.x
- Version 1.6.x is compatible with Magnolia 6.2.x (new UI support)
Magnolia Module Configuration
In the module configuration of the vanity url module, you can configure the following settings:
- excludes : Pattern of urls, which are no candidates for vanity urls.
- by default an exclude for all urls containing a dot is configured, that prevents the virtual uri mapping checks every ordinary request like script.js or page.html
- publicUrlService : Implementation of com.aperto.magnolia.vanity.PublicUrlService. Two implementations are already available.
- com.aperto.magnolia.vanity.DefaultPublicUrlService (default) : Use of default base url and site configuration with context path replacement.
- com.aperto.magnolia.vanity.SimplePublicUrlService : Used configured public prefix and removes the author context path.