# 通过 WordPress 嵌入发布的旧主题缺少 x-robots: noindex 和 canonical 标签

**URL:** <https://meta.discourse.org/t/old-topics-published-via-wordpress-embed-are-missing-x-robots-noindex-and-canonical-tags/403109>\
**Category:** WordPress\
**Tags:** wordpress\
**Created:** [2026年五月15日 21:44 UTC](https://meta.discourse.org/t/old-topics-published-via-wordpress-embed-are-missing-x-robots-noindex-and-canonical-tags/403109 "2026-05-15T21:44:55Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2026年五月21日 07:50 UTC](https://meta.discourse.org/t/old-topics-published-via-wordpress-embed-are-missing-x-robots-noindex-and-canonical-tags/403109/8 "2026-05-21T07:50:46Z")

</div>

> [@Thiago\_Mobilon](#):
>
> 但从大局来看，采用我之前建议的配置不是更合理吗？如果我们直接在分类设置中添加一个复选框，以便为该分类下的所有主题应用 `noindex`，我们就不必依赖嵌入功能，也不必担心这些记录是否一开始就存在。

虽然这对您的网站来说可能合理，但这与主题嵌入的规范 URL 工作方式属于不同的功能。您可以自行构建，但需要将其作为自定义插件来实现。

嵌入功能的规范 URL 按预期工作，但似乎您的网站在某处删除了嵌入记录，或执行了其他操作。Discourse 不会硬删除主题嵌入记录，因此一定发生了其他情况。除非您进行一些自定义开发，否则您需要重新发布这些主题以重新创建嵌入记录。

---

_[View the full topic](https://meta.discourse.org/t/old-topics-published-via-wordpress-embed-are-missing-x-robots-noindex-and-canonical-tags/403109)._
