# 讨论区架构改进

**URL:** https://meta.discourse.org/t/discussion-forum-schema-improvements/287347
**Category:** Support
**Created:** [2023年十二月3日 20:07 UTC](https://meta.discourse.org/t/discussion-forum-schema-improvements/287347 "2023-12-03T20:07:59Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![rrit](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rrit](https://meta.discourse.org/u/rrit)
#### Post date: [2023年十二月30日 15:44 UTC](https://meta.discourse.org/t/discussion-forum-schema-improvements/287347/16 "2023-12-30T15:44:28Z")

</div>

> [@sam](#):
>
> > [@techAPJ](#):
> >
> > should we include first post on all the pages in crawler view to fix the schema issues?
> 
> No I don’t think so, duplicating content never ends well, are there other options

不要在后续页面中包含第一帖的数据/文本，但始终添加指向第一页的 `itemprop="url"`：

> [@rrit](#):
>
> #### `itemprop="url"`
> 
> 将 `itemprop="url"` 添加到 `DiscussionForumPosting` 的 itemscope。  
> 这可确保子页面（`…?page=2`）上的评论与主主题页面绑定。

请参阅 [Google structured data for forums and profile pages - #9 by rrit](https://meta.discourse.org/t/google-structured-data-for-forums-and-profile-pages/286762/9#h-3-itempropurl-3)

---

_[View the full topic](https://meta.discourse.org/t/discussion-forum-schema-improvements/287347)._
