jquery - Google bot ajax 索引的现状

标签 jquery ajax googlebot

Google 机器人索引 Ajax 网站的当前状态如何?我有显示一些列表的链接:

mysite.com/list#key=value&foo=bar

内容在页面加载后由 jQuery 动态加载:

$(document).ready(function() {
    // load content to div by $.ajax() request
});

Google 是否会抓取它并获取加载的内容,或者我是否必须执行一些此处显示的邪恶魔术:http://code.google.com/intl/pl-PL/web/ajaxcrawling/docs/getting-started.html

我以 Google Bot 的形式获取网站,但 html 没有 ajax 内容:(

最佳答案

确定支持 AJAX 的网站对 Google 抓取工具的处理情况的一种方法是等待该网站被抓取,然后在 Google 搜索结果中找到它,然后查看网站预览:

enter image description here

您看到的屏幕截图是 Google 抓取时保存的内容。因此,如果您的页面上发生了 AJAX 内容,并且它们在该屏幕截图中正确显示,那么您可能会认为 Google 正在抓取并正确索引这些支持 AJAX 的页面。

关于jquery - Google bot ajax 索引的现状,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9311454/

相关文章:

jquery - 如何设置 Bootstrap 选项卡的高度和边框?

javascript - vanilla js 与 jQuery ajax 调用

javascript - 不加修改地插入大块 HTML

javascript - 为 tr 中的每一秒 td 创建一个新表

jquery - SQL Server 与 jQuery 和 Node js 的连接

javascript - 使用 JS(失败)和 CURL(工作)在 Asana 中创建任务

ajax - wicket 6.0.0-beta2 使用 AjaxButton 提交表单时更新 DataTable 的内容

nginx - 更正 nginx 配置以防止索引某些文件夹

c - 使用 ?_escaped_fragment_= 向 Google 机器人提供 index.html

seo - 使用 robots.txt 阻止来自搜索引擎的 100 多个 url