One problem we see with canonical tags is that the canonical tag <link rel =“canonical”> URL is not absolute.
Relative URLs should not be used.
Here's how to address the problem.
Absolute URLs ensure the tag will be interpreted by search engines correctly.
A relative canonical may be something like <link rel=canonical href="example.com/cupcake.html" /> whereas an absolute canonical would include the “http://”.
If you notice that your canonical tags do not use absolute URLs, here’s how to change them.
Ensure that all references to canonical URLs are absolute references (include the full protocol and domain, such as http://www.xyz.com/abc.html).
With SEO automation, it’s easier than ever for you to update your canonical tags at scale, all with a few steps.
Just select the optimization you’d like to make, and your canonicals can be fixed in a few minutes.
Here’s a 3-step workflow with seoClarity’s ClarityAutomate — an SEO execution platform.
ClarityAutomate is capable of optimizing a number of site elements, but in this case we’re interested in canonical tags.
Since the canonical already exists, we want to update it (as opposed to adding or deleting).
Then, enter the hyperlink to the new canonical URL that is absolute.
You can use ClarityAutomate to update all applicable canonical tags across your entire site.
Here’s what the update looks like: