Can any one tell me how to make Vanity URLs case insensitive which are given in a page properties of a page in CQ ?
Solved! Go to Solution.
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
Hi there,
Thanks for reaching out to Adobe Community.
Please go through the below link and see if it helps:
https://helpx.adobe.com/experience-manager/kb/vanity-urls.html
Thanks!
Views
Replies
Total Likes
Hi,
Thanks for responding, This works for case sensitive. But I want this to work for whatever case I enter. Could you help?
Views
Replies
Total Likes
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
Views
Likes
Replies