title: How to redirect to https
body: <p>I installed SSL and now I want to redirect my domain name to HTTPS . my .htaccess file has this configuration provided by my CMS</p>
  
  <pre><code>RewriteEngine On
  
  RewriteCond %{HTTPS} off
  RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  
  RewriteCond %{HTTP_HOST} !^www\.
  RewriteRule .* http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  
  Options +FollowSymLinks
  Options -Indexes
  
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteRule . index.php [L,QSA]`
  </code></pre>