Google 网站名称显示网址而不是结构化数据

问题描述 投票:0回答:1

我在将 网站 添加到 Google Search Console 时遇到问题。 页面索引正确,标题在

<head>
中设置正确。

我还将结构化数据添加到页面中,如下所述: https://developers.google.com/search/docs/appearance/site-names

<script type="application/ld+json">
[
  {
    "@context":"https://schema.org",
    "@type":"WebSite",
    "name":"<Site name>",
    "url":"<Site URL>",
    "alternateName":["Others"]
   }
]
</script>

但是,我仍然无法在 Google 搜索中看到该网站的名称,只能看到网站 URL。 我尝试使用以下方法验证架构:

https://search.google.com/test/rich-results

但未检测到结构化数据。 使用模式验证器,可以正确检测标签:

https://validator.schema.org/

我错过了什么?

提前致谢:)

json seo google-search google-search-console
1个回答
0
投票

我之前在客户网站上遇到过类似的问题。

正如您所提到的,Google 和 Schema.org 的验证器工具之间有时可能会发生冲突,这通常是由于 Google 频繁更新其政策和合并架构所致。

一个有用的解决方法是直接从 Google 的文档中引用 Google 的模式示例。或者,更改架构类型(例如,从“网站”更改为“文章”或“组织”)也可能有效。

© www.soinside.com 2019 - 2024. All rights reserved.