What changed
Summary
Title rewritten
什么是Canonical URL?规范化标签的重要性 – 鸭老师SEO
→
什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司
Page content was edited
Meta description added
Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标…
Added 2 words (137 → 139)
137
→
139
Robots directive changed
max-image-preview:large
→
follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large
Structured data added
{'@context': 'https://schema.org', '@graph': [{'@type': 'Organization', '@id': …
Images with alt text: 5 → 9 (+4)
5
→
9
Social preview (og:description) added
Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标…
Social preview (og:image) added
https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png
Social preview (og:image:alt) added
什么是Canonical URL?规范化标签的重要性
Social preview (og:image:height) added
365
Social preview (og:image:secure_url) added
https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png
Social preview (og:image:type) added
image/png
Social preview (og:image:width) added
516
Social preview (og:locale) added
zh_CN
Social preview (og:site_name) added
YLSSEO
Social preview (og:title) added
什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司
Social preview (og:type) added
article
Social preview (og:updated_time) added
2026-05-20T12:13:23+08:00
Social preview (og:url) added
https://www.ylsseo.com/canonical/
Twitter card (twitter:card) added
summary
Twitter card (twitter:creator) added
@https://x.com/seoyls
Twitter card (twitter:description) added
Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标…
Twitter card (twitter:image) added
https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png
Twitter card (twitter:site) added
@https://x.com/seoyls
Twitter card (twitter:title) added
什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司
Content edits
addedremoved
Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标准网址)。
搜索引擎在理解 canonical 设置后,会倾向于将排名信号(权重)集中到该主页面,从而避免重复内容造成的权重分散问题。
什么时候使用canonical url?
1. 存在多个高度相似页面时
当你的网站中存在多个内容相同或非常相似的页面时,建议使用 canonical 指向其中一个 URL,明确指定它作为主页面。
例如:
- example.com/page
- example.com/page/
- example.com/page?utm=google
可以统一 canonical 指向:
example.com/page
这样做的目的是合并排名信号,而不是阻止其他页面被访问。
注意:canonical 主要用于处理重复或相似内容,并不能保证其他页面不被抓取或不被收录。
2. 某些页面不希望参与排名,但需要保留给用户
如果你是 SaaS 网站,或者博客中有大量工具说明、功能文档、使用手册类页面,这些页面不适合单独参与搜索排名,但又需要保留给用户访问:
- 不建议简单地把这些页面全部 canonical 到首页或栏目页
- 因为内容不相似时,搜索引擎可能会忽略 canonical 设置
更合理的做法是:
- 使用 noindex 控制是否参与索引
- 或通过内容整合、页面结构优化来处理
canonical 并不是用来“清理不重要页面”的工具,而是用于规范化相似页面。
当然还有另外一种做法:
如果你的hub page/聚合页已经承担了主解释权,聚合页下面的子文章是更细分的解释,那就可以canonical到hub page。
例如:canva
help页面本身是问题集合,解释的都是同一对象,问题类型也是相近,并且想要help页面作为serp入口,那就可以。
需要注意的是,这种做法只适用于索引/分类/问题集合类页面,
而不适用于功能教程、操作说明、How-to 类页面。
3. 没有重复内容时,使用自引用 Canonical
在没有重复页面或规范化问题的情况下,canonical URL 应指向页面自身。
例如:
- 页面地址:example.com/google/
- canonical:example.com/google/
这是推荐的做法,有助于明确页面的规范版本,减少潜在的 URL 混乱问题。
4. 多语言网站中的 Canonical 使用
多语言网站需要正确设置 canonical,以避免搜索引擎在识别不同语言页面时出现混乱。
需要注意的是:
- 每个语言版本页面的 canonical 应指向自身
- 不同语言页面之间的对应关系,应通过 hreflang 来声明
- 不要将不同语言的页面互相 canonical
Canonical url对SEO的重要性
1.降低重复内容对 SEO优化的负面影响
2.帮助搜索引擎理解哪个页面应该作为 SERP 中的主要展示版本
3.合并相似页面的排名信号,避免权重分散
4.在一定程度上减少重复 URL 带来的抓取浪费,有助于抓取资源的合理分配。
如何设置Canonical url
1.使用rank math seo插件。
2.代码
在页面<head>部分添加如下标准canonical标记写法。
<link rel="canonical" href="主页面的URL">
注意事项:
1.必须使用完整网址
2.canonical 应指向最终、规范化、可访问的 HTTPS URL。
3.一个页面只有一条canonical url。
4.canonical 页面应返回 200 状态码,且内容与当前页面高度相关
延伸阅读:谷歌官方对canonical使用介绍
检查canonical设置是否正确
2.AITDK等SEO扩展插件。
3.检查源代码,用ctrl+F 搜索canonical。
canonical url跟301的区别
301是强制重定向,A强制重定向到B,A就不存在。canonical url是提示,谷歌有可能不遵守,设置成功后,A页面照样可以被用户访问
独立Google SEO专家,ylsseo.com创始人,基于Google专利、IR与API Leak解读排名机制,中文SEO启蒙第一人。
Technical details — raw field changes
| Field | Kind | Before | After |
|---|---|---|---|
| title | scalar | "什么是Canonical URL?规范化标签的重要性 – 鸭老师SEO" |
"什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司" |
| meta_description | scalar | — | "Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标准网址)。" |
| meta_robots | scalar | "max-image-preview:large" |
"follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large" |
| word_count | count | 137 |
139 |
| image_alt_count | count | 5 |
9 |
| og.og:description | scalar | — | "Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标准网址)。" |
| og.og:image | scalar | — | "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png" |
| og.og:image:alt | scalar | — | "什么是Canonical URL?规范化标签的重要性" |
| og.og:image:height | scalar | — | "365" |
| og.og:image:secure_url | scalar | — | "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png" |
| og.og:image:type | scalar | — | "image/png" |
| og.og:image:width | scalar | — | "516" |
| og.og:locale | scalar | — | "zh_CN" |
| og.og:site_name | scalar | — | "YLSSEO" |
| og.og:title | scalar | — | "什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司" |
| og.og:type | scalar | — | "article" |
| og.og:updated_time | scalar | — | "2026-05-20T12:13:23+08:00" |
| og.og:url | scalar | — | "https://www.ylsseo.com/canonical/" |
| twitter.twitter:card | scalar | — | "summary" |
| twitter.twitter:creator | scalar | — | "@https://x.com/seoyls" |
| twitter.twitter:description | scalar | — | "Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标准网址)。" |
| twitter.twitter:image | scalar | — | "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png" |
| twitter.twitter:site | scalar | — | "@https://x.com/seoyls" |
| twitter.twitter:title | scalar | — | "什么是Canonical URL?规范化标签的重要性 – 谷歌SEO服务 | Google优化代运营公司" |
| jsonld | scalar | [] |
[
{
"@context": "https://schema.org",
"@graph": [
{
"@id": "https://www.ylsseo.com/#organization",
"@type": "Organization",
"logo": {
"@id": "https://www.ylsseo.com/#logo",
"@type": "ImageObject",
"caption": "YLSSEO",
"contentUrl": "https://www.ylsseo.com/wp-content/uploads/cropped-ylsseo-logo.png",
"height": "512",
"inLanguage": "zh-Hans",
"url": "https://www.ylsseo.com/wp-content/uploads/cropped-ylsseo-logo.png",
"width": "512"
},
"name": "YLSSEO",
"sameAs": [
"https://twitter.com/https://x.com/seoyls"
]
},
{
"@id": "https://www.ylsseo.com/#website",
"@type": "WebSite",
"alternateName": "鸭老师SEO",
"inLanguage": "zh-Hans",
"name": "YLSSEO",
"publisher": {
"@id": "https://www.ylsseo.com/#organization"
},
"url": "https://www.ylsseo.com"
},
{
"@id": "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png",
"@type": "ImageObject",
"height": "200",
"inLanguage": "zh-Hans",
"url": "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png",
"width": "200"
},
{
"@id": "https://www.ylsseo.com/canonical/#breadcrumb",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"item": {
"@id": "https://www.ylsseo.com",
"name": "首页"
},
"position": "1"
},
{
"@type": "ListItem",
"item": {
"@id": "https://www.ylsseo.com/seo-tutorial/",
"name": "谷歌SEO教程"
},
"position": "2"
},
{
"@type": "ListItem",
"item": {
"@id": "https://www.ylsseo.com/canonical/",
"name": "什么是Canonical URL?规范化标签的重要性"
},
"position": "3"
}
]
},
{
"@id": "https://www.ylsseo.com/canonical/#webpage",
"@type": [
"WebPage",
"FAQPage"
],
"breadcrumb": {
"@id": "https://www.ylsseo.com/canonical/#breadcrumb"
},
"dateModified": "2026-05-20T12:13:23+08:00",
"datePublished": "2025-12-27T11:02:19+08:00",
"inLanguage": "zh-Hans",
"isPartOf": {
"@id": "https://www.ylsseo.com/#website"
},
"mainEntity": [
{
"@type": "Question",
"acceptedAnswer": {
"@type": "Answer",
"text": "301是强制重定向,A强制重定向到B,A就不存在。canonical url是提示,谷歌有可能不遵守,设置成功后,A页面照样可以被用户访问"
},
"name": "canonical url跟301的区别",
"url": "https://www.ylsseo.com/canonical/#faq-question-1766804378829"
}
],
"name": "什么是Canonical URL?规范化标签的重要性 \u0026ndash; 谷歌SEO服务 | Google优化代运营公司",
"primaryImageOfPage": {
"@id": "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png"
},
"url": "https://www.ylsseo.com/canonical/"
},
{
"@id": "https://www.ylsseo.com/canonical/#author",
"@type": "Person",
"image": {
"@id": "https://secure.gravatar.com/avatar/aac399a511737325d8e5ee2505c471c7448f8bed5c760f77bc966e37a76223e3?s=96\u0026amp;d=blank\u0026amp;r=g",
"@type": "ImageObject",
"caption": "鸭老师SEO",
"inLanguage": "zh-Hans",
"url": "https://secure.gravatar.com/avatar/aac399a511737325d8e5ee2505c471c7448f8bed5c760f77bc966e37a76223e3?s=96\u0026amp;d=blank\u0026amp;r=g"
},
"name": "鸭老师SEO",
"worksFor": {
"@id": "https://www.ylsseo.com/#organization"
}
},
{
"@id": "https://www.ylsseo.com/canonical/#richSnippet",
"@type": "BlogPosting",
"articleSection": "谷歌SEO教程",
"author": {
"@id": "https://www.ylsseo.com/canonical/#author",
"name": "鸭老师SEO"
},
"dateModified": "2026-05-20T12:13:23+08:00",
"datePublished": "2025-12-27T11:02:19+08:00",
"description": "Canonical URL(也称 canonical tag)是一种 HTML 标记,用于告诉搜索引擎:在一组内容相同或高度相似的页面中,哪一个才是主页面(标准网址)。",
"headline": "什么是Canonical URL?规范化标签的重要性 \u0026ndash; 谷歌SEO服务 | Google优化代运营公司",
"image": {
"@id": "https://www.ylsseo.com/wp-content/uploads/局部截取_20251227_112326.png"
},
"inLanguage": "zh-Hans",
"isPartOf": {
"@id": "https://www.ylsseo.com/canonical/#webpage"
},
"mainEntityOfPage": {
"@id": "https://www.ylsseo.com/canonical/#webpage"
},
"name": "什么是Canonical URL?规范化标签的重要性 \u0026ndash; 谷歌SEO服务 | Google优化代运营公司",
"publisher": {
"@id": "https://www.ylsseo.com/#organization"
}
}
]
}
] |
| main_content_hash | hash | "622551842da7cb525ddae3268fbbbc0b5d86b2a0b5873a40c2e7e743ebd024e3" |
"0de442ae5e6650d3b25853fe969546f503bf3d9c979e8e4e6177e7f10ef80b10" |