Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Servlets Get 2.0.2, JCR Resource 2.0.2
-
None
Description
It would be nice to have support for vanity urls: these are urls that do not directly point to a resource. Instead it is possible to give a resource a "pretty" (vanity) url which can be used to address this resource.
Example:
/a/b/x/y/myPage
You can either address this by /a/b/x/y/myPage or by /products
This can be done by adding a new mixin: sling:VanityUrl
which has two properties: vanityUrl (which has in the example above the value /products)
and redirect which is a boolean indication if a redirect should be done or if the content should
be directly displayed.