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

URL Mapping

  • November 3, 2015
  • 3 replies
  • 991 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

smacdonald2008
Level 10
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

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
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
Lokesh_Shivalingaiah
Level 10
November 3, 2015

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