# 通过 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:** 4

<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年五月19日 06:23 UTC](https://meta.discourse.org/t/old-topics-published-via-wordpress-embed-are-missing-x-robots-noindex-and-canonical-tags/403109/4 "2026-05-19T06:23:44Z")

</div>

Thiago，如果你有服务器访问权限，能否请找一个规范 URL 无法生效的主题，获取其 ID，然后在 Rails 控制台中运行以下命令，并分享结果。

```plaintext
./launcher enter app
rails c
TopicEmbed.with_deleted.find_by(topic_id: 在此处添加主题 ID)

```

---

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