I would like to know if this code in .htaccess for forcing SSL and WWW in URL is correct, because with another codes I usually get redirect loop, e.g. Rew
.htaccess
Rew
My server is Heart Internet and the force SSL for Heart is:
# All calls go to SSL RewriteEngine On RewriteCond %{ENV:HTTPS} !=on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}