canonicalslisted
Install: claude install-skill sitetiller/ai-visibility-skills
# Canonicals
Goal: for each group of duplicate URLs, one preferred URL, declared with consistent strong signals, and a check that Google agrees. Google is clear that a canonical preference is a hint and not a rule: it may choose another URL.
## Choose the tool
| Situation | Use | Google's description |
|---|---|---|
| Old URL should disappear for good | 301 or 308 redirect | "a strong signal that the target of the redirect should become canonical" |
| Duplicates that must both stay reachable (parameters, print versions, similar pages) | `rel="canonical"` | "a strong signal" |
| Preferred URLs listed in the sitemap | sitemap inclusion | "a weak signal"; use it as a supporting signal |
| Page must stay out of search results | `noindex` | not a canonicalization tool: Google does not recommend noindex to prevent selection of a canonical within one site |
| Keep a page from being crawled | robots.txt | do not use for canonicalization; a blocked page's tags are never read |
| Non-HTML file (PDF) | `Link: <url>; rel="canonical"` HTTP header | works for non-HTML files |
Methods can stack. Do not name different canonicals in different methods for the same page.
## Rules for the tag (Google)
- Absolute URL, not relative.
- Inside `<head>`; it is only accepted there.
- One canonical per page. Use the HTML element or the HTTP header, not both.
- The canonical page carries a self-referencing canonical.
- `rel="canonical"` with `hreflang`, `lang`, `media` or `type` attributes is not us