Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Sling Mappings

Avatar

Level 4
1 Accepted Solution

Avatar

Correct answer by
Level 4

You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console. 

Your requirement will be resolved by using the below rules,

/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html

/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html

The below link helped me understand the mapping better,

http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/

Hope this helps

View solution in original post

3 Replies

Avatar

Correct answer by
Level 4

You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console. 

Your requirement will be resolved by using the below rules,

/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html

/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html

The below link helped me understand the mapping better,

http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/

Hope this helps

Avatar

Level 10

Avatar

Level 10