AEM internal Redirect and Resolve nested content
Hi,
I have the below content structure.
- site
- de
- category1
- 2001
- quarter1
- blog_about_vegan
- blog_about_flowers
- quarter2
- blog_about_something
- 2002
- quarter1
- blog_about_vegan
- blog_about_flowers
- quarter2
- blog_about_something
I want customers to use shorthand urls. For instance; Customer should get blog_about_vegan when he tries the following url : https://www.somedomain.com/site/de/category1/blog_about_vegan. He should not be worried about the year and quarter as they are just meant for categorization.
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