# 发送规范链接标头而不是noindex标头

**URL:** https://meta.discourse.org/t/send-canonical-link-header-instead-of-noindex-header/220213
**Category:** Development
**Created:** [2022 年3 月 6 日 17:07 UTC](https://meta.discourse.org/t/send-canonical-link-header-instead-of-noindex-header/220213 "2022-03-06T17:07:02Z")
**Posts on this page:** 1
**Showing post:** 6

<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: [2022 年3 月 20 日 14:10 UTC](https://meta.discourse.org/t/send-canonical-link-header-instead-of-noindex-header/220213/6 "2022-03-20T14:10:49Z")

</div>

> [@Falco](#):
>
> This is rolling back the recently introduced site setting into what’s basically a noop (moving what we send as a head tag in a header, no semantic change).
> 
> I do not want this change as is.

`noindex` 更改最近已回滚：

- [Search engines now blocked from indexing non-canonical pages - #30 by sam](https://meta.discourse.org/t/search-engines-now-blocked-from-indexing-non-canonical-pages/218985/30?u=rrit)
- [FEATURE: enable canonical url indexing by SamSaffron · Pull Request #16196 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/16196)

请重新审视此 PR：

> <https://github.com/discourse/discourse/pull/16113>
>
> The html response \*body\* already has a canonical link-tag.
> 
> This might save cr…awler resources for non-canonical pages:
> If the crawler trusts the additional canonical link response \*header\*, it does not need to parse/handle the html response \*body\*.

---

_[View the full topic](https://meta.discourse.org/t/send-canonical-link-header-instead-of-noindex-header/220213)._
