Handles canonical URL setup to fix duplicate content issues and tell search engines which version of a page you want indexed. You'd reach for this when dealing with HTTPS vs HTTP variants, www vs non-www, trailing slashes, or pagination and parameter URLs that create duplicates. Covers both 301 redirects (the strongest signal, use when you can) and canonical tags (for when redirects aren't practical). Includes Next.js metadata patterns and server config snippets for Apache and Nginx. The guidance on avoiding canonical chains and keeping sitemap URLs aligned with canonicals is solid. Works alongside the hreflang and sitemap skills for complete technical SEO coverage.
npx skills add https://github.com/kostja94/marketing-skills --skill canonical-tag