<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "QAPage",
"@id": "https://xenforo.com/community/threads/how-to-update-website-schema-to-add-google-site-name.209673/",
"mainEntity": {
"@type": "Question",
"name": "How to update Website schema to add Google site name?",
"text": "You can now add a name to the Website schema?\nhttps://developers.google.com/search/docs/appearance/site-names#json-ld\n\nHow can we do this in Xenforo. It appears the schema is behind this bit of code {$ldJsonHtml|raw}",
"answerCount": 2,
"upvoteCount": 0,
"dateCreated": "2022-10-15T19:43:37+00:00",
"author": {
"@type": "Person",
"name": "dethfire"
},
"suggestedAnswer": [
{
"@type": "Answer",
"text": "Isn't it already in Xenforo? Even if you inspect this page you're looking at, you'll find the attributes set under\n\n<script type=\"application/ld+json\">\n\n\nThe \"name\" attribute is not. That is what this thread is about.",
"dateCreated": "2022-10-15T21:23:23+00:00",
"upvoteCount": 0,
"url": "https://xenforo.com/community/posts/1595435/",
"author": {
"@type": "Person",
"name": "dethfire"
}
},
{
"@type": "Answer",
"text": "You can now add a name to the Website schema?\nhttps://developers.google.com/search/docs/appearance/site-names#json-ld\n\nHow can we do this in Xenforo. It appears the schema is behind this bit of code {$ldJsonHtml|raw}\n\nIsn't it already in Xenforo? Even if you inspect this page you're looking at, you'll find the attributes set under \n\n<script type=\"application/ld+json\">",
"dateCreated": "2022-10-15T20:28:49+00:00",
"upvoteCount": 0,
"url": "https://xenforo.com/community/posts/1595429/",
"author": {
"@type": "Person",
"name": "ENF"
}
}
]
},
"image": "https://xenforo.com/community/data/avatars/l/80/80733.jpg?1406642578",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/ReplyAction",
"userInteractionCount": 2
},
"publisher": {
"@type": "Organization",
"name": "XenForo community",
"logo": {
"@type": "ImageObject",
"url": "https://xenforo.com/community/styles/default/xenforo/xenforo-logo-og.png"
}
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://xenforo.com/community/threads/how-to-update-website-schema-to-add-google-site-name.209673/"
}
}
</script>