Website owners, especially large eCommerce website owners, have always struggled in battling duplicate content issues. Depending on the CMS settings, server settings, and the handling of query parameters, duplicate content can be a big pain in the, you know!
In my professional experience, and readings, I have seen the following commonly occurring duplicate content issues:
- Same URL with separate versions. Such as first letter uppercase versus all lowercase.
- Query parameter URLs with the exact same content.
- On rare occasions, cross-domain duplicate content. This is more true for organizations owning more than one domain.
There are multiple ways to handle duplicate content, but for this post, we’re going to be discussing everything you need to know about canonical tags.
Let’s get started!
What Is a Rel Canonical Tag in the First Place?
Rel canonical is an invention of a joint collaboration between Google, Yahoo, and Bing. Precisely, it’s purpose was to allow website owners & coders to handle duplicate content issues better, and in return, help search engines understand which page they’d prefer to rank.
How Does Duplicate Content Issue Rear Its Ugly Head?
The great thing about the internet is the constant propagation of online content! However, a significant potential drawback for website owners, knowingly or unknowingly, who are serious about SEO, is the dissemination of duplicate content. For example:
- https://homepage (primary URL) can have the same exact content as
- http://homepage (without https), which in turn, can have the same exact content as
- https://www.homepage (with www)
- so on and so forth
So, How Can Rel Canonical Help? And How to Implement It?
Continuing with our example URLs, let’s say that the primary URL is the one you want to get all the SEO credit, and is also the one that you want to be displayed within the SERPs. Strictly using rel canonicals, what you’d need to do is:
- On your primary URL, implement a “self referential canonical**” (continue to follow just a little down to the screenshot, and you’ll get it)
- On all your other URLs, you’ll have to point your rel canonical to the primary URL.
- The same concept applies to cross-domain duplicate content issues as well.
Adding a rel canonical is actually not that hard. See screenshot below for reference.
As you can see, the code itself is not complicated! However, if you need this in a more general format, the syntax for implementing a rel canonical is as follows:
<link rel="canonical" href="yourfullprimaryurl" />
The code for rel canonical needs to be within your <head></head> section. Typically, it’s almost always where you have the code for your <title></title> tag, meta description, etc.
What Are the Top 2 Best Practices for Implementing Rel Canonical?
- Always, and always implement a self-referential canonical to the primary URL/preferred URL, you want to get all the SEO credit, and the one you want to be displayed in the SERPs. This includes your homepage. In fact, it’s important to do this on the homepage, as we know it can end up with multiple variations.
- Stick to a standard: This is indispensable! You cannot end up canonicalizing page 1 to page 2, which in turn canonicalizes to page 3. To make things more complicated, page 3 might canonical to page 1. This is an extremely bad practice, and can do you more harm than good.
In general, keep it simple.
a. Have all the duplicate versions canonical to the primary/preferred version.
b. Have the primary URL do a self-referential canonical to itself.
You have to “avoid mixed signals.”
You May Also Want to Check Out:
- The Power of Google Search Console’s URL Inspection Tool
- Two Accurate Ways to Verify a 301 Redirect
- How to Create and Submit XML Sitemaps to Google
- 3 Basic URL Structure Best Practices for Avoiding Negative SEO Performance
- Understanding Google’s Updated Guidelines on Nofollow, Along With Sponsored, and UGC Link Attributes
Other Commonly Asked Questions About Canonicals
Yes, it can. In most cases, it will. But it’s not a guarantee.
For the most part, Google does. Unless, for some reason, it can’t. Again, you have to remember that it’s not a guarantee. That said, it shouldn’t’ discourage you from implementing a canonicalization standard — so to speak, within your company/organization.
The best source for this information is Google itself. Head over to Google Search console, Inspect a URL, and expand the “coverage” drop-down. Google Will provide you with canonical Details. See the attached image.
The same concept applies. Except, in this case, the URLs will be from different domains. Say, for instance, https://domain1/page1, had the same content as https://domain2/page2, you’d have to execute similarly. Pick a primary version and apply a self referential canonical, and in the other version, point the canonical to the primary version.
Duplicate content issues can end being very pervasive, so you need to stay on top of it, for optimal SEO performance. My personal choice to handle duplicate content issues is the combination of implementing 301 redirects + canonicals, a post for another day. However, I hope that after reading this one, you learned everything you need to know about canonical tags — at least, to get started!