# 规范网址（canonical）信号

> Google 把 rel="canonical"、重定向和 Sitemap 收录都当作规范化信号，最终的规范网址由它自己决定。重定向和 rel="canonical" 都是强信号，Google 把重定向列在前面；Sitemap 是弱信号。

- URL: https://geo.casa/zh-cn/crawling-indexing/canonical-signals/
- 参考 · 官方文档已说明
- 审核于: 2026-10-24

## 方法

| 方法 | 强度 | 说明 |
|---|---|---|
| 301 / 308 重定向 | 强 | 当重复页面不再需要被访问时使用。 |
| HTML 中的 `<link rel="canonical">` | 强 | 在 `<head>` 中使用绝对 URL。 |
| `Link: <…>; rel="canonical"` 响应头 | 强 | 适用于 PDF 等非 HTML 文件。 |
| 收录在 Sitemap 中 | 弱 | 列出首选 URL；易于规模化，但信号较弱。 |

> **官方文档已说明:**
> Google 按强弱对这些方法排序：重定向和 `rel="canonical"` 是强信号，Sitemap 收录是弱信号。这些方法可以叠加使用，组合起来能提高首选 URL 被选中的几率。
>
> 参考来源: [Google Search Central: How to specify a canonical URL with rel="canonical" and other methods](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)

## 经验法则

- 每个可索引页面都应声明指向自身的 canonical。
- 不要把 canonical 指向已重定向、`noindex` 或被 robots.txt 屏蔽的 URL。
- 不要用 `robots.txt` 做规范化（[robots.txt](https://geo.casa/zh-cn/crawling-indexing/robots-txt/) 只控制抓取）。
- 多语言版本请使用 [hreflang](https://geo.casa/zh-cn/crawling-indexing/hreflang/)，而不是跨语言的 canonical：每个译本的 canonical 都指向它自己。

## 参考来源

- [Google Search Central: How to specify a canonical URL with rel="canonical" and other methods](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)
