I have configured sling mappings in /etc/map to remap the url to search for content in /content. But i am not able to figure out how can I ask sling to look into all year and quarter folders for a particular category to find this article. something like a dynamic internal redirect with nested search capability. could you please advice
I would not recommend to use filters to change the resource in the request; might work, but it's not really intuitive and also heavily depends on the order of the filters. Maybe a custom resource provider is more in line with Sling and could help here. It's also more generic and works then with all resource-based functionality of sling, and is not tied to a request.
I could use Vanity url as a solution. But Either the author have to manually add Vanity url for each page, which i dont want or I have to dynamically generate a vanity url based on the parent path and set it in workflow step.
But I was moreover looking to do this as a configuration in sling mapping.