Enable CloudFlare SSL via wp-config.php

This fixes a nasty redirect loop error that I encountered when trying to enable CloudFlares free SSL offering.

define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
if( isset( $_SERVER['HTTP_CF_VISITOR'] ) && strpos( $_SERVER['HTTP_CF_VISITOR'], 'https' ) )

Just drop this code into wp-config.php and it’s fixed! You’ll also want to install and configure the CloudFlare WordPress Plguin.