thedaviddias/front-end-checklist

canonical-url

Use when auditing metadata, crawlability, structured data, or indexability related to Set canonical URLs for all pages. Verify the rendered HTML and HTTP response rather than relying only on source files.

First seen Jun 20, 2026

Installation

$ npx skills add thedaviddias/front-end-checklist --skill canonical-url

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from thedaviddias/front-end-checklist · top by installs.

npx skills add thedaviddias/front-end-checklist

Browse all from thedaviddias/front-end-checklist

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 74.1K
License MIT
Default branch main
Open issues 5
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
category
seo
priority
high
difficulty
beginner
estimatedTime
10
source
frontendchecklist.io
url
https://frontendchecklist.io/en/rules/seo/canonical-url

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,663 B
  • docs SUMMARY.md 225 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 11 installs

SKILL.md

Set canonical URLs for all pages

Duplicate content from URL parameters, www vs non-www, or pagination dilutes ranking signals—canonical tags consolidate these signals to the preferred URL.

Quick Reference

  • Canonical URLs tell search engines which version of a page to index
  • Prevents duplicate content penalties from URL variations
  • Use absolute URLs including protocol and domain
  • Self-referencing canonicals are a best practice

Check

Verify that this page has a canonical URL tag and that it points to the correct preferred version.

Fix

Add or correct the canonical URL tag in the head section to prevent duplicate content issues.

Explain

Explain how canonical URLs help search engines understand the preferred version of duplicate or similar pages.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Set canonical URLs for all pages. 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/en/rules/seo/canonical-url