谷歌机器人ajax索引的当前状态

时间:2012-02-16 12:42:41

标签: jquery ajax googlebot

Google僵尸网站索引ajax网站的当前状态是什么?我有链接显示一些列表:

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

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

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

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

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

1 个答案:

答案 0 :(得分:0)

确定启用AJAX的网站如何使用Google抓取工具的一种方法是等待它被抓取,然后在Google搜索结果中找到它,然后查看网站预览:

enter image description here

您看到的屏幕截图是Google在抓取时保存的内容。因此,如果您的页面上发生了AJAX事件并且它们在该屏幕截图中正确显示,那么您可以假设Google正在抓取并正确索引这些启用了AJAX的页面。