Google SDTT 错误:"Duplicate values for url are not allowed."
Error in Google SDTT: "Duplicate values for url are not allowed."
Google Structured Data Testing Tool returns 以下 JSON-LD:
Duplicate values for url are not allowed.
为什么?没看懂。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [{
"@type": "ListItem",
"position": 0,
"item": {
"@type": "Article",
"headline": "Bonito de norte",
"alternativeHeadline": "Thunnus alalunga.",
"image": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/producto/imagenes/facebook/2/BONITO.jpg?1502195043",
"width": "1200",
"height": "830"
},
"author": "SoftGalia Aplicaciones Informáticas S.L.",
"editor": "Pescados Trocheros",
"keywords": "Venta pescado, Mayorista de Pescado",
"publisher": {
"@type": "Organization",
"name": "Academia Lucense de Balonmano",
"logo": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/logo/facebook/1/logo-trochero-01.jpg?1504175529",
"width": "1200",
"height": "830"
}
},
"url": "http://dechado09.softgalia.com/productos/index",
"datePublished": "2017-08-08 12:24:11 UTC",
"dateCreated": "2017-08-08 12:24:11 UTC",
"dateModified": "2017-08-22 07:43:53 UTC",
"description": "Thunnus alalunga.",
"articleBody": "Thunnus alalunga.",
"mainEntityOfPage": "http://dechado09.softgalia.com/productos/index"
}
},
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "Article",
"headline": "Merluza",
"alternativeHeadline": "Merluccius merluccius",
"image": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/producto/imagenes/facebook/4/merluza-primer-plano.jpeg?1504525751",
"width": "1200",
"height": "830"
},
"author": "SoftGalia Aplicaciones Informáticas S.L.",
"editor": "Pescados Trocheros",
"keywords": "Venta pescado, Mayorista de Pescado",
"publisher": {
"@type": "Organization",
"name": "Academia Lucense de Balonmano",
"logo": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/logo/facebook/1/logo-trochero-01.jpg?1504175529",
"width": "1200",
"height": "830"
}
},
"url": "http://dechado09.softgalia.com/productos/index",
"datePublished": "2017-09-04 11:49:13 UTC",
"dateCreated": "2017-09-04 11:49:13 UTC",
"dateModified": "2017-09-05 08:38:27 UTC",
"description": "Merluccius merluccius",
"articleBody": "Merluccius merluccius",
"mainEntityOfPage": "http://dechado09.softgalia.com/productos/index"
}
}
]
}
</script>
有两种方法可以为结构化数据实现列表格式:
- 摘要页面+多个完整详情页面
- 列表项单页列表
我的case是文章的汇总页,google向导说:"The summary page has a short description of each item in the list, and each description points to a separate details page that is focused entirely on one item."
好吧,标记必须是。
{ "@context": "http://schema.org",
"@type": "ItemList",
"itemListElement":
[
{
"@type":"ListItem",
"position": 0,
"url": "http://dechado09.softgalia.com/productos/bonito-de-norte"
},
{
"@type":"ListItem",
"position": 1,
"url": "http://dechado09.softgalia.com/productos/merluza"
}
]
}
Google Structured Data Testing Tool returns 以下 JSON-LD:
Duplicate values for url are not allowed.
为什么?没看懂。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ItemList",
"itemListElement": [{
"@type": "ListItem",
"position": 0,
"item": {
"@type": "Article",
"headline": "Bonito de norte",
"alternativeHeadline": "Thunnus alalunga.",
"image": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/producto/imagenes/facebook/2/BONITO.jpg?1502195043",
"width": "1200",
"height": "830"
},
"author": "SoftGalia Aplicaciones Informáticas S.L.",
"editor": "Pescados Trocheros",
"keywords": "Venta pescado, Mayorista de Pescado",
"publisher": {
"@type": "Organization",
"name": "Academia Lucense de Balonmano",
"logo": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/logo/facebook/1/logo-trochero-01.jpg?1504175529",
"width": "1200",
"height": "830"
}
},
"url": "http://dechado09.softgalia.com/productos/index",
"datePublished": "2017-08-08 12:24:11 UTC",
"dateCreated": "2017-08-08 12:24:11 UTC",
"dateModified": "2017-08-22 07:43:53 UTC",
"description": "Thunnus alalunga.",
"articleBody": "Thunnus alalunga.",
"mainEntityOfPage": "http://dechado09.softgalia.com/productos/index"
}
},
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "Article",
"headline": "Merluza",
"alternativeHeadline": "Merluccius merluccius",
"image": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/producto/imagenes/facebook/4/merluza-primer-plano.jpeg?1504525751",
"width": "1200",
"height": "830"
},
"author": "SoftGalia Aplicaciones Informáticas S.L.",
"editor": "Pescados Trocheros",
"keywords": "Venta pescado, Mayorista de Pescado",
"publisher": {
"@type": "Organization",
"name": "Academia Lucense de Balonmano",
"logo": {
"@type": "ImageObject",
"url": "http://dechado09.softgalia.com/logo/facebook/1/logo-trochero-01.jpg?1504175529",
"width": "1200",
"height": "830"
}
},
"url": "http://dechado09.softgalia.com/productos/index",
"datePublished": "2017-09-04 11:49:13 UTC",
"dateCreated": "2017-09-04 11:49:13 UTC",
"dateModified": "2017-09-05 08:38:27 UTC",
"description": "Merluccius merluccius",
"articleBody": "Merluccius merluccius",
"mainEntityOfPage": "http://dechado09.softgalia.com/productos/index"
}
}
]
}
</script>
有两种方法可以为结构化数据实现列表格式:
- 摘要页面+多个完整详情页面
- 列表项单页列表
我的case是文章的汇总页,google向导说:"The summary page has a short description of each item in the list, and each description points to a separate details page that is focused entirely on one item."
好吧,标记必须是。
{ "@context": "http://schema.org", "@type": "ItemList", "itemListElement": [ { "@type":"ListItem", "position": 0, "url": "http://dechado09.softgalia.com/productos/bonito-de-norte" }, { "@type":"ListItem", "position": 1, "url": "http://dechado09.softgalia.com/productos/merluza" } ] }