In this post I am going to tell you that how we can implement SSL certificate to your website and how you can move your website from HTTP to HTTPS version. After reading this article you will be able to install a SSL certificate on your WordPress site?

What we mean by HTTPS and SSL?

Most of the time, while on internet, we interact with different web pages where we have to share our email address or we give our password even more we have to enter our sensitive information like address or mobile number or credit card details. In such situation we required a secure connection between user computer and website server. Here SSL and HTTPS come to action.

ssl https
HTTPS (Secure HTTP) is a connection which use encryption method for secure connection by the help of SSL certificate. The site is issued with a SSL certificate which is unique for identification. If some site has a certificate and browser has not match it, It shows a security warning to user.

Why we need SSL and HTTPS?

HTTPS and SSL is need in following cirumstances.

1 Mostly payment provider like & PayPal etc are required SSL connection complete their process.
2. Google announced in its update that they will use SSL and HTTPS as ranking signal in ther SERPs (search results)
3. All ecommerce stores which are selling their products online using credit card gateways are required to implement SSL and
HTTPs to protect their user to avoid form hacking and stealing their information.

What We Required to Implement HTTPS/SSL on a WordPress Site

First of all we have to purchase a SSL certificate for our website from a SSL provider company. Normally hosting provider companies provide SSL certificates by charging some extra amount on monthly or annually basis. Some Major companies provide free SSL with their premium price plans. If hosting company does not provide the SSL certificate then you can buy them from any major hosting companies like blue host or Godaddy etc. After purchasing you can ask your hosting provider to install it on your website.

How to Install /Setup SSL and HTTPS on WordPress

You can install your SSL certificate from cpanel of your website.

1. go to your cpanel -> SECURITY -> SSL/TLS.
2. Upload or paste your SSL provided by SSL Provider Company. Look image below:

ssl cpanel upload
If you are making a new WordPress website setup then it is easy to add SSL in your website. This method will install HTTPS on your website everywhere. For the purpose go to General Setting and provide the URL address of your website starting with https instead of http as look like below:-

general setting at wordpress

if you’re adding SSL to your already existing website, then you need to redirect WordPress SSL from HTTP to HTTPS.
You can do this by following code addition in your .htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]

Please change with your real site URL.

By implementing this mehtod, you will install WordPress HTTPS on all of your site URLs and all content will be on SSL.
If you want to add HTTPS and SSL on your WordPress admin area or login pages, then you need to configure wp-config.php file. Just add the given code above the “That’s all, stop editing!” line in your wp-config.php file. The code is given below:

define('FORCE_SSL_ADMIN', true);

Free SSL Certificate

If you are using free cloudflare cdn/plugin on your site then it has provided a free shared SSL certificate. You can use it by configuring .htaccess file as given above before.

Leave a Reply

Your email address will not be published. Required fields are marked *