Skip to main content
monika_jayaram
Nov 3, 2015 3:19 PM UTC
Solved

URL Mapping

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.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Nov 3, 2015 4:34 PM UTC

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

3 replies

smacdonald2008
Level 10
Nov 3, 2015 4:25 PM UTC

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

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Nov 3, 2015 4:34 PM UTC

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

Translate
Kautuk Sahni
Lokesh_Shivalingaiah
Level 10
Nov 3, 2015 4:44 PM UTC

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

Translate