I am trying to use MW with with SSL from cloudflare.
my site is loading fine like
http://mysite.com
also
https://mysite.com
i found code from
https://kb.mailwizz.com/articles/force-https-instead-http/
to use in .htaccess
but when i put this code in .htaccess
# force https
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R,QSA]
in root folder , nothing happen and site open with
http://mysite.com
but when i use code in .htaccess in customer folder , my site redirect to
https://mysite.com/guest/index
as above link suggest to use .htaccess in customer and backend folder stearate , how i use this and force website to https://
Thanks
my site is loading fine like
http://mysite.com
also
https://mysite.com
i found code from
https://kb.mailwizz.com/articles/force-https-instead-http/
to use in .htaccess
but when i put this code in .htaccess
# force https
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R,QSA]
in root folder , nothing happen and site open with
http://mysite.com
but when i use code in .htaccess in customer folder , my site redirect to
https://mysite.com/guest/index
as above link suggest to use .htaccess in customer and backend folder stearate , how i use this and force website to https://
Thanks