Last Updated on January 11, 2022 by admin
HTTPS stands for hypertext transfer protocol secure which is nothing but an extension of HTTP but with an issued SSL certificate which ensures secure transfer of data over devices by encryption the data.
Every website which is without an SSL certificate is considered as unsafe. So, no user wants to operate or download any data from insecure site. So, it’s basically lowering your market value.
So, before I dive into methods of redirecting your site to HTTPS , let’s see why it is important to have an SSL certificate for your website.
I will provide a basic method of installing an SSL certificate on your website which do not require much of an expertise.
So, all you have to do is follow the given steps:
Now, if you want a host company to install a SSL certificate on your website then that procedure is a bit time consuming.
So let’s see how that is done.
Step#1: Buy an SSL certificate.
Now, usually you get an SSL certificate pre-installed in your system with the host package. But if that’s not the case and you are thinking of buying an SSL certificate from your host or third party then make sure you do your homework.
There are three types of certificates which are issued:
These certificates are used by high business organisation to increase their revenues. They it provides more credibility to the client than any other certificate available in the market.
Step#2 activation of SSL certificate
Now, the hosting company would provide you a private key or CSR code for the activation or your SSL certificate. So, go to your cPanel where you would find an option of SSL manager.
You would be asked to fill out important credentials.
Fill your CSR code to generate your certificate.
Your certificate will be emailed to your mail.
Step#3 redirecting URL to https
Now, when your certificate is activated all you need to do is made changes in your URLs.
For this follow the steps which reads:
Now, to make these changes permanent you would require plugins.
Now, the changes have been made so the next time if anyone tries to operate your site it would flash the security sign.
Step#4 Make changes in your htaccess files.
So, if you have any doubts after redirecting your links, then to get double surety you can always perform an additional step.
So, here I would be mentioning about making changes in the htaccess file.
For that you need to follow these simple steps:
HTTP TO HTTPS Redirection
#Redirection code starts
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]#Redirection code Ends
Non www to www redirection
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Conclusion
Now, you have got the gist of the story. So you need to follow the above steps to ensure the safety of your site. You can perform this either on your own or take help from your hosting company.
By now you know the deal why it is important to have HTTPS link on your Website. So, make your website SSL protected.
Leave Comment