禁止您无权访问此服务器上的/wp-login.php [英] Forbidden You don't have permission to access /wp-login.php on this server

查看:385
本文介绍了禁止您无权访问此服务器上的/wp-login.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所有的WordPress网站都有一个问题.我可以全部访问并浏览帖子,页面和其他内容.但是,当我转到wp-login.php时,我会查看表单并输入用户名和密码.

I have one problem with all my WordPress's sites. I can access in all and navigate in the posts, pages and other. But when I go to wp-login.php I view the form and put user and password.

当我单击访问权限时,会在这里:

And when I clicking access goes here:

禁止

您无权访问此服务器上的/blog/wp-login.php.

You don't have permission to access /blog/wp-login.php on this server.

我在文件夹755和文件644中具有权限,如果可以,我是否全部检查任何帮助?

I have permissions in folder 755 and files 644, and I check all if i can, any help?

谢谢

推荐答案

解决方案是将其添加到您的.htaccess文件的开头

The solution is to add this to the beginning of your .htaccess

<Files wp-login.php>
Order Deny,Allow
Deny from all
Allow from all
</Files>

这是因为许多主机都在使用其客户端的wordpress受到攻击.

It's because many hosts were under attack, using the wordpress from their clients.

这篇关于禁止您无权访问此服务器上的/wp-login.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆