Skip to content

SEO Duplicate 内容

快速摘要

你的 site 有相同内容 accessible 通过多个 URLs, confusing 搜索 engines 关于哪个 version 到索引.

为什么发生

  • 相同 page accessible 使用 and 不使用 trailing slash (/page and /page/)

  • HTTP and HTTPS versions 两者都 accessible

  • www and 非-www versions 两者都 serving 内容

  • URL 参数创建 duplicate pages (?排序=asc and ?排序=desc)

最小示例

✗ 错误代码
<!-- Same content at multiple URLs -->
<!-- https://example.com/article -->
<!-- https://www.example.com/article -->
<!-- https://example.com/article/ -->
<!-- No canonical tag — search engines see duplicates -->
✓ 修复代码
<!-- Add canonical tag to all versions -->
<link rel="canonical" href="https://example.com/article">
<!-- And set up 301 redirects: -->
<!-- www → non-www, trailing slash → no slash -->

canonical 标签 tells 搜索 engines 哪个 URL 是 authoritative version. 组合使用 301 redirects, 这个 consolidates 所有 versions 到 one indexed URL.

如何诊断

  • Use Google 搜索 Console 到检查 for duplicate 内容警告

  • 搜索 site:示例.com in Google 到 see indexed URLs

  • 检查如果多个 URLs 返回相同内容

如何修复

  • 添加 rel=canonical 标签 pointing 到 preferred URL version

  • 设置 301 redirects 从非-preferred 到 preferred URLs

  • 配置 URL 参数 handling in Google 搜索 Console

  • Standardize on one 格式 (HTTPS, 非-www or www, 否 trailing slash)

如何预防

  • 总是 use canonical 标签 on pages 使用 URL variations

  • 设置 redirects 期间初始 site 配置

  • Use consistent URL 结构跨越 site

相关资源

相关术语

相关课程

← 返回语言