Redirect http to https Redirect to HTTPS on Apache https://www.namecheap.com/support/knowledgebase/article.aspx/9821/38/redirect-to-https-on-apache How to force HTTPS using .htaccess file in cPanel https://www.namecheap.com/support/knowledgebase/article.aspx/9770/38/how-to-force-https-using-htaccess-file-in-cpanel It depends on whether you wish search engines to index your domain with http:// or https://. Permanent redirects are good for SEO to show your domain name with https:// in the list of websites. RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301] How do I redirect HTTP traffic to HTTPS? https://www.quora.com/How-do-I-redirect-HTTP-traffic-to-HTTPS Overview: Site moves with URL changes https://support.google.com/webmasters/answer/6033049?utm_source=wmx_blog&utm_medium=referral&utm_campaign=tls_en_post Secure your site with HTTPS https://support.google.com/webmasters/answer/6073543