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.
- A WordPress website/blog running using CloudFlare CDN.
- You have admin access to the blog.
- You know how to install and activate WordPress plugins.
- 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.
Step 2: Install and activate “CloudFlare Flexible SSL” Plugin from your WordPress dashboard.
Step 3: In you WordPress admin page, go to settings –> General and change site url from http to https.
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.
Step 5: Now head over to CloudFlare dashboard, select “page rules” tab and click “create page rule” option.
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.
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.
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.
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.
Hi, thanks very much for this article.
I came across your post last week and implemented the above steps on my blog but after two days of applying my flexible SSL certificate was still pending. I contacted their support and they explained the delay wasn’t from their own end.
I later came across another article on Let’s Encrypt free SSL. I implemented the steps and it was like magic.
Check my blog https://www.wiki212.com/
The let’s encrypt SSL is active though will have to renew it every 3months.
Thanks again for the great piece.
“Access denied” when testing HTTPS site in Google’s Structured Data Testing Tool after activation of Cloudflare SSL in my WordPress blog.
I dont think it is a SSL problem. Please check your robots.txt file if crawling is allowed.