当我进入url.com/index.php时,WordPress重定向到登录页面 时间:2019-01-02 作者:Imran Akhter 当我进入时WordPress重定向到登录页面url.com/index.php 或者只是http://url.com. 当我使用https输入时,会正常打开。请帮忙。 1 个回复 SO网友:Md. Ehsanul Haque Kanan 有几种方法可以解决您的问题。Add Codes to wp-config.php在wp config中添加这些行。php文件:define(\'WP_HOME\',\'http://example.com\'); define(\'WP_SITEURL\',\'http://example.com\'); Clear Cache确保清除浏览器中的缓存以及缓存插件。您还可以尝试将此行添加到wp config。php文件:define( \'WP_CACHE\', false ); Identify the Defective Plugins可能是,您使用的插件有缺陷,导致了问题。尝试停用站点中的所有插件。然后逐个激活以查找有缺陷的。 文章导航