Skip to content
Back to skills

Canonical Header

ASecurity

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.

  • 74,358 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 5, 2026
developmentgofrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 5, 2026

npx -y skills add thedaviddias/Front-End-Checklist --skill canonical-header --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Canonical Header?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Canonical Header
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedaviddias-canonical-header/badge)](https://www.skillsdirectory.com/skills/thedaviddias-canonical-header)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: canonical-header
description: "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."
metadata:
  category: seo
  priority: medium
  difficulty: intermediate
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/seo/canonical-header
---

# Sync HTML canonical tags and Link headers

Conflicting canonical-url signals can lead search engines to ignore both declarations, potentially causing duplicate content issues and incorrect indexing.

## Quick Reference

- Ensure the `rel="canonical"` tag in your HTML matches the `Link` canonical-url header if both are used
- Avoid sending conflicting signals to search engines about the primary version of a page
- Maintain consistency across all methods of declaring your canonical URL

## Check

Compare the HTML canonical tag with the HTTP Link header to ensure they point to the exact same URL.

## Fix

Update either the HTML tag or the HTTP header so that they provide a consistent canonical URL signal.

## Explain

Explain the risks of sending conflicting technical SEO signals to search engine crawlers.

## Code Review

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

Files in this skill

  • SKILL.md1.7 KB
  • references/rule.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…