By adding this to your wp-config.php file, you’ll force your WordPress’s login page, wp-login.php, to use a secure SSL connection.

define( 'FORCE_SSL_LOGIN', true );