Can anybody assist me and can share the code that what i should add in the .htaccess OR do something else with Cloudflare dashboard to redirect http pages to https.
To do the HTTPS redirect there is a toggle in the SSL/TLS settings (“Always Use HTTPS”), remove the page rule. Other issues are hard to diagnose without knowing the domain name, but usually people have the domain set to .
i have removed the page rule, what is happening at the moment.
If i open my website it okay redirect auto on https.
But when i open internal pages they also first open on https URL but if remove “S” from the internal pages so they don’t redirect again on https this is the problem i am facing hope you understand.
Well, it seems really strange to me as it doesn’t happen (all HTTP requests passing through Cloudflare will get redirected to HTTPS, do you have an URL I can try and test?
check out this one
if you remove “S” from https so it doesn’t not reopen on https URL.
The issue here is that the root domain (and the www subdomain) are not actually under Cloudflare.
No features of Cloudflare (except the actual DNS resolution) work if the hostname is . Go to the DNS settings and set them to . The issue was the same as mentioned in the first post.
The Always Use HTTPS rule (as did the Page Rules before) require the proxy to be active.
Thanks… It’s working now perfect.