title: Auto redirect http site url to https in cpanel
body: <p>Redirect the site url http to https..for this i upload .htaccess file in my cpanl public_html root directory.the code of the file as </p>
  
  <pre><code>RewriteEngine On  
  RewriteCond %{SERVER_PORT} 80
  RewriteRule ^(.*)$ https://sitename.in/$1 [R,L]
  </code></pre>
  
  <p>After i hosted this file also it's not redirecting my site to https protocol </p>