【问题标题】:googlebot crawling content that was loaded by ajax?googlebot 抓取由 ajax 加载的内容?
【发布时间】:2015-10-09 06:44:12
【问题描述】:

在 mywebsit 中,当用户点击每个主题时(url:http://mywebsite/subject/id(1234567))。显示标题和描述,并通过 ajax 加载该主题的内容。

我将此网址 (http://mywebsite/subject/id(1234567)) 添加到 Fetch as Google(在 google/webmaster 中),然后单击 Fetch an Render。在 Googlebot 中获取和渲染,显示渲染选项卡的 ajax 内容(“这就是 Googlebot 如何查看页面的结果:”显示由 ajax 加载的内容),但不显示在 Fetch 选项卡中。在 Fetch 选项卡中仅存在我的页面的源 html,没有 ajax 内容。

这是否意味着 googlebot 抓取将索引我网站的 ajax 内容?

【问题讨论】:

    标签: ajax google-search-console


    【解决方案1】:

    答案是否定的:你必须使用 https://developers.google.com/webmasters/ajax-crawling/ 描述的 ajax 爬取方案

    但昨天谷歌改变了游戏规则: http://googlewebmastercentral.blogspot.com/2015/10/deprecating-our-ajax-crawling-scheme.html

    Google 声明“我们通常能够像现代浏览器一样呈现和理解您的网页。”

    【讨论】:

      猜你喜欢
      • 2014-08-04
      • 2019-07-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-01-29
      • 1970-01-01
      • 1970-01-01
      • 2017-11-12
      相关资源
      最近更新 更多