-
1. Re: Issue with vanity url set to dam asset
smacdonald2008Jul 17, 2017 7:53 AM (in response to Kishore@CQ)
Hey - are you following all instructions as specified here: Manage vanity URLs
-
2. Re: Issue with vanity url set to dam asset
Kishore@CQ Jul 17, 2017 10:14 AM (in response to smacdonald2008)I have found the same link in google but i am not clear about setting the path map configuration.In the below-mentioned steps,I am not able to identify Apache Sling JCR Resource Resolver section(step-2) in system/console/configMgr.
I am using AEM 6.2 SP1+CFP1,is there anything changed?What's the equivalent configuration.
URL mapping
To create a URL map between a /content URL in your repository and a shortened URL:
- Go to the Configuration tab of the Adobe CQ5 Web Console (http://localhost:4503/system/console/configMgr).
- Go to the Apache Sling JCR Resource Resolver section.
- Click the + sign in the URL Mappings section.
- In the new text box, enter the resolved URL and the vanity URL.
- /content/geometrixx-outdoors/en/unlimited-blog/2012/01/going_for_gold.html:/goingforgold
- Click Save.
- Finally, follow the steps to verify your vanity URL, goingforgold.
-
3. Re: Issue with vanity url set to dam asset
rwinkle Jul 25, 2017 1:59 PM (in response to Kishore@CQ)In AEM 6.2 the configuration is called "Apache Sling Resource Resolver Factory". So search for that name instead.
Be aware there are other ways to define vanity urls as well. You can add nodes at /etc/map (the location is also configured in the configuration you are looking for) referenced here Apache Sling - Mappings for Resource Resolution. Another way is to integrate with your Apache server outlined here: https://blog.rackspace.com/enabling-vanity-urls-with-adobe-experience-manager
-
4. Re: Issue with vanity url set to dam asset
Diego Fontan Jul 25, 2017 7:45 PM (in response to Kishore@CQ)In addition to managing Vanity URL will be thru rewrites rules within AEM, which is to configure your /etc/map.
Here are the steps:
- configuration tree located below /etc/map
- create a new folder: type sling:Mapping
- define sling:match – partial regular expression which is used instead of the node’s name to match the incoming request
- define sling:redirect or sling:internalRedirect depending on the type of redirect
Normally it's recommended combine this with dispatcher configuration to reduce amount of hit aem publish instance but for sure you will require infra or architect with good experience for that
-
5. Re: Issue with vanity url set to dam asset
Kishore@CQ Aug 31, 2017 1:52 PM (in response to Kishore@CQ)Daycare has confirmed this is a bug and they will fix in upcoming CFP release.
As intermittent fix we have added sling:vanityURL has mix in type and problem is resolved.