Have you finally planned to switch to HTTP to HTTPS, and put a green Padlock next to your domain name. If Yes? then you are at the right place here we are about to see how to add SSL Certificate to WordPress website.
It’s been quite important to protect your WordPress site, all you need is an SSL certificate. Everyone likes to see a green Padlock on the URL.
Getting an SSL certificate was a big pain, as one has to purchase SSL certificate and need to spend money continuously on that, which was not affordable for the small business or an individual blogger.
But fortunately, CloudFlare offers it completely free. Which made it convenient for all the startups and new bloggers. Few hosting companies also offer it, some for free and for others you need to pay few bucks which can be accessed and activated from the CPanel.
Why is SSL Certificate required?
SSL is an Encryption method of all the data which are being pushed into the web. We all know that Google is making changes continuously in their algorithm. Which is quite beneficial from the user perspective.
The site which has SSL installed are being considered as a safe, and also one of the factors for ranking the pages to the upper level now.
And obviously, other things like quality content, On Page and OffPage SEO also comes into the picture. But installing an SSL certificate can increase the search engine rankings. Which updated by Google as HTTPS as a ranking signal.
As seen above installing an SSL certificate will increase the search engine rankings, in fact, readers too want to get into a safe site only.
And Moreover, you can keep away the hackers from your website to an extent. Then one should not avoid and apply SSL security to their website.
And reading above points it makes sense to install an SSL in WordPress site. It is not too tricky, probably just a little patience would be required. And moreover, it would be done once for a website only. So, it is worth spending few minutes on it.
How to Add SSL Certificate to WordPress Website using CloudFlare
As mentioned above CloudFlare offers a free SSL, so let’s get started without any hesitation.
Create a CloudFlare account, which is really easy, just as you signup for creating other accounts.
Once you are done creating an account and filling up all the details. Now let’s move on and Add a site into it.
Step 1. A box will prompt, asking for to Add a website. Enter the domain name and hit the Scan DNS Records Button.
It will take a few seconds and it will extract all the records for the domain.
Step 2. Once you could see those, Click on Continue
Now this will show all the DNS Records of the domain and be asking you to verify those.
Step 3. Scroll down the page and hit the Continue button once again.
Step 4. In the next section, it will show CloudFlare plan options free website, pro website and business website. Since we are opting for the free one, so select Free website.
Now the last step of this section, you need to update the nameservers. It will show you two name servers which need to be replaced from the domain registrar account.
Change Name Servers of your Domain
Step 6. Login to your Domain registrar account.
Step 7. Click on Manage domains, where all your domain will be located at one place. Find the one on which you want to install an SSL Certificate and click on it.
Step 7. Now Click on Manage DNS, you will find two name servers over there.
Step 8. Click on Change, and replace those with the CloudFlare Name Servers.
Step 9. Once changed, Hit the Save Button. CloudFlare will take some time to make the changes in the name servers, activate and verify your website.
Step 10. Head towards the Cloudflare account and click on Continue.
Now You would be able to find few option at top
Step 11. Click on Crypto option.
Step 12. From the SSL Certificate and choose Flexible from the dropdown.
Wait for a while, as CloudFlare will take just a few minutes, to make it active. And once activated it will turn into the green color with a text “Active Certificate” as shown in the image.
Once it is active, now it’s time to head towards our WordPress dashboard and install some plugins. If you are not sure how to install a plugin in WordPress go through this.
Install SSL Plugins in WordPress
Now you are supposed to install an important plugin to activate The Cloudflare SSL Certificate and also it will help in redirections.
Step 1. Look for CloudFlare flexible SSL plugin, then install and activate the same. You don’t have to make any configuration to this plugin.
This one helps out integrating the SSL Certificate on your WordPress website.
Step 2. Install WordPress HTTPS and Activate it.
Setup WordPress HTTPS settings
Step 1. From you WordPress dashboard, navigate towards the HTTPS option which got activate after installing WordPress HTTPS Plugin.
Now you would be able to find plenty of option on the right side,
Step 2. Enable “Yes” from the Proxy section, as shown in the image.
Step 3. Click on Save Changes.
Now you are supposed to add Page Rules in CloudFlare so that the HTTPS certificate could get applied to all the pages. And make your WordPress website fully activated with HTTPS.
Step 4. Go back to your CloudFlare account, and click on page rules tab as shown in the image.
Step 5. Click on “Create Page Rule“.
Step 6. Now input your site URL in the required given field, and make sure it’s in between the asterisks. and keep the Order settings as “First.” Just show as in the image below.
Step 7. And hit the Save and Deploy button.
Now you are supposed to change the URL in WordPress as well
WordPress Site Address (URL) Settings
I promise this is the last procedure and we will be done.
Step 1. From the WordPress dashboard, navigate towards the Settings > General
Step 2. Change the Site Address from HTTP:// to Https://
Check out the image for the better insights.
Now your site is ready and enjoy using https on your WordPress site for free and make it secure for your readers. Thanks to CloudFlare, which made it possible, that even small sites could be used an SSL certificate.
Make yourself and your visitors safe. Do let us know if you have successfully activated an SSL certificate on your WordPress site, in the comment section below.
And also if you are facing any issue installing it, I will be happy to assist you on that.