# 搜索引擎被禁止索引非规范页面非规范

**URL:** https://meta.discourse.org/t/search-engines-now-blocked-from-indexing-non-canonical-pages/218985
**Category:** Announcements
**Tags:** seo
**Created:** [2022 年2 月 21 日 19:35 UTC](https://meta.discourse.org/t/search-engines-now-blocked-from-indexing-non-canonical-pages/218985 "2022-02-21T19:35:37Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### 作者： ![mstm](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@mstm](https://meta.discourse.org/u/mstm)
#### 发布日期： [2022 年2 月 22 日 17:48 UTC](https://meta.discourse.org/t/search-engines-now-blocked-from-indexing-non-canonical-pages/218985/12 "2022-02-22T17:48:15Z")

</div>

我今天早上刚更新，你推荐启用此项的非规范页面的索引吗？

> [@Falco](#):
>
> 如果你因为某些原因不希望在你的实例上出现这种行为，你仍然可以通过在服务器上运行 `docker exec -i app rails runner \"SiteSetting.allow_index_in_robots_txt = true\"` 来启用非规范页面的索引。

我不想让我的[索引变得更糟](https://meta.discourse.org/t/why-isnt-google-indexing-discourse-seo-concerns/218098/7?u=mstm)。

---

_[View the full topic](https://meta.discourse.org/t/search-engines-now-blocked-from-indexing-non-canonical-pages/218985)._
