Introduction: How to Get Free SSL/HTTPS
Everybody knows that Google is now using HTTPS as a ranking signal. But not everyone knows that you can get a free SSL certificate from CloudFlare and set it up in just a couple of minutes. After a painful hour of trying to figure this out I would like to share with you exactly how its done.
I'm going to assume that you have CloudFlare operating on your website, if not, do that. Your setup will be different depending on how you set DNS record so I'm not going to advice on that.
Step 1: After Setting Up Cloudflare
Once you have Cloudflare setup, you'll need to install two plugins to your WordPress website.
The first plugin allows you to control several Cloudflare settings from within your WordPress install, the second stops the redirect loop that may occur. After activating the plugins, go to the settings for the cloudflare plugin and fill in the details. To find what you should put into these boxes, click the (Get this?) links next to each input. Your settings should look something like this.
Step 2: Adding URL
On your WordPress website, navigate to Settings > GeneralChange your WordPress Address (URL) and Site Address (URL) to be https. That should look like this.
Step 3: Changing Cloudflare Settings
At this point, your website should log you out and force you to log back in under the https version. However, when you navigate to your website it doesn't automatically go to the http version and this is crap. Go back to CloudFlare and click CloudFlare settings under the options cog. Look for something that says 'Page Rules'. Remember Ctrl+F is find, use it. In these settings I want to make every page go to HTTPS so my rule is mydomain.com/* the * is a wildcard for any URL. Click 'Always use https' and click add rule. Your settings should look like this.
Step 4: Done!
Your website will now force your https beliefs on everyone that visits!
We have a be nice policy.
Please be positive and constructive.