【发布时间】:2019-07-05 22:11:48
【问题描述】:
我使用 SW 5.10,如下所示,标准标记(微数据)如下:
<meta itemprop="brand" content="xxxx"/>
<meta itemprop="name" content="xxxx® xxx xxx1.4 Caps (300 xxx)"/>
<meta itemprop="weight" content="0.41 kg"/>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="buybox--inner">
我在 SO 中进行了大量搜索,发现 json+ld 更适合 SEO 和 google,所以我决定使用插件来创建 json+ld,现在如下所示:
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "xxxx 1.4 Cxxxaps (300 xxx)",
"image": xxxx.jpg",
"mpn": "93331FIT",
"brand": {
"@type": "Thing",
"name": "xxxxx"
现在的主要问题是所有产品都存在微数据和 json ld 结构,这有两个原因不是好的选择:
1) 我在 SO 中搜索,发现有一种产品不能同时呈现微数据和 json ld。
2) json ld 更适合谷歌
因此,我需要将标准 shopware 5 标记(微数据)删除到谷歌搜索控制台,但未在一个页面上检测到两个相同的产品,如下所示:
如何将这些购物软件的微数据删除到 Google 搜索控制台 只检测 json ld?
【问题讨论】:
-
我不认为 JSON-LD 对 Google 来说更好(比 Microdata 更好)。谷歌推荐使用 JSON-LD——但是从这个建议中并没有表明你应该不遗余力地删除 Microdata 并改用 JSON-LD;该建议主要针对不关心使用哪种语法的作者(即,他们的 CMS 尚未发布结构化数据)。因此,除非 reason for using JSON-LD 适用于您的情况,否则坚持使用 Microdata 是完全可以的。
标签: microdata json-ld google-rich-snippets shopware google-search-console