How to Setup Free SSL (https) for Wordpress Website

How to Setup Free SSL (https) for WordPress Website using Cloudflare

SSL has become a mandate for blogs and websites. Google recommends using SSL for websites. Some claim that it might help you in good search engine rankings as well. In this blog, I am using the free SSL service provided by CloudFlare. If you don not have any financial transaction on your blog or website, this free SSL will suffice your needs. I have setup free SSL (https) for one my WordPress sites and have noted down all the steps. You can follow this tutorial for an end to end SSL setup.

Setup Free SSL (https) for WordPress

To setup free SSL, your site should be running on CloudFlare. If you are not using it, you need to signup for it and setup your website on CloudFlare. If you don’t have the CloudFlare setup, you can follow this tutorial

What will you need?

Before starting the setup, I assume you have the following.

  1. A WordPress website/blog running using CloudFlare CDN.
  2. You have admin access to the blog.
  3. You know how to install and activate WordPress plugins.
  4. Take a complete backup of your website.

Step1: Go to CloudFlare dashboard, under crypto, make sure you have “Flexible” option enabled and it is is “Active Certificate” mode. For fresh CloudFlare account, the SSL certificate activation will take 15 to 30 minutes.

cloudflare wordpress flexible ssl

Step 2:  Install and activate “CloudFlare Flexible SSL” Plugin from your WordPress dashboard.

cloudfalre wordpress ssl plugin

Step 3:  In you WordPress admin page, go to settings –> General and change site url from http to https.

wordpress https site url change

Step 4: Now, visit your site over https URL to make sure it is working fine. The browser should show the green “Lock icon” ash shown in the image below. The green lock icon suggests that your SSL configuration is working perfectly fine.

wordpress https browser lock icon

Step 5: Now head over to CloudFlare dashboard, select “page rules” tab and click “create page rule” option.

wordpress https cloudflare page rule

Step 6:  Enter your domain name this format. (http://*iotguidehub.com*). Click “Add string” Option and select, “Always use HTTPS” option and click “save and deploy” option.  This will redirect all the HTTP requests to https.

wordpress cloudflare https to https page rule

Step 7: If you are setting up SSL for an existing website will lot of content, you might end up with “SSL Mixed Content Error“. To avoid this, install and activate “Really Simple SSL” plugin.

cloudflare really simple ssl plugin

Step 8: Once activated, you will see the following message. Click “Go ahead and activate ssl” option. You might have to log in again into your dashboard after enabling this.

enable ssl for all content in wordpress

That it. SSL will be activated throughout your website. Let me know if you face any errors during the setup. You can contact me via [email protected] for end to end wordpres setup.

Related

custom font in wordpress genesis child theme

Genesis child theme comes with its own font type. If you want to change it, you can use any other free or paid custom…

Read more
wordpress cloud hosting tutorial for beginners

When it comes to WordPress hosting, most bloggers and hosting review sites will recommend shared hosting and managed…

Read more
Types Of WordPress Hosting For Beginners

WordPress is one of the most popular platforms for hosting websites, especially blogs, since the website owner…

Read more
About

Cloud Computing Tutorial Blog