【发布时间】:2015-03-24 13:40:45
【问题描述】:
当我在 Google 中搜索特定关键字时。网站显示出来了,但通常在显示元描述的地方,它会显示一条错误消息:
警告:第 417 行 C:\domains\domain.com\wwwroot\wp-content\themes\canvas\somefile.php 中为 foreach() 提供的参数无效
谷歌怎么可能显示这行文字而不是正常的描述?
【问题讨论】:
标签: seo google-search
当我在 Google 中搜索特定关键字时。网站显示出来了,但通常在显示元描述的地方,它会显示一条错误消息:
警告:第 417 行 C:\domains\domain.com\wwwroot\wp-content\themes\canvas\somefile.php 中为 foreach() 提供的参数无效
谷歌怎么可能显示这行文字而不是正常的描述?
【问题讨论】:
标签: seo google-search
因为它很可能是出现在 google 或 google 中的东西,只有在获取页面时才会得到这个结果。
Google 不会过滤错误消息。
例如,如果您搜索 Warning: Invalid argument provided for foreach() in,您会得到带有无效 foreach 的 http://www.bibliotheekgulpen-wittem.nl/index.php/2013-11-04-09-27-41/bibliotheek-wise-ap/134-bibliotheek-wise-app-2014。
查看页面本身,在源代码中没有任何无效的内容。
只是运气不好,当谷歌获取页面时出现错误。
【讨论】: