[SOLVED] SSL redirect not working — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

[SOLVED] SSL redirect not working

edited September 2019 in Web Server
Hi I am using this code in my Rewrite Rules for redirecting to www SSL but my site not redirecting to www SSL

RewriteCond %{HTTPS} !on
RewriteRule ^/(.*)$ https://www.example.com/$1 [R=301,L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Tagged:
Tagged:

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion