title: when i install ssl certificate in my website please tell me how to Redirect http to https
body: <p>I try using .htaccess but its not working 
  My code is </p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{HTTPS} !=on [NC]
  RewriteRule ^(.*)$ https://mosaicwebsolution.com/$1 [R=301,L]
  </code></pre>