So if your site was created with absolute urls in it, you will have to go through all the content and change it from http to https. Usually this is done via plugin or database.
]]>https://snippets.webaware.com.au/snippets/wordpress-is_ssl-doesnt-work-behind-some-load-balancers/
You can install SSL Insecure Content Fixer to help diagnose the problem. It can also resolve it for you, or you can use the information from that plugin to work out what to add to your wp-config.php file to fix it permanently without a plugin. More info here:
https://ssl.webaware.net.au/https-detection/
cheers,
Ross
However I managed to find the answer this morning. The answer was simply to add
$_SERVER['HTTPS'] = 'on';
to wp-config.php. Hey presto, solved. If I view the non secure version, the urls use http. If I view secure, https urls.
I guess it’s a side effect of using Cloudflare.
]]>