title: Need to redirect all traffic to https
body: <p>I want to redirect any traffic that goes to <a href="http://example.com" rel="noreferrer">http://example.com</a> to <a href="https://example.com" rel="noreferrer">https://example.com</a></p>
  
  <p>same for <a href="http://example.com/about" rel="noreferrer">http://example.com/about</a> to <a href="https://example.com/about" rel="noreferrer">https://example.com/about</a></p>
  
  <p>I thought it would be something like this:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]
  </code></pre>