Definition
A canonical tag (rel="canonical") is an HTML element that tells search engines which URL is the preferred version of a page when duplicate or near-duplicate content exists across multiple URLs.
Detailed Explanation
Place in <head>:
<link rel="canonical" href="https://example.com/preferred-page/" />
Use when: HTTP/HTTPS duplicates, www vs. non-www, pagination, URL parameters (?utm=, ?sort=), syndicated content, or AMP/non-AMP pairs. Google consolidates ranking signals to the canonical URL.
Self-referencing canonicals on unique pages are best practice — every indexable page should canonicalize to itself (absolute URL).
Nepal Context
Nepali sites often duplicate content across /blog/post/ and /post/ paths, or serve both .html and clean URLs. Consolidate with canonical tags and consistent internal linking. Free .com.np sites on subpaths should canonicalize to the primary domain.
Practical Examples
- Product page accessible via 3 URLs — canonical points to shortest clean URL.
- UTM-tagged campaign URLs self-canonical to base URL without parameters.
- Cross-domain syndication: partner republishes your article with canonical pointing back to your site.
Key Takeaways
- Canonical = preferred URL for indexing and ranking signal consolidation.
- Use absolute URLs always.
- Canonical is a hint, not a directive — strong internal links reinforce it.
Common Mistakes
- Canonical pointing to 404 or redirect chain — confuses crawlers.
- Mixed signals — canonical says A, sitemap lists B, redirects go to C.
- Canonicalizing paginated series to page 1 only — use self-referencing canonicals per page or view-all page strategy.

