How to make Vanity URLs case insensitive without using dispatcher?
Can any one tell me how to make Vanity URLs case insensitive which are given in a page properties of a page in CQ ?
Can any one tell me how to make Vanity URLs case insensitive which are given in a page properties of a page in CQ ?
well you can write Apache rewrite to convert your URL to all lowercase, Below are some helpful links for handling it on Apache level
http://www.askapache.com/htaccess/rewrite-uppercase-lowercase.html
with above approach only drawback is that author needs to make sure that whenever a page is created or vanity URL is defined in AEM it is all in lowercase, else once the request moves from Apache to AEM, it might not be able to identify the node in sling resource resolution process.
- Runal
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.