URL Mapping | Community
Skip to main content
monika_jayaram
New Participant
November 3, 2015
Solved

URL Mapping

  • November 3, 2015
  • 3 replies
  • 988 views

I have the below requirement could someone provide inputs as what could be done

1. I want to rewrite the  "localhost:4502/tools.html" to "http://localhost:4502/apps/cq/core/content/tools.html"

If I check in "http://localhost:4502/system/console/jcrresolver" for /tools/html ,  I can see the rewrite url is "path=/libs/cq/core/content/tools"

It should be changed to "/apps/cq/core/content/tools"

Thanks in  advance.

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 kautuk_sahni

Hi 

As Mentioned by Scott, resource mapping would help you.

some extra reference links are :-

Link :- http://stackoverflow.com/questions/21194654/url-mapping-based-on-resource-resolver-in-aem

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

3 replies

Lokesh_Shivalingaiah
New Participant
November 3, 2015

when you override in /apps doesnt it get pulled automatically instead of /libs ?

kautuk_sahni
kautuk_sahniAccepted solution
Employee
November 3, 2015

Hi 

As Mentioned by Scott, resource mapping would help you.

some extra reference links are :-

Link :- http://stackoverflow.com/questions/21194654/url-mapping-based-on-resource-resolver-in-aem

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni
smacdonald2008
New Participant
November 3, 2015

The following AEM documentation topic talks about how you can perform this use case: 

https://docs.adobe.com/docs/en/aem/6-0/deploy/configuring/resource-mapping.html