[ 
https://issues.apache.org/jira/browse/SLING-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-650.
----------------------------------

    Resolution: Fixed

Implemented with an additional priority field which is used if several 
resources use the same vanity url. The one with the highest priority is used 
then.

> 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.

Reply via email to