谷歌显示"由于此网站的robots.txt"无法获得此结果的说明。

时间:2017-03-13 05:06:52

标签: html wordpress seo wordpress-theming meta-tags

我使用wordpress创建一个Web应用程序并托管此站点。当我在goole中搜索名称时显示

  

由于此网站的robots.txt

,此结果的说明不可用

为什么会发生这种情况.metatag中有问题吗?

2 个答案:

答案 0 :(得分:0)

您网站的robots.txt文件无法抓取您在Google搜索中找到的网页。这意味着Google的机器人不会访问此页面来阅读其内容。

robots.txt文件位于网址/robots.txt,例如http://example.com/robots.txt

您需要查找并检查以Disallow:开头的任何行:

  • Disallow: 允许所有内容
  • Disallow: / 阻止所有内容
  • Disallow: /a 会阻止路径以/a开头的每个网址,
    例如http://example.com/ahttp://example.com/abchttp://example.com/a/b.html等。

答案 1 :(得分:-2)

如果你安装了Yoast SEO插件,你可以找到并编辑robots.txt文件 SEO>工具>文件编辑器

如果您使用Google Search Console(强烈推荐),那么您可以测试robots.txt文件 转到抓取> robots.txt测试员

GSC - https://www.google.com/webmasters/tools/home?hl=en