Force HTTPS on the WordPress login page

To force HTTPS connection on the wp-admin directory, edit your wp-config.php file and add

define('FORCE_SSL_ADMIN', true);

 

This will ensure the admin area is always loaded with SSL, ultimately resulting in a safer WordPress installation.

 

Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.

 

One thought on “Force HTTPS on the WordPress login page

Leave a Reply to Sergi Cancel reply

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