How to making ajax content crawlable by search engines

走远了吗. 提交于 2019-12-13 03:24:29

问题


I have a website that paginate result via jquery.ajax(). URLs looks like: website.com/index.php?page=N

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.com/index.php (priority 1)
website.com/index.php#!page=2 (priority 0.9)
and so on...

回答1:


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.




回答2:


Take a look to The Single Page Interface Manifesto




回答3:


paginated results are mostly non-landingpages and do not yield much SEO traffic and/or if you have a very very big site, can even hurt your SEO efforts. if you have other ways that google reaches your landingpages (i.e.: a sitemap and/or sitemap.xml) you could skip that topic altogether.



来源:https://stackoverflow.com/questions/3839055/how-to-making-ajax-content-crawlable-by-search-engines

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!