I added ssl-certificate on my Joomla web-site. My actions:
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
You don't need to do anything else after Forcing HTTPS on the Entire Site through Joomla's Global Configuration.
The .htaccess redirection is redundant, as Joomla will treat the whole site's redirection to HTTPS.
***Update your Joomla to the latest version.