[ https://issues.apache.org/jira/browse/SLING-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler updated SLING-650: ----------------------------------- Component/s: Servlets Get Affects Version/s: Servlets Get 2.0.2 Fix Version/s: Servlets Get 2.0.4 > 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, Servlets Get > Affects Versions: JCR Resource 2.0.2, Servlets Get 2.0.2 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: JCR Resource 2.0.4, Servlets Get 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.