We all know that HTTPS is a ranking factor and Google also revealed that its a ranking factor.

Not only does this help your site to increase rankings but this also helps in high conversion rates.

So in this tutorial, I will show you how to convert your site from HTTP to HTTPS in less than few Minutes.

For this method, you need free CloudFlare account.

Cloudflare FREE SSL is very easy to use and with the help of CloudFlare Flexible SSL plugin you can convert your site to HTTPS without any hassle

If you do not have cloudflare account then create CloudFlare free account.

In this post I am sharing you two alternative methods.

 

READ THIS FIRST

Flexible SSL

 

The cloudflare free flexible ssl plan works as a reverse proxy which means that the encryption only works between your visitor and your site but not between your host and cloudflare.

Your visitors still see the site as HTTPS  but its not recommended for people who asks sensitive information like credit card details.

If you are some one who are a blogger but not taking any credentials like credit card then you can choose the free flexible plan.

Full SSL

 

But if you want to encrypt everything then you should use cloudflare GA certificate which was also mentioned in this article.

The cloudflare certificate should be installed on your server manually which was also mentioned below after method 3.

Read the blog post completely and then choose whether you want flexible ssl or full strict ssl.

 

3 Simple Ways To Setup CloudFlare Flexible SSL for WordPress

 

For all the methods you need cloudflare enabled website so you must activate cloudflare on your website to convert your site to HTTPS.

If HTTPS is not working with 1st method then you can try the other two methods.

I tried all of these methods and found that Method 3 is working flawlessly on any kind of site

So if any one of the methods here are not working for your site then you can try the remaining methods to see which ones works best for you.

 

Method 1 :

Login to your website Dashboard and install CloudFlare Flexible SSL plugin

Login to CloudFlare account.

Go to Crypto tab in CloudFlare Dashboard.

 CloudFlare crypto

Choose Flexible.

This is the only Free SSL for bloggers.

Scroll down to the end

Select Automatic HTTPS Rewrites and turn it On.

Automatic HTTPS Rewrites 

This helps you to fix content by changing  “http” to “https” on all the internal links  on your web site that can be served with HTTPS.

Select Page Rules in CloudFlare Dashboard.

Create a page rule.

page rules

In the URL use * before and after your URL.

Example – My website is “https://aimforbig.com” so if I want HTTPS to work I need to add this in the URL https://*aimforbig*

creating page rules in cloudflare

Now Logout from your wordpress Dashboard and check your URL with HTTPS.

Sometimes images may not appear when you load HTTPS site, but do not worry.

Delete all the cache with the help of caching plugin.

Logout and Login again.

All your images will be loaded fine now.

Now check your site by entering the http version of your site and see if it redirects to HTTPS.

It will redirect automatically, if not, delete the cache again.

Now check any article on your site in incognito window from another browser and click on your internal links and see whether they are loading in other Tab with HTTPS or not.

I tested with this method and my home page showed secure but when I tried to load any other posts from my site it started to show not secure.

So after testing this method open another browser and enter your website URL with HTTPS and click on your popular posts on your right side bar.

IF they show secure then you do not need to try the methods which are explained below.

Method 2 :

Login to your website Dashboard and install CloudFlare Flexible SSL plugin

Login to CloudFlare account.

Go to Crypto tab in CloudFlare Dashboard.

Choose Flexible.

 CloudFlare crypto

Create a page rule.

In the URL use * before and after your URL. (As explained in method 1)

page rules cloudflare

 

Install CloudFlare Plugin.

Enter your Email and Global API key (This can be found at cloudflare website)

API key

Go to settings in CloudFlare plugin dashboard and select Automatic HTTPS Rewrites On.

cloudflare plugin rules

Now again check back your site in incognito window from another web browser and see whether your internal links are redirected to the new HTTPS site.

I tested this method and found that my home page was loading fine but when I tried to open any blog posts it displayed Redirection error.

So if it works on your website then fine otherwise follow the next method.

Method 3 :

Go to CloudFlare and choose Flexible SSL plan.

 CloudFlare crypto

Add page rule in CloudFlare Dashboard

Select Page Rules in CloudFlare Dashboard.

Create a page rule.

 

page rules

In the URL use * before and after your URL.

Example – My website is “https://aimforbig.com” so if I want HTTPS to work I need to add this in the URL https://*aimforbig.com*

 

page rules cloudflare

Install Really Simple SSL and CloudFlare Flexible SSL.

Activate CloudFlare Flexible SSL and Really Simple SSL.

During activation Really simple SSL will log you out so login to your dashboard again.

Go to Really Simple SSL settings and check the Detected setup.

really simple sssl setup

 

This method worked on my site and when I click on other posts from my website they all show secure sign.

This method is easy to setup and it needs few plugins to convert your site to HTTPS without any hassle.

 

 

How To Use The Free CloudFlare Origin Certificate

 

Free cloudflare origin certificate provides full SSL unlike the flexible ssl plan but you need to manually install certificate and private  keys.

So for those who want to encrypt data like credit card details and other sensitive information this setup will encrypt data from your visitors to  cloudflare and from cloudflare to your server which is more secure than the simple flexible plan which was mentioned earlier.

So its your choice but I recommend you follow this setup.

Go to cloudflare Dashboard and choose CRYPTO.

Scroll down  to origin certificate and click on create Certificate.

 free TLS certificate signed by Cloudflare

Cloudflare generates private key and CSR.

Enter your domain names and sub domain names here.

Keep the default value of certificate validity which is 15 years.

 

Origin Certificate Installation

 

Choose the default PEM format

Copy both certificate and private keys and save it on notepad so that you can copy paste those details.

 

private keys

Now, login to your cpanel account.

Select SSL/TLS settings

Select Install and Manage SSL for your site (HTTPS).

cpanel SSL

 

Select your domain and paste the Certificate: (CRT) and Private Key (KEY)

 

Make sure you include every thing including  —–BEGIN CERTIFICATE—–   —–END CERTIFICATE—–

In the Certificate Authority Bundle: (CABUNDLE) you can use Cloudflare Origin CA — RSA Root

copy the RSA root and paste it in certificate authority bundle.

Last step choose SSL strict in crypto.

Manage cryptography settings for your website.

 

Now check your site with HTTPS and see if every thing is working or not.

The advantage with the free certificate is that it also encrypts the data between cloudflare and your hosting but the flexible ssl only encrypts data between the visitor and clodflare.

 

Updating Robots.Txt

Now you need to edit your robots. TXT file.

Login to your cpanel and edit your robots.txt file.

Change the website URL and test whether Google bot was allowed to access your site.

If you are uisng Free CloudFlare CDN then you need to delete cache from CloudFlare Dashboard.

Check Cache on CloudFlare Dashboard.

Purge Cache – Chose Purge everything

purge cache cloudflare

Then you can check your robots.txt again to see the changes you made in your webmaster account.

 

Changing your web property

You need to change your website in your webmasters account.

If you use the old HTTP site then it will not show you the errors and the content keywords for which you are ranking for.

Add the new HTTPS site as your property and submit your HTTPS sitemap.

 

Disavow links

If you used Disavow links before for your HTTP site then you should also disavow those links from your new web property.

Just download the Disavow csv file from the HTTP property and upload it again.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.