Setup Cloudflare flexible SSL

Setup Cloudflare flexible SSL

In order to setup Cloudflare flexible SSL for your WordPress site, you’ll need to move your domain name server to Cloudflare. Login to your Cloudflare, at the top menu, choose crypto, then change SSL settings to flexible.

At the top menu, choose page rules. Add a page rule to always use HTTPS for http://www.oofnivek.com/*

Take note that the URL is HTTP and not HTTPS. This is because my web server is actually serving pages using HTTP and not https. Cloudflare is the one serving my pages using https acting like a proxy between you and my server.

setup cloudflare flexible ssl
Set the SSL settings to flexible
setup cloudflare flexible ssl
Add a page rule to my site.

Install WordPress plugin

Other than the configuration in Cloudflare, we need to install WordPress HTTPS (SSL) plugin. Without this plugin, loading the page will cause mixed content error and warnings. Once installed and activated, set the value for “proxy” to yes. If properly configured, it should show secure now next to the address bar.

setup cloudflare flexible ssl
Install the WordPress HTTPS (SSL) plugin.
setup cloudflare flexible ssl
Mixed content error and warning without the plugin.
setup cloudflare flexible ssl
Set proxy settings to “yes”.
setup cloudflare flexible ssl
Properly configured flexible SSL.