Cloudflare flexible ssl https

How to Setup CloudFlare Flexible SSL for WordPress

As we all know Google has announced that it will be counting HTTPS as a ranking factor now. That means if you use HTTPS it will increase the chances of Google ranking you higher in it’s search results.

Previously switching to HTTPS was expensive and technical having to buy SSL certificates and install them yourself. Thankfully Cloudflare have released a free version that does exactly the same job and is easier to set up.

Setting up your free Cloudflare Flexible SSL

  1. Sign up to Cloudflare
  2. Select the free plan
  3. Follow the step for adding your domain name
  4. When you have registered and set up your domain name, click on your domain
  5. At the top there will be a row of icons click on Crypto
  6. The first option will be SSL, select flexible SSL

cloudflare flexible ssl

You have now requested a Flexible SSL Certificate from Cloudflare and will normally take around 15 minutes to issue you one. Cloudflare will tell your Flexible SSL is active by displaying a green active box below.

Preparing WordPress for Cloudflare’s Flexible SSL

IMPORTANT – In your WordPress backend leave your WordPress Address (URL) and Site Address (URL) as HTTP.

Next, you will have to install both of these two plugins below.

CloudFlare Flexible SSL Plugin

This plugin is essential for enabling Flexible SSL on WordPress and will prevent infinite redirect loops when loading WordPress sites under CloudFlare’s Flexible SSL system.

CloudFlare Flexible SSL Plugin

cloudflare flexible ssl plugin

WordPress HTTPS Plugin

This plugin isn’t essential if all of your plugins and links on your website are already HTTPS. Most people’s links aren’t so this plugin changes them all to https.

WordPress HTTPS Plugin

WordPress HTTPS (SSL)

Configure WordPress HTTPS Plugin’s Settings

  1. Go into the plugin’s settings
  2. Select yes for the proxy setting
  3. Save

https-proxy-setting

Instruct CloudFlare to deliver our content via HTTPS

  1. Go back to Cloudflare
  2. Select your domain
  3. In the row of icons at the top select page rules
  4. Turn “always use HTTPs” on
  5. Add your domain name as the page rule in between two asterisks
  6. Click add rule

cloudflare page rules ssl

Change your WordPress Site Address (URL)

Finally change your Site Address (URL) to “https://”, but make sure you leave the WordPress Address (URL) as “http://”.

**IMPORTANT** If you change your WordPress Address (URL) to “https://” it will break your site. If you change your Site Address (URL) to “https://”, without the Cloudflare Flexible plugin running it will also break.

site-address-url

Check your Cloudflare Flexible SSL is working

That should be you setup with your new free Cloudflare Flexible SSL Certificate. Just visit your website in a browser and check to see if the green lock is showing on the top left of your address bar.

Relevant Links

WordPress SSL Tutorial


Tags: , ,


Please share if you found this useful

Recent posts

Magento Image Upload Button Missing

How To Fix Magento Image Upload Button Not Showing

Have your Magento upload buttons gone missing on the backend for all of your products? This seems to be a…

Read More
How to Disable Plugins from WordPress Without Dashboard Access

How to Disable Plugins from WordPress Without Dashboard Access

Sometimes we need to disable WordPress plugins without accessing the WordPress dashboard. Often times during troubleshooting, many websites recommend that…

Read More
Facebook thumbnails

How to Fix the Wrong Facebook Share Link Thumbnail Image with WordPress

When sharing links on Facebook have you ever noticed the wrong thumbnail image displaying? If a URL has been shared…

Read More
Let's Work Together!
I’m currently available for freelance web design work in Belfast now.