title: How do I redirect HTTP to HTTPS?
body: <p>I have this htaccess:</p>
  
  <pre><code>RewriteBase /
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteCond %{REQUEST_URI} ^/my
  RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  RewriteCond %{HTTPS} on
  RewriteCond %{REQUEST_URI} !^/my
  RewriteRule ^(.*)$ http://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  DirectoryIndex index.php index.cgi index.html
  ErrorDocument 401 /errors/401.php
  ErrorDocument 403 /errors/403.php
  ErrorDocument 404 /errors/404.php
  #### PERSISTENT CONTENT ####
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ zyro/$1 [L,QSA]
  </code></pre>
  
  <p>and I want to know how to keep this code working and add HTTP-HTTPS redirection, any help is appreciated. Thank you </p>