# vim /var/www/blog/wp-config.php

add at the top:

define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);

Go to your blog and have fun 🙂

%d bloggers like this: