WordPress Cloudflare Redirect SSL Problem Fix Solution

Add this to your wp-config.php. That’s it…

$_SERVER['HTTPS'] = 'on';

There is more ways to fix hosting ssl/Cloudflare ssl problem but this is the fastest and I think best one.

You don’t need to have a plugin and most of the time people can not access their wp-admin anyway.

So cheers…

Leave the first comment