Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

URL Mapping

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

3 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Administrator

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

Avatar

Level 10

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