gpt4 book ai didi

seo - 如何正确设置每页多个产品报价架构

转载 作者:行者123 更新时间:2023-12-04 16:33:35 25 4
gpt4 key购买 nike

出于某种原因,我很难找到这一点。我在这里看过:

https://developers.google.com/search/docs/data-types/product

和这里:

https://schema.org/Product

但是给出的示例都没有向我展示如何在页面上添加多个产品优惠。为了说明我在说什么,这是我们网站上的一个例子:

https://reclaimdesign.org/vases-reclaimed-wood-stands.html

我一直在与 RankMath 支持有关此问题,他们告诉我这是不可能的。我不相信他们这么说是对的,但我找不到 100% 无可辩驳的证据来说明其他情况。

我目前正在努力自己设置模式(因为现在来回感觉像是在浪费时间)。我上面页面的架构代码在结构化数据测试工具中验证:

`<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"brand": "Reclaim Design",
"logo": "https://reclaimdesign.org/wp-content/uploads/reclaim-design-logo.jpg",
"name": "4 Glamorous Sustainable Vases – Home Decor | Reclaim Design",
"image": [ "https://reclaimdesign.org/wp-content/uploads/1x1/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg",
"https://reclaimdesign.org/wp-content/uploads/4x3/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg",
"https://reclaimdesign.org/wp-content/uploads/16x9/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg",
"https://reclaimdesign.org/wp-content/uploads/4x3/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg",
"https://reclaimdesign.org/wp-content/uploads/16x9/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/bottle-vases-sustainable-reclaimed-wood-stand1.jpg",
"https://reclaimdesign.org/wp-content/uploads/4x3/bottle-vases-sustainable-reclaimed-wood-stand1.jpg",
"https://reclaimdesign.org/wp-content/uploads/16x9/bottle-vases-sustainable-reclaimed-wood-stand1.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg",
"https://reclaimdesign.org/wp-content/uploads/4x3/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg",
"https://reclaimdesign.org/wp-content/uploads/16x9/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg"
],
"url": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html",
"@id": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html",
"potentialAction": {
"@type": "SearchAction",
"target": "https://reclaimdesign.org/search?q={search_term_string}",
"query-input": "required name=search_term_string"
},
"sameAs":
["https://www.facebook.com/reclaimdesignza",
"https://twitter.com/ReclaimDesignZA",
"https://www.instagram.com/reclaimdesign/",
"https://za.pinterest.com/reclaimdesignza/",
"https://www.google.com/maps/place/Reclaim+Design/@-34.03081,18.4517513,17z/data=!3m1!4b1!4m5!3m4!1s0x1dcc4242e6ad5367:0xcf5844aec51f1a43!8m2!3d-34.03081!4d18.45394"
],
"description": "Click here to find out more about our sustainable vases and vase sets with reclaimed wood stands | Reclaim Design",
"offers": [{
"@type": "Offer",
"availability": "http://schema.org/InStock",
"price": "390",
"priceCurrency": "ZAR",
"url": "https://reclaimdesign.org/home-decor-shop.html/Test-Tube-Vases-With-Stand-p134947241"
},{
"@type": "Offer",
"availability": "http://schema.org/InStock",
"price": "290",
"priceCurrency": "ZAR",
"url": "https://reclaimdesign.org/home-decor-shop.html/Test-Tube-Vases-With-Stand-p134947241"
},{
"@type": "Offer",
"availability": "http://schema.org/InStock",
"price": "370",
"priceCurrency": "ZAR",
"url": "https://reclaimdesign.org/home-decor-shop.html/Bottle-Vases-with-Stand-p65343612"
},{
"@type": "Offer",
"availability": "http://schema.org/InStock",
"price": "250",
"priceCurrency": "ZAR",
"url": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html"
},{
"@type": "Offer",
"availability": "http://schema.org/InStock",
"price": "300",
"priceCurrency": "ZAR",
"url": "https://reclaimdesign.org/home-decor-shop.html/Floating-Globe-Vase-With-Stand-p65346003"
}]
}
</script>`

RankMath 支持告诉我“你不应该在每页使用一个以上的产品架构。它没有多大意义,只会混淆谷歌。”如果他们是对的,那么为什么代码会在 Google 自己的测试工具中进行验证?

请在这个领域有经验的人解释一下哪种是正确的做法? TIA

最佳答案

您可以将您的服务标记为产品。

这样做的两个原因

Google 不支持“服务”标记
服务包含在 schema.org 中的产品定义中
如果您在一个页面上有多个不同的服务,则将它们逐个标记 - 单独标记。

如果您有相同的服务,但有生动的选项和价格套餐,则使用聚合产品标记。

了解 Google 的结构化数据产品标记。您将获得示例代码,您可以根据需要对其进行修改。

关于seo - 如何正确设置每页多个产品报价架构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60226758/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com