简体   繁体   English

尝试登录 wp-admin 会给出带有文本字符串的空白页面:“已阻止”

[英]Trying to login to wp-admin gives blank page with a text string: "Blocked"

When clicking login at my site.com/wp-admin, I get redirected to a blank page with a single text string:在我的 site.com/wp-admin 上单击登录时,我被重定向到带有单个文本字符串的空白页面:

blocked被封锁

Info : I am using Wordpress and my hosting provider one.com.信息:我正在使用 Wordpress 和我的托管服务提供商 one.com。 I've read about people that couldn't access the login screen, but in my case I could access it, but whatever credentials I use I still get redirected to the "blank" blocked site.我读过有关无法访问登录屏幕的人的信息,但就我而言,我可以访问它,但无论我使用什么凭据,我仍然会被重定向到“空白”被阻止的站点。

Since I'm new and still learning I accidentally tried to connect to one.com instead of mysite's FTP server.由于我是新手并且还在学习,我不小心尝试连接到 one.com 而不是 mysite 的 FTP 服务器。 This made One.com block my IP from entering my site.这使得 One.com 阻止我的 IP 进入我的网站。

I contacted them and told them that I'm new and faulty sent connection requests to them (probably thought it was a DoS attack).我联系了他们并告诉他们我是新手并且向他们发送了错误的连接请求(可能认为这是 DoS 攻击)。 They unblocked me, so I now can access my site.他们解除了对我的阻止,所以我现在可以访问我的网站。 But of course a new problem arouse: I get a blocked message when trying to login (with any credentials, even blank).但是当然会出现一个新问题:我在尝试登录时收到一条被阻止的消息(使用任何凭据,甚至是空白)。 All the (admin)users get the same message.所有(管理员)用户都会收到相同的消息。

One.com has added a special policy to reduce spam on wordpress websites. One.com 添加了一项特殊政策,以减少 wordpress 网站上的垃圾邮件。 You have to change your .htaccess file and add these rules您必须更改 .htaccess 文件并添加这些规则

RewriteEngine On
RewriteCond %{REQUEST_URI} ^/
RewriteRule .* - [CO=wordpress_test_cookie:WP+Cookie+check:%    {HTTP_HOST}:1440:/]

http://one-docs.com/guides/en/wordpress-login-blocked/ http://one-docs.com/guides/en/wordpress-login-blocked/

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

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