我有一个通过jquery.ajax()分页结果的网站. URL如下:website/index.php?page=N
I have a website that paginate result via jquery.ajax(). URLs looks like: website/index.php?page=N
我已经在Google上搜索并找到了一些谈论它的帖子...所以我了解的是我需要替换?"和 "#!".够了吗?
I've googled and found some posts talking about it... so what i've understood is that i need to replace the "?" with "#!". It's that enought?
此外,我应该在站点地图中包含每个页面的链接吗?
Besides, should i include in the sitemap a link for each page?
website/index.php (priority 1) website/index.php#!page=2 (priority 0.9) and so on...推荐答案
我对此的最佳答案是从源头获得的,这是Google希望您使AJAX内容可索引的方式:使AJAX应用程序易于抓取.
The best answer I can give on this is from the source, here's how Google prefers you make your AJAX content indexable: Making AJAX Applications Crawlable.
对于有关网址的具体问题,请从此处开始.
For your specific question about the URL piece, start here.
更多推荐
如何使Ajax内容可被搜索引擎抓取
发布评论