Wordpress 后台页面强制 HTTPS 加密

修改 wp-config.php 在 requireonce(ABSPATH . 'wp-settings.php'); 之前,加define('FORCESSL_ADMIN', true);就能使得后台强制加密了; 而加入一行

define('FORCE_SSL_LOGIN', true);

就可以使登录页面强制加密了~ NGINX ssl 设定参考官方 wiki: http://nginx.org/en/docs/http/ngxhttpssl_module.html

除非注明, 风波竹林 文章均为原创,转载请以链接形式标明本文地址
本文地址: https://blog.fbzl.org/wordpress后台页面强制https加密/