Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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/(.+)"

2 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