By yatharthg
If i put example.com in address bar it goes to https://example.com But if i put http://example.com/ it doesn’t redirect to https version.
For some reason all my pinterest links have become http and all my traffic is going there and not the https version.
I have setup the listener and virtual hosts as per this guide in the litespeed web console https://docs.litespeedtech.com/cloud/images/wordpress/
Also have added these rewrite rules in the virtual host
RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.)$ https://example.com/$1 [R,L] RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https rewriteRule ^(.)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
note: example.com in the above is replaced with my domain, rest is as it is.
Can someone please help?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It might be due to the rewrite, please share your Environment Report: Navigate to LiteSpeed Cache > Toolbox > Report, press the Send to LiteSpeed button, and let us know what it says under “Report Number.” I’ll be able to access the report from here and get some information about your configuration that might be helpful.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.