Highlighted

Resource Mapping

rajareddych

24-01-2019

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

Replies

Highlighted

smacdonald2008

24-01-2019

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