技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
canonical-header【数据与研究】Use when auditing metadata, crawlability, structured data, or indexability related to Sync HTML canonical tags and Link headers. Verify the rendered HTML and HTTP response rather than relying only on source files.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Conflicting canonical-url signals can lead search engines to ignore both declarations, potentially causing duplicate content issues and incorrect indexing.
rel="canonical" tag in your HTML matches the Link canonical-url header if both are usedCompare the HTML canonical tag with the HTTP Link header to ensure they point to the exact same URL.
Update either the HTML tag or the HTTP header so that they provide a consistent canonical URL signal.
Explain the risks of sending conflicting technical SEO signals to search engine crawlers.
Review metadata generation, rendered HTML, structured data, and response headers related to Sync HTML canonical tags and Link headers. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/canonical-header