如何为网格创建 SEO 友好的分页?
我有这个网格(网上商店中的产品列表),我不知道它能有多大。但我认为几百个项目是相当现实的,尤其是对于搜索结果而言。如果我们有大客户,甚至可能是数千。 :)
当然,我应该对这样的网格使用分页。但如何才能让搜索引擎机器人也能抓取所有项目呢?我非常喜欢这个想法,但只有first/last/prev /下一个链接。如果搜索引擎机器人必须遵循 200 级深度的链接才能到达最后一页,我认为它可能很快就会放弃,并且不会枚举所有项目。
这方面的常见(最佳?)做法是什么?
I've got this grid (a list of products in an internet shop) for which I've no idea how big it can get. But I suppose a couple hundred items is quite realistic, especially for search results. Maybe even thousands, if we get a big client. :)
Naturally, I should use paging for such a grid. But how to do it so that search engine bots can crawl all the items too? I very much like this idea, but that only has first/last/prev/next links. If a search engine bot has to follow links 200 levels deep to get to the last page, I think it might give up pretty soon, and not enumerate all items.
What is the common(best?) practice for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这真的是您希望搜索引擎索引的网格还是您需要一个产品详细信息页面?如果最后一个是您想要的,您可以拥有一个动态站点地图(XML),搜索引擎将从那里获取它。
Is it really the grid you want to have index by the search engine or are you afer a product detail page? If the last one is what you want, you can have a dynamic sitemap (XML) and the search engines will take it from there.
我运行了许多价格比较网站,因此我以前遇到过与您相同的问题。我真的没有一个具体的答案,我怀疑有人会有一个TBH。
诀窍是尝试使每个页面尽可能独特。独特的页面越多越好。可以把谷歌中的每个页面想象成一张彩票,彩票越多,中奖的机会就越大。
那么,回到你的问题。我们倾向于每页显示 20 个产品,然后在底部进行分页。据我所知,谷歌和其他机器人将抓取您网站上的所有链接。他们不会放弃。我们注意到,如果您的后续页面具有相同的 SEO 标题、H 标签,并且基本上是相同的页面,但结果集不同,那么 Google 不会将这些页面添加到索引中。
同样,我查看了您建议的网站,并建议将布局更改为文本而不是图像,我的意思的一个示例在此网站上: http://www.shopexplorer.com/lcd-tv/index.html
另一点要记住的是页面上的更多图像等...页面加载时间越长,用户界面就会越差。我还听说它会影响 SEO 排名算法的质量。
不确定我是否已经给了你足够的内容,但回顾一下:
IE
液晶电视结果第2页>很糟糕
液晶电视结果从索尼到三星>更好
希望我能提供一点帮助
编辑:
Vlix,我也看到了你的问题参考:站点地图。如果您担心这一点,我不会担心,那么将提要分成多个单独的提要。也许在类别级别、品牌级别等......我不确定,但我认为谷歌会想要尽可能多的页面。它会忽略它不喜欢的那些,只添加独特的。
至少我是这么理解的。
I run a number of price comparison sites and as such i've had the same issue as you before. I dont really have a concrete answer, i doubt anyone will have one tbh.
The trick is to try and make each page as unique as possible. The more unique pages, the better. Think of it as each page in google is a lottery ticket, the more tickets the more chances you have of winning.
So, back to your question. We tend to display 20 products per page and then have pagination at the bottom. AFAIK google and other bots will crawl all links on your site. They wouldnt give up. What we have noticed though is if your subsequent pages have the same SEO titles, H tags and is basically the same page but with different result sets then Google will NOT add the pages to the index.
Likewise i've looked at the site you suggested and would suggest changing the layout to be text and not images, an example of what i mean is on this site: http://www.shopexplorer.com/lcd-tv/index.html
Another point to remember is the more images etc... on the page the longer the page will take to load the worse your UI will be. I've also heard it affects quality on SEO ranking algorithms.
Not sure if i've given you enough to go on, but to recap:
i.e.
LCD TV results page 2 > is bad
LCD TV results from Sony to Samsung > Better
Hopefully i've helped a little
EDIT:
Vlix, i've also seen your question ref: sitemaps. If you're concerned with that, i wouldnt be, then split the feed into multiple seperate feeds. Maybe on a category level, brand level etc... I'm not sure but i think google would want as many pages as possible. It will ignore the ones it doesnt like and just add the unique ones.
That at least, is how i understand it.
SEO 是一门黑暗的艺术 - 没有人能够准确地告诉您该做什么以及如何做。不过,我确实有一些一般性的建议。
Pleun 是对的 - 您的目标应该是让机器人进入您的产品详细信息页面 - 这可能是关键字最丰富的页面,因此请尽可能优化此页面!语义 HTML,不要像往常一样使用图像来显示文本。
构建有意义的导航方案,引导机器人(和您的访客!)到您的产品详细信息页面。因此,如果您有 150K 个产品,我们希望它们被分组为某种层次结构,并且该层次结构中的每个(子)类别都具有可管理的(<50 左右)数量的产品。如果您的用户必须浏览单个类别中的大量页面才能找到他们感兴趣的产品,他们可能会感到无聊并离开。将此分类纳入导航方案,并使其对 SEO 友好 - 例如,通过使用友好的 URL。
创建站点地图 - 机器人将抓取整个站点地图,尽管它们可能不会决定过多关注通过“正常”导航难以到达的页面,即使它们位于 sitemap.xml 中。
大多数机器人不会解析超过前 50-100K 的 HTML。如果您的导航方案(带有数据网格)太大,机器人不一定会在最后拾取或跟踪链接。
希望这有帮助!
SEO is a dark art - nobody will be able to tell you exactly what to do and how to do it. However, I do have some general pointers.
Pleun is right - your objective should be to get the robots to your product detail page - that's likely to be the most keyword-rich, so optimize this page as much as you can! Semantic HTML, don't use images to show text, the usual.
Construct meaningful navigation schemes to lead the robots (and your visitors!) to your product detail pages. So, if you have 150K products, let's hope they are grouped into some kind of hierarchy, and that each (sub)category in that hierarchy has a managable (<50 or so) number of products. If your users have to go through lots and lots of pages in a single category to find the product they're interested in, they're likely to get bored and leave. Make this categorization into a navigation scheme, and make it SEO friendly - e.g. by using friendly URLs.
Create a sitemap - robots will crawl the entire sitemap, though they may not decide to pay much attention to pages that are hard to reach through "normal" navigation, even if they are in the sitemap.xml.
Most robots don't parse more than the first 50-100K of HTML. If your navigation scheme (with a data grid) is too big, the robot won't necessarily pick up or follow links at the end.
Hope this helps!