Technical SEO

Canonical Tag

An HTML element that tells search engines which URL is the preferred version of a page.

The Definition

A canonical tag (rel="canonical") is an HTML link element placed in the HTML head of a webpage to indicate the preferred URL when multiple pages have duplicate or similar content. This helps search engines consolidate link equity and avoid indexing duplicate pages, which can dilute your rankings.

Why It Matters

Without canonical tags, search engines may split ranking signals across duplicate URLs, causing none of them to rank well. Proper canonicalization ensures your preferred page receives the full benefit of backlinks and crawl budget.

Best Practices

  • Always use absolute URLs in canonical tags, never relative paths

  • Ensure the canonical URL returns a 200 status code and is not a redirect

  • Use self-referencing canonicals on every page, even non-duplicate ones, to explicitly declare the preferred URL

  • Place the canonical tag in the HTML head section, not in the body — search engines may ignore it otherwise

  • When using pagination, canonical each page to itself (not to page 1) and use rel=prev/next for context

  • Audit canonical tags regularly — CMS updates, plugin changes, and developer deployments frequently break canonical configurations

Mistakes to Avoid

  • 1

    Pointing canonical to a noindex page, creating a conflicting signal that confuses crawlers

  • 2

    Using HTTP canonical URLs on an HTTPS site, causing protocol mismatch

  • 3

    Setting canonical to a URL that redirects, adding an unnecessary extra hop for crawlers

  • 4

    Having multiple canonical tags on the same page, which forces search engines to guess which to honor

Audit Checks

How Digispot AI identifies and fixes related issues

View all canonical tag solutions
high

The page has more than one canonical tag.

Impact: Multiple canonicals are ambiguous, so Google may ignore all of them.

Keep exactly one canonical tag per page. • Remove the extras. • Re-crawl to confirm.

high

The canonical tag is placed in the page <body> instead of the <head>.

Impact: Google only honors a canonical link in the <head>; one in the body is ignored, so the page has effectively no canonical signal.

Move the <link rel="canonical"> tag into the <head> section. • Make sure no script injects it into the body after load. • Re-crawl to confirm it is in the head.

high

The canonical tag points to a malformed or invalid URL.

Impact: An invalid canonical is ignored, so the page loses its duplicate-content protection.

Fix the canonical to a valid, absolute URL. • Test that the URL resolves. • Keep just one canonical tag.

medium

The canonical tag points to a different domain.

Impact: A cross-domain canonical hands your ranking value to another site, which is rarely intended.

Confirm pointing to another domain is truly intended. • If not, change the canonical to your own domain. • Re-crawl to verify.

medium

The page has no canonical tag — the signal that tells Google which URL is the "official" version.

Impact: Without it, similar URLs can compete and Google may index the wrong one, splitting your ranking.

Add a <link rel="canonical"> tag in the <head>. • Point it at the preferred URL (often the page itself). • Use one canonical per page.

critical

The canonical points to a page that is set to "noindex" (asks Google not to index it).

Impact: This sends conflicting signals and can result in no version of the page being indexed at all.

Remove the noindex from the canonical target, or • Point the canonical at an indexable URL instead. • Make the signals consistent.