This is an old revision of the document!
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
The Guru 42 Universe is not run by a university professor with a team of editors and advisers working to developing a website. Tom Peracchio is simply someone who loves technology and history and is amazed by how little people know about the great minds in the world of technology.
Support Guru 42 efforts by your small donation at Buy me a coffee
