光标 +分页&搜索引擎优化
我想知道是否可以使用光标进行分页,同时保持这些页面针对 SEO 进行优化。
/page/1
/page/2
使用偏移量,可以向 Google 机器人提供一些有关深度的信息,但游标的情况并非如此:
/page/4wd3TsiqEIbc4QTcu9TIDQ
/page/5Qd3TvSUF6Xf4QSX14mdCQ
我应该只将它们用作参数吗?
/page?c=5Qd3TvSUF6Xf4QSX14mdCQ
I would like to know if it's possible to paginate using cursors and keep those pages optimized for SEO at the same time.
/page/1
/page/2
Using offsets, gives to Google bot some information about the depth, that's not the case with curors:
/page/4wd3TsiqEIbc4QTcu9TIDQ
/page/5Qd3TvSUF6Xf4QSX14mdCQ
Should I just only use them as an parameter ?
/page?c=5Qd3TvSUF6Xf4QSX14mdCQ
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,这个问题真的很有趣,我会尽力彻底回答你的问题。
简介
一般(易于解决)的缺点
如果您使用分页系统,您可能会为每个页面显示项目的片段(新闻、文章、页面等)。因此,您正在处理著名的重复内容问题。在我链接的页面中,您也可以找到此问题的解决方案。在我看来,这是你能做的最好的事情之一:
对一般性讨论的一点说明:几周以来,Google 一直在引入一个“系统”来帮助他们识别页面之间的关系,正如您在此处看到的:使用 rel="next" 和 rel="prev" 进行分页
说了这么多,现在我可以进入问题的核心了。这两种解决方案各有利弊。
作为子文件夹(第/1页)
作为参数 (page?param=1)
分页的“替代方案”
如您所见,我在该网站上发布了一个与您相关的问题。总而言之,我想知道分页的替代方案。这是问题(阅读接受者的答案): 如何避免网站中的分页以获得扁平架构?
嗯,我真的希望我已经彻底回答了你的问题。
Well, this question is really interesting and I'll try to answer your question thoroughly.
Introduction
A general (easy to solve) con
If you are using a pagination system, you're probably showing, for each page, a snippet of your items (news, articles, pages and so on). Thus, you're dealing with the famous duplicate content issue. In the page I've linked you'll find the solution to this problem too. In my opinion, this is one of the best thing you can do:
A little note to the general discussion: Since few weeks, Google has been introducing a "system" to help they recognise the relationship between pages as you can see here: Pagination with rel="next" and rel="prev"
Said that, now I can go to the core of the question. In each of the two solutions, there are pros and cons.
As subfolder (page/1)
As parameter (page?param=1)
An "alternative" to pagination
As you can see, I posted on this website a question which is related to your. To sum up, I wanted to know an alternative to pagination. Here is the question (read the accepter answer): How to avoid pagination in a website to have a flat architecture?
Well, I really hope I've answered your question thoroughly.