Skip to content
AuditMeAuditMe

What Is a Canonical URL?

Last updated: August 31, 2026

A canonical URL is the preferred version of a web page when multiple URLs serve similar or identical content. It is specified using a <link rel="canonical"> tag in the HTML <head> or via HTTP header. The canonical URL tells search engines which version of a page to index and rank.

Why It Matters

Without a canonical URL, search engines may index duplicate versions of the same page, diluting link equity and confusing ranking signals. This is especially important for e-commerce sites with URL parameters, sites with print versions, and any page accessible via multiple URLs (www vs non-www, HTTP vs HTTPS, trailing slash vs no trailing slash).

How AuditMe Detects It

AuditMe checks every crawled page for: (1) presence of a <link rel="canonical"> tag, (2) whether the canonical is self-referencing (points to the same URL), (3) whether the canonical URL is accessible (returns 200), (4) consistency across the site (no conflicting canonicals), and (5) match between canonical and the URL in the sitemap.

Example

Correct
<link rel="canonical" href="https://www.auditme.dev/seo/what-is-canonical-url" />
Incorrect
<link rel="canonical" href="https://auditme.dev/seo/what-is-canonical-url/" />
<!-- Different: no www, trailing slash -->

Common Mistakes

  • Missing canonical tag entirely — no signal to search engines about preferred URL
  • Canonical points to a different page (not self-referencing) without clear reason
  • Canonical URL returns 404 or redirects — search engines ignore broken canonicals
  • Conflicting canonicals — different pages canonicalize to each other in a chain
  • Canonical includes URL parameters that change per session
  • Using canonical to consolidate ranking signals for completely different content
Related AuditMe Check
Canonical URL Check
Try it