As the title describes, I am having trouble enforcing a rule to redirect requests to access loliology.com to www.loliology.com. For example, if a user were to type in their URL Bar, "http://loliology.com" they will be warned by their browser, and in some cases(Chrome), not be able to access the site even if they wish to proceed. I am using Azure CDN Managed certificates, meaning that my certificates cannot ensure authenticity of the root domain, which is my main desire for enforcing www., but I can not seem to figure out the redirect in the CDNs rule engine. I'll show my rules below

enter image description here

As you can see, I have two rules attempting to force both http://loliology.com and https://loliology.com to https://www.loliology.com. Both fail to force www, and leave the website 'Not Secure' even if the browser allows the user to proceed. You can see that the global Modify Response Header / EnforceHTTPS rules are working to force the user to access the site via HTTPS, but I cannot for the life of me get the www rule to be enforced. I'm hoping there is some simple solution. Apologies in advance if I left anything out, please let me know!

Thank you in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.