Expand my Community achievements bar.

Resource Mapping

Avatar

Level 2

Scenario:
For folders under /content/folderAAA/folderBBB

I have mapped "sling:internalRedirect = /content/folderAAA/folderBBB/$1/jcr:content.dt.json" to "sling:match = localhost.4502/folderAAA/en-us/(.+)"

Could anyone please provide solution on how to map content under both "/content/folderAAA/folderBBB" and "/content/folderAAA/folderBBB/folderCCC" to "sling:match = localhost.4502/folderAAA/en-us/(.+)"

4 Replies

Avatar

Level 10

The AEM documentation for Resource Mapping is located here and provides examples -- Resource Mapping

Hope this helps....

Avatar

Level 10

Here is more examples -- Apache Sling :: Mappings for Resource Resolution

I am asking other team members to look here. I have never mapped a resource at this level before. This is quite different then:

localhost:4503/content/geometrixx/en/products.html

to be accessed using:

localhost:4503/geometrixx/en/products.html