Canonical Is a Relative URL

No Comments

Quick Reference

Element Code: IN-001

Issue: Canonical URL is specified as a relative path instead of absolute URL

Impact: May be misinterpreted by search engines, inconsistent canonicalization

Fix: Change canonical to absolute URL including protocol and domain

Detection: Screaming Frog, Sitebulb, View Source

What Is This Issue?

A relative canonical URL looks like "/page-name/" instead of "https://example.com/page-name/". While browsers can usually resolve relative URLs, search engines may not always interpret them correctly, especially in edge cases.

Why This Matters

Google recommends using absolute URLs for canonical tags. Relative URLs can cause issues with:

  • Pages accessible via multiple protocols (HTTP/HTTPS)
  • Pages accessible via multiple domains (www/non-www)
  • Content syndication where relative paths don't resolve correctly

How to Fix This Issue

Change From Relative:

<link rel="canonical" href="/en/page-a/" />

To Absolute:

<link rel="canonical" href="https://example.com/en/page-a/" />

TL;DR (The Simple Version)

Your canonical URL is relative (starts with /) instead of absolute (starts with https://). Change it to include the full URL with protocol and domain to avoid any potential issues.

About SEO ProCheck

Technical SEO consulting and GEO strategy with 20 years of enterprise experience. Case studies, resources, and tools for search and AI visibility.

Work With Me

Technical SEO audits, GEO strategy, site migrations, and international SEO. Hourly consulting for teams who need hands-on support, not just reports.

Subscribe to our newsletter!

More from our blog