force wordpress admin/login to use SSL

How to force wordpress to use https for admin and login session?

put in your wp-config.php the following line.
define(‘FORCE_SSL_ADMIN’, true);

Leave a Reply

Your email address will not be published. Required fields are marked *

4 × 4 =