为什么Googlebot无法覆盖有效且可访问的url?

有一段时间,Googlebot无法抓取我的网站(事实上,我遇到这个问题的时间太长,以至于我的网站实际上是从Google取消列出的)。

在谷歌网站pipe理员工具中使用Fetch As Googlebottesting我的网站实际上返回了一个空白页面:Googlebot无法访问我的网站,并且不能提供可以解释缺less可达性的诊断消息。

那是怎么回事?

事实certificate,原因仍然未知,我的networking服务器上正确configuration的networking服务是用/8networking掩码,而不是(在我的情况下)正确的networking掩码/24

手动删除我的服务器的路由表中的违规条目,并添加正确的条目解决了问题,现在Googlebot愉快地再次访问我的Web服务器:

 root@web:/# ip addr show eth0 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 inet 192.0.2.7/8 brd 192.255.255.255 scope global eth0 root@web:/# ip addr add 192.0.2.7/24 dev eth0 root@web:/# ip addr del 192.0.2.7/8 dev eth0 root@web:/# ip addr show eth0 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 inet 192.0.2.7/24 scope global eth0 

(更改IP地址以保护无辜者,在删除不正确的条目之前添加正确的条目有助于在通过该地址连接时保持SSH会话的开启。