Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Enable SSL support at CloudFlare for WordPress
//Add this to wp-config.php file "require_once(ABSPATH . 'wp-settings.php');"
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.