Expand my Community achievements bar.

SOLVED

AEM 6.3 etc/map is not working on preprod environment.

Avatar

Level 2

Hi Team,

We are using the etc/map for URL shortening for one of our site. Below are the configurations. Everything is working fine on QA environment but after moving to

pre-prod(UAT) environment URL shortening is not working. On mouse hover it is showing as full content path(/content/test/en/work.html) on all the links on page instead of short one(/work.html) even after implementing the etc/map configurations. Can you please analysis and suggest us the solution how to resolve the issue.

Requirement

1. Convert the Full content path to short one (/content/test/en/work.html --------->  /work.html).

1634580_pastedImage_3.png

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Indra,

Please compare the configuration: Day Cq Link Checker Service on your pre prod environment with your QA environment.

You can also test resolving the link by using the URL : http://localhost:port/system/console/jcrresolver

View solution in original post

3 Replies

Avatar

Level 10

When something in AEM works on one environment and not on the other - check you logs to see if you can determine the cause why its not working. Are you seeing anything in the log file. 

Avatar

Correct answer by
Employee

Hi Indra,

Please compare the configuration: Day Cq Link Checker Service on your pre prod environment with your QA environment.

You can also test resolving the link by using the URL : http://localhost:port/system/console/jcrresolver

Avatar

Level 3

Hi,

You can check in system console config, for Apache Sling Resource Resolver Factory. Edit that config and see if Mapping Location is set to /etc/map or something else. If its not, point to /etc/map, then after few seconds it should work.