I am using AEM. I have configured some vanity URL's with redirect. Ex:
/coaties > /content/geometrixx-outdoors/women/coats/winter-coat.html
Also in the web server, I have made configuration to strip HTML extension so my web-server removes the html extension with another redirect. Now when I hit vanity URL, I will have 2 redirects
/coaties > /content/geometrixx-outdoors/women/coats/winter-coat.html [1st redirect]
/content/geometrixx-outdoors/women/coats/winter-coat.html >
/content/geometrixx-outdoors/women/coats/winter-coat [2nd redirect]
I want to avoid 2 redirects and I dont want to show HTML extension to end users.
/coaties > /content/geometrixx-outdoors/women/coats/winter-coat [only one redirect]
I spent some time on the Sling side with no luck. All I understand is, since Sling will return 403 for all URL's without extension, it always returns URLs with extension. Is this possible at dispatcher or web server side ?