Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

URL mapping

Avatar

Level 2

I am trying to map all URLs that end with /feed to another URL. When I type the URL of the form 

localhost:4502/a/b/..../x/feed

I want to redirect it to 

localhost:4502/a/b/..../x.rss

There's a .rss selector handler JSP that takes care of the rest. 
I tried reading http://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html, but I couldn't implement the mapping succesfully. Is this requirement possible to achieve using URL mapping? If so, can anyone throw light on what should be my sling:match and sling:internalRedirect properties and the node structure under /etc/mapping.

 

Thanks
Shriram

0 Replies