跳转到内容

规范网址(canonical)信号

简明回答

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

方法强度说明
301 / 308 重定向强当重复页面不再需要被访问时使用。
HTML 中的 <link rel="canonical">强在 <head> 中使用绝对 URL。
Link: <…>; rel="canonical" 响应头强适用于 PDF 等非 HTML 文件。
收录在 Sitemap 中弱列出首选 URL;易于规模化,但信号较弱。
  • 每个可索引页面都应声明指向自身的 canonical。
  • 不要把 canonical 指向已重定向、noindex 或被 robots.txt 屏蔽的 URL。
  • 不要用 robots.txt 做规范化(robots.txt 只控制抓取)。
  • 多语言版本请使用 hreflang,而不是跨语言的 canonical:每个译本的 canonical 都指向它自己。

参考来源

  1. How to specify a canonical URL with rel="canonical" and other methodsGoogle Search Central · official · ✓ 2026-10-24