jasonsyourhuckleberry
10/1/2018 - 1:11 PM

Force SSL and HTTPS on WP admin dashboard and login pages.

If you want to force SSL and HTTPS on your WordPress admin area or login pages, then you need to configure SSL in the wp-config.php file.

Simply add the following code above the “That’s all, stop editing!” line in your wp-config.php file:

define('FORCE_SSL_ADMIN', true);