How can I force HTTPS / SSL on my website if I only use www.***.com
I tried this entry in the .htaccess file :
RewriteEngine On
RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge
RewriteCond %{REQUEST_URI} !(.*)\.txt
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
But when I reload my website I get this error message : "Internal Server Error"