title: How can I apply SSL to every page?
body: <p>just got my SSL Certificate. I set it up.
  So now, I want to setup SSL on every page. Is there any way to force SSL on every page?
  I have tried this: </p>
  
  <pre><code>RewriteEngine On 
  RewriteCond %{SERVER_PORT} 80 
  RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
  </code></pre>
  
  <p>Thanks</p>