📜  wp-admin 重定向到 https wordpress - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:06.357000             🧑  作者: Mango

代码示例1
So if you are having this issue only when you go to ../wp-admin then it is 
because you have force ssl admin set to true. You can find this in 
wp-config.php in the root of your WordPress site, you need to set this option 
to false.

define('FORCE_SSL_ADMIN', false);

I am assuming your siteurl in the wp_options table in the WordPressdatabase is 
set to a http:// address.