How to making ajax content crawlable by search eng

2019-08-19 06:30发布

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...

标签: ajax jquery seo
3条回答
冷血范
2楼-- · 2019-08-19 06:45
仙女界的扛把子
3楼-- · 2019-08-19 06:51

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.

查看更多
劫难
4楼-- · 2019-08-19 06:57

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.

查看更多
登录 后发表回答