Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-650

Support for vanity urls

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: