点击Google搜索结果会将我转到空白页面

问题描述 投票:3回答:3

如果您通过Google到达那里,我们的客户网站之一无法解决。

  1. 谷歌搜索“ASSR”
  2. 最重要的结果应该是“美国脊柱放射学会”。点击它。
  3. 该页面是空白的
  4. 现在刷新该空白页面。该网站出现。

我以前从未见过这样的事情。有人知道是什么原因引起的吗?

google-search
3个回答
2
投票

最有可能的 它被称为Wordpress Blank Screen of Death

使用像WordPress这样的内容管理系统可能会发生不好的事情。如果你最近升级了我正在进行的各种项目中发生的事情就是“死亡的空白屏幕”,因为它已被WordPress网站所有者和开发者所知。

白页死亡的白页就是你所看到的只是空白页面不要惊慌,但放松一切都不会丢失,因为它可能是导致错误的核心文件中的一些问题,因为你的内容在数据库中保存没有任何东西如果您尚未备份,则丢失备份数据库。

因此,如果您正面临这样的问题,就像我说的那样,保持冷静,不要做任何事情,比如删除您的数据库。以下是可能存在问题的几个地方......

WordPress主题

通常当你升级时你需要切换到一个工作默认的二十个主题,如果你没有切换然后可能是你使用的主题不兼容所以使用ftp程序重命名你正在使用的主题,以便打开二十个主题,看看是否这解决了你的问题。

插件

如果您在升级之前没有停用插件可能是其中一个插件导致问题可能是不兼容或需要更新到新版本所以使用ftp程序重命名插件文件夹说插件_保持并创建一个空白插件文件夹并尝试登录如果您可以登录,那么您会注意到所有插件都已停用。返回ftp程序并删除空白插件文件夹,并将orignal重命名为插件,并及时激活一个插件,以查看导致问题的插件。

的.htaccess

.htaccess规则可能是问题的根源。要检查此项,请通过FTP或SFTP访问您的服务器并重命名.htaccess文件。如果找不到.htaccess文件,请确保已设置FTP或SFTP客户端以查看不可见文件。

如果上述步骤无法解决问题,则可能是您的升级未正确执行且文件可能已损坏。

WordPress站点文件

如果您想检查导致问题的文件,那么您可以

如果您之前有任何空白,请先检查wp-config.php

<?php

代码如果没有,那么尝试在下一行添加此代码

error_reporting(E_ALL); ini_set('display_errors', 1);

另外,在上面添加以下代码

/* That's all, stop editing! Happy blogging */

define( 'WP_DEBUG', true);

看看你得到了什么错误。

并从新的WordPress下载中替换出错的文件。

一旦你有网站工作删除你在第2行添加的行,并将true更改回false

资料来源:http://gbpcentral.com/blog/fixing-blank-screen-death-wordpress/


2
投票

充其量我可以猜测他们阻止了其引用标头包含“google”的请求

来自bing work,google.com和google.ca的链接都没有

并:

Request URL:http://theassr.org/
Request Method:GET
Status Code:200 OK
**Request Headers**
GET / HTTP/1.1
Host: theassr.org
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Referer: http://www.bing.com/search?q=assr&go=&qs=n&form=QBLH&pq=assr&sc=8-4&sp=-1&sk=&cvid=9127fe6bbe114e1da14edca89a3d4582
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: PHPSESSID=9bdbe7e59823f473c3c6b190da5851d3
**Response Headers**
HTTP/1.1 200 OK
Date: Fri, 10 Jan 2014 23:16:24 GMT
Server: Apache/2.2.22
X-Powered-By: PHP/5.3.27
Vary: User-Agent,Accept-Encoding
Content-Length: 3787
Content-Type: text/html
Connection: Keep-Alive
Content-Encoding: gzip

Google.com

Request URL:http://theassr.org/
Request Method:GET
Status Code:200 OK
**Request Headers**
GET / HTTP/1.1
Host: theassr.org
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Referer: https://www.google.com/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: PHPSESSID=9bdbe7e59823f473c3c6b190da5851d3
**Response Headers**
HTTP/1.1 200 OK
Date: Fri, 10 Jan 2014 23:04:59 GMT
Server: Apache/2.2.22
X-Powered-By: PHP/5.3.27
Vary: User-Agent,Accept-Encoding
Content-Length: 20
Content-Type: text/html
Connection: Keep-Alive
Content-Encoding: gzip

Google.擦

Request URL:http://theassr.org/
Request Method:GET
Status Code:200 OK
**Request Headers**
GET / HTTP/1.1
Host: theassr.org
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Referer: https://www.google.ca/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: PHPSESSID=9bdbe7e59823f473c3c6b190da5851d3
**Response Headers**
HTTP/1.1 200 OK
Date: Fri, 10 Jan 2014 23:15:17 GMT
Server: Apache/2.2.22
X-Powered-By: PHP/5.3.27
Vary: User-Agent,Accept-Encoding
Content-Length: 20
Content-Type: text/html
Connection: Keep-Alive
Content-Encoding: gzip

google.com.pe也行不通


0
投票

我们已经解决了这个问题。问题在于我们的重写规则写得很糟糕。我们重写了它们,现在它可以工作了。显然只有谷歌有这些规则的问题。

© www.soinside.com 2019 - 2024. All rights reserved.