强制后台ssl登录,并开启了fix非https的element,绿色图标是能出现了,不过一次登录会出现两次301;
根本登录不上,在wp-config.php里加上了define('FORCE_SSL_LOGIN', false);
define('FORCE_SSL_ADMIN', false);
访问登录页还是会跳转到https,想着只能禁用插件了或者改插件的配置项;
禁用插件来的简单点:
将wp_options(表前缀改成自己的)中option_name为active_plugins对应的 option_value 置空即可。
`select option_value from wp_options where option_name=’active_plugins’;
+—————————————————————————————————————-+
| option_value |
+—————————————————————————————————————-+
| a:2:{i:0;s:45:”Replace-Google-Fonts/replace-google-fonts.php”;i:1;s:35:”wordpress-https/wordpress-https.php”;} |
+—————————————————————————————————————-+
1 row in set (0.00 sec)
update wp_options set option_value=”” where option_name=’active_plugins’;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0`