A canonical tag, known as a “rel=canonical” link, is an HTML element that helps website owners prevent duplicate content issues.
The canonical tag tells search engines which is the master version of the webpage.
Let me explain:
“Canonical” really just means “preferred” in SEO terms.
That means when you add a canonical tag to a page on your website, you are simply telling Google this is the preferred URL that we would like you to index and rank.
Here’s an example:
Let’s say you have two pages on your website with similar content:
The only difference between these two pages is the www. in the first URL.
Other than that, they would be completely identical including the content on the page itself.
Two identical pages could trigger a duplicate content issue.
Google won’t know which page’s main version they should index and rank.
This could cause both pages to NOT rank well, or Google could choose the wrong version.
That’s where canonical tags come in.
The tag simply tells search engines which version is the main one you want to be indexed.
What Will I Learn?
Canonical tags are important because they help search engines determine which pages on your site have the original content and which are duplicates.
The tag essentially tells search engines like Google which page they should index and which ones they should ignore.
This will establish the proper page in terms of page authority and ensure the original content ranks in the SERPs.
But that’s not all…
Canonical tags are important because they help:
The bottom line is that canonical tags are essential for good SEO. They offer a ton of benefits that will help get more visibility in the search results.
Follow these canonical tag best practices:
Clearly tell Google the preferred URL version of your site so that the Google algorithm always indexes the correct version.
Your website has at least four versions:
The last thing you want is Google crawling and indexing multiple versions of your website.
Choose your preferred URL structure and use canonical tags to indicate it to search engines.
Always use absolute URLs in your canonical tags to ensure search engines understand the correct URL.
URLs are made up of three core parts:
The URLs https://example.com/page-content and https://example.com/page-content/?3jgu3830dl are exactly the same.
They would also display the same content.
The random numbers and letters after the ? on then on the end are simply just a tracking code.
The problem is that without a canonical tag, Google might get confused about which is the correct URL.
By using absolute URLs in your canonical tag, you’ll help search engines understand your site’s URL structure.
That means they will always index the correct URL and avoid any issues.
The URL in the canonical tag should match the URL version you want indexed.
Maintain consistency in the protocol, hostname and path.
For example, don’t add a canonical tag to one version of your site for a page, then change it to a different version.
Keep it consistent.
You need to tell Google which domain to rank if you have two different websites and publish the same content across both domains.
Use canonical tags to point to the correct domain.
This will stop cross-domain duplicate content issues and focus the ranking power on the right domain’s content.
Canonical issues can cause huge problems for your SEO.
Ensure you regularly audit your website and look for any duplicate content issues. Get on top of it from the start to prevent major issues in the future.
To add a canonical tag to individual pages, you need to add the “rel=canonical” link in the HTML version of each page.
You can either do this manually or use a plugin like RankMath.
I’ll show you how to do both:
Add the rel= “canonical” tag to your page’s <head> section.
The canonical tag should look something like this:
<link rel=”canonical” href=”https://www.yoursite.com/preferred-page-url” />
You will either need to edit the HTML page using your CMS or access your website’s server.
The easiest way to add a canonical tag is by using a plugin like RankMath.
It takes care of the technical issues for you.
Install RankMath and head to the post/page you want to add the tag.
Find the RankMath widget, click on “Advanced” and add your Canonical URL.
RankMath will add the canonical tag to the correct section of your page for you. It’s as simple as that!
Need more help with canonical tags?
Check out our complete canonicalization tutorial to learn more.
Increase Your Search Traffic
In Just 28 Days…