Force HTTPS WordPress admin

If you want WordPress to force TLS encryption for the admin part of the site, then:

# vi wp-config.php
/* Force SSL Admin */
define('FORCE_SSL_ADMIN', true);

That’s All Folks!

Author: Joel Carnat

@work Technical Architect and SysAdmin ; @home OpenBSD and FOSS, Karate, Kobudō, Jōdō, Bodyweight workout, Photography & Music

Leave a Reply

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


This site uses Akismet to reduce spam. Learn how your comment data is processed.