I added ssl-certificate on my Joomla web-site. My actions:
- Add certificate data to hosting
- In configuration check SSL for entire site
- In configuration.php rewrite live_site as https://mysite.com
And it's all good, web-site work with https, but I need to redirect site from http to https when user enter. For this I add to .htaccess next rule
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
And after this I have an redirect loop error.
I tried different variants of rewrite rules in htaccess, but nothing help. Need an advice please.
Joomla 3.7.4 PHP 5.6.30 Server - Linux, Apache 2.0