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

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

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.