# 如何在\`WebSite\`结构化数据中指定备用名称

**URL:** https://meta.discourse.org/t/how-to-specify-alternate-names-in-the-website-structured-data/333023
**Category:** Support
**Created:** [2024年十月27日 05:51 UTC](https://meta.discourse.org/t/how-to-specify-alternate-names-in-the-website-structured-data/333023 "2024-10-27T05:51:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xuhdev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xuhdev/32/382503_2.png) [@xuhdev](https://meta.discourse.org/u/xuhdev)
#### Post date: [2024年十月27日 05:51 UTC](https://meta.discourse.org/t/how-to-specify-alternate-names-in-the-website-structured-data/333023/1 "2024-10-27T05:51:37Z")

</div>

Google 使用 [`WebSite` 结构化数据来确定搜索结果中显示的网站名称](https://developers.google.com/search/docs/appearance/site-names#website)。Discourse 目前确实会生成 `WebSite` 结构化数据。但我该如何设置 Google 允许的 `alternateName` 字段呢？

> **[Site Names in Google Search | Google Search Central  | ...](https://developers.google.com/search/docs/appearance/site-names#alternative)**
>
> When Google lists a page in search results, it shows the name of the site the page comes from: this is called a site name. Learn how you can provide a site name to Google Search with WebSite structured data.
