Indexability · Canonicals
Canonical is a relative URL
The canonical uses a relative path. It works, but is fragile if the page is served on other hosts or protocols.
How this page is built
The canonical link on this page points to itself using a root-relative path instead of an absolute URL.
Why it matters
Google accepts relative canonicals, but recommends absolute URLs. A relative canonical is resolved against whichever host and protocol served the page.
If the page is also served on a staging host, over HTTP or on another domain, the canonical points at that copy instead of the live site, which can lead to the wrong version being indexed.
How to check it
View the source and check whether the canonical href begins with https and the domain. If it begins with a slash or a path, it is relative. Load the page on any other host that serves the site, such as a staging address, and see which address the canonical then resolves to.
How to fix it
Use a full absolute URL, including the https scheme and the domain, in every canonical link.
Build it from a single configured site URL in the template rather than from the request, so the canonical always names the production address whichever host serves the page.