Vanity URL Contradicts with Sling mapping rules | Community
Skip to main content
cqlearner
New Participant
October 16, 2015
Solved

Vanity URL Contradicts with Sling mapping rules

  • October 16, 2015
  • 1 reply
  • 654 views

Hi Experts,

I have a 2 requirement :

  1. Hide "content/abc" from the URL.
  2. Allow user to enter vanity URL.

Is there a example I can use to achieve both the requirement at the same time. I am only able to get one at a time.

Any pointer is appreciated!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

1)   To hide the path for page request configure url mappings at 

http://<host>:<port>/system/console/configMgr/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl

2)     To add vanity URL go to page properties otherwise you need to custom build based on your need.

1 reply

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

1)   To hide the path for page request configure url mappings at 

http://<host>:<port>/system/console/configMgr/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl

2)     To add vanity URL go to page properties otherwise you need to custom build based on your need.