Support for vanity urls
-----------------------
Key: SLING-650
URL: https://issues.apache.org/jira/browse/SLING-650
Project: Sling
Issue Type: New Feature
Components: JCR Resource
Affects Versions: JCR Resource 2.0.2
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Resource 2.0.4
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.