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 Cloudflares 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 your 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

wordpress

Why the_date() Function in WordPress Only Shows Up Once on the First Post

I was building a blog on WordPress and I realised the function the_date() was only showing up on the first…

Read More
how to remove the send email button off the macbook 2016 touch bar on apple mail

How to Remove the Send Email Button Off the Macbook 2016 Touch Bar on Apple Mail

I bought the new Macbook Pro 2016 and it’s been working great so far, except one problem. Every time I’m…

Read More
Google Maps how to disable scrolling on iframes

Disable the mouse scroll wheel zoom on embedded Google Map iframes

Do Google Maps iframes get in the way of you scrolling through your website? Currently if you’re using Google Maps…

Read More
Let's Work Together!

I’m currently available for freelance web design work in Belfast now.