简体   繁体   English

wp-login.php,文件未登录到仪表板,但重定向到主页(Wordpress)

[英]wp-login.php, file doesn't login to Dashboard, but redirects to homepage (Wordpress)

I have a problem with my Wordpress site, namely logging in to the admin dashboard seems impossible. 我的Wordpress网站有问题,即似乎无法登录到管理仪表板。 Anytime I do that, it takes me to the site's homepage but before this, I can't create a new page. 每当我这样做时,都会带我到网站的主页,但是在此之前,我无法创建新页面。 I have tried these solutions but still no change: 我已经尝试过这些解决方案,但仍然没有任何变化:

  1. Cleared cookies 清除的Cookie

  2. Uploaded a new wp-login.php file 上载了新的wp-login.php文件

  3. Disabled plugins and theme 禁用的插件和主题

  4. Edited the wp_user for admin 为管理员编辑了wp_user

  5. defined my homepage url in my wp-config file 在我的wp-config文件中定义了我的主页URL

Note: There is no .htaccess file in my wp root directory Anything to help please, my client's really impatient 注意:我的wp根目录中没有.htaccess文件,请帮忙,我的客户真的很急

After going through other options all I had to do was: 经过其他选择之后,我要做的就是:

Look for my .htaccess file(if hidden, make it visible) and delete it. 查找我的.htaccess文件(如果隐藏,使其可见)并将其删除。 Then after getting through to your admin area update your permalink 然后进入管理区域后,更新永久链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM