I am using OpenLiteSpeed Server for Wordpress One Click Digital Ocean.
My domain is not redirecting from http to https. SSL is installed and if I try to go to https://MYDOMAIN.com it works fine. If I try to go http://MYDOMAIN.com I get nothing err empty response.
I checked my settings on Litespeed Webadmin and found under Virtual Host wordpress > Rewrite
Enable Rewrite as Yes
Auto Load from .htaccess Yes
My htaccess in the wordpress directory shows below code. Please let me know what I am doing wrong and how to fix it. Thank you.
### Forcing HTTPS rule start
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/%{REQUEST_URI} [R=301,L]
### Forcing HTTPS rule end
My domain is not redirecting from http to https. SSL is installed and if I try to go to https://MYDOMAIN.com it works fine. If I try to go http://MYDOMAIN.com I get nothing err empty response.
I checked my settings on Litespeed Webadmin and found under Virtual Host wordpress > Rewrite
Enable Rewrite as Yes
Auto Load from .htaccess Yes
My htaccess in the wordpress directory shows below code. Please let me know what I am doing wrong and how to fix it. Thank you.
### Forcing HTTPS rule start
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/%{REQUEST_URI} [R=301,L]
### Forcing HTTPS rule end