Как реализовать структурированные данные Schema.org на домашней...
129
Как реализовать структурированные данные Schema.org на домашней странице при наличии домашней страницы на уровне поддиректорий
Корень домена:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Example site",
"url": "https://example.com",
"hasPart": [{
"@type": "WebSite",
"name": "Example site en-US",
"url": "https://example.com/en-us/",
"inLanguage": "en-US",
"publisher": ...
}, {
"@type": "WebSite",
"name": "Example site en-GB",
"url": "https://example.com/en-gb/",
"inLanguage": "en-GB",
"publisher": ...
}]
}
</script>
Корень поддиректории языка-страны:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "WebSite",
"name": "Example site en-US",
"url": "https://example.com/en-us/",
"inLanguage": "en-US",
"isPartOf": {
"@type": "WebSite",
"name": "Example site",
"url": "https://example.com"
},
"publisher": ...
}
</script>
@MikeBlazerX
Ссылки из поста:– https://chat.seofomo.co/forum/technical-seo/how-to...
– https://t.me/MikeBlazerX
Источник новости https://t.me/mikeblazerx/3314...