# 从每个子页面中删除结构错误的数据——仅在主页添加“站点链接搜索框”

**URL:** <https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299>\
**Category:** Bug\
**Created:** [2022 年2 月 24 日 17:45 UTC](https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299 "2022-02-24T17:45:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![rrit](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rrit](https://meta.discourse.org/u/rrit)\
发布日期： [2022 年3 月 13 日 19:36 UTC](https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299/4 "2022-03-13T19:36:52Z")

</div>

此 PR [DEV: output sitelinks search tag on homepage only by rr-it · Pull Request #16157 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/16157) 移除了除主页外的所有页面的结构化数据。主页是选定的主页：例如，主页、分类概览、主题列表……

我的假设是，分类和标签页面不需要此结构化数据。

---

_[View the full topic](https://meta.discourse.org/t/remove-wrong-structured-data-from-every-subpage-add-sitelinks-search-box-to-the-homepage-only/219299)._
