A canonical tag, often referred to as rel=“canonical,” is an HTML tag that tells search engines which URL is the primary version or “master copy” of content. These straightforward tags give site owners the ability to suggest one URL for Google to designate as the preferred page to appear in searches. Canonical tags also prevent SEO issues that arise from duplicate content.
These simple HTML link elements play a major role in your site’s SEO. They’re also easy to use, but only work when used correctly. If you’re unfamiliar with canonical tags, this article will help you learn how, when, and why to use canonical tags and how to avoid canonical tag issues.
A canonical tag is an HTML link element inserted into a page’s header or <head>. These tags were developed by search engines and rolled out in 2009. They’re one of those great examples of search engines working with site owners to improve the quality of search results.
This tag tells the crawler to index the primary page rather than the duplicate. The canonical URL indicates to Google which page the search engine should display in search engine results, this tag tells the search engine that the primary version is the one that should receive the organic search visibility.
Keep in mind that while you can tell Google which URL to index, Google may not follow your recommendation.
A canonical tag looks like this:
<link rel=“canonical” href=“https://example.com“ />
A canonical tag is also referred to as a canonical link element–which is a bit more intuitive label for this unique HTML code. Why? Because a canonical tag provides a canonical link and defines the relationship between the page and the link.
In HTML, rel tells the Googlebot that there’s a relationship between the page and a linked resource. In this case, the relationship identifies the canonical page which appears after the href attribute (href is a hypertext REFerence).
A canonical URL is the primary version of a webpage that site owners want search engines to recognize as the primary source of the content. The canonical URL is the webpage that you want the webcrawlers to index as the correct source of the content. This part of the link element appears after the href=”canonicalURL”.
The canonical URL appears within the canonical tag. The canonical URL is the hyperlink reference element within the canonical tag. This denotes the exact URL that should be considered the canonical version of the source content.
When it comes to e-commerce sites and sites that generate ad revenue, you want to be sure you take every opportunity to put your best URL forward in the search engine results pages (SERPs). And canonicalization does just this by telling Google which site should be indexed. Not only can you gain more control over your site, but you’re also able to funnel users to the highest value page.
Even a webpage that may seem unique can be found under a variety of URLs. For example:
While each of these URLs will display the same homepage, each is also technically its own URL. This can lead to the same issues as having duplicate content on a third-party website. Without a canonical tag on linkgraph.io, search engine algorithms will not which is the preferred URL to display to searchers.
Making things even more confusing to search engines, dynamic pages often have a wide array of tags, each of which has its own URL. Content management systems (CMSs) like WordPress often automatically embed tags into web pages, too. So, even a basic page will wind up with a multitude of URLs–each perfectly indexable by search engines.
So, your best bet is to place a canonical tag within the canonical URL’s header, as well.
Furthermore, as you’re tracking your search metrics, you want to compile all organic searches for one page under the same URL. Your canonical tags ensure only the specified page will receive search result metrics.
Many websites build backlinks through content syndication. However, creating content can be a timely and costly investment. Through syndicated relationships, you can provide users with your existing high-quality content on third-party sites. Or continue to build your library of content on your site while expanding your brand visibility.
However, without canonical tags, search engines will not know whether to index your site for the article or the third party. Canonical tags allow you and your syndication partner to simplify this problem. Note: you can also use the noindex tag on one of the pages to prevent duplication.
Duplicate content can cause various issues related to SEO. When Googlebots index webpages with identical or very similar content it can:
First and foremost, canonical tags are one of the few ways you can influence how Google presents your site to searchers. Canonicalization also prevents you from getting ‘docked’ in PageRank for having duplicate content–although Google does not directly penalize duplicate content, they do prioritize original content that’s well-organized,
Finally, they also allow you to provide users beyond your website with excellent content for backlinking and brand building.
Duplicate content isn’t just copy-and-pasted text. It can be written text, images, and other media that are exactly the same, similar, or reordered. Google also considers place-filler text and images from a CMS duplicate content if it’s published to the web.
Basic information, such as copyright text, on every page on your site can even be flagged as duplicates.
Ultimately, for the best SEO results, you will want to use canonical tags throughout your website. Once you update your existing pages, you will want to continue to implement canonicalization best practices.
The first step is to identify which URL version of your site pages should be the canonical URLs. Google prefers if your canonical links are consistent in formatting. So, if you use the “www.” in your homepage’s canonical link, include it in your other canonical URLs.
For example, at LinkGraph, we use the “https” protocol in all over our canonical tags, but do not include the “www.”
This will solve any issues with multiple URLs pointing to the same page.
Next, you will want to tag or eliminate any duplicate content within your site. You can do this with SearchAtlas’s Site Audit tool. It’s as simple as viewing your Content/Duplicates report.
Finally, you will want to find any remaining duplicate content on third-party sites. You can use a tool such as Copyscape to do so. Once, you’ve identified content elsewhere on the web, you will want to decide if
Then, you will want to respond with the corresponding solutions:
When it comes to canonical tags, you can reduce duplicate content issues by always using canonical tags. However, if you’re updating your site, you want to prioritize:
Do you have to be a webmaster to implement canonical tags? Not necessarily. If you’re comfortable with working on your site’s HTML code, you can implement canonical tags on your own.
Here’s how to set up canonical tags:
The easiest way to employ your canonical tags is to insert and update the tag text in your HTTP header. This HTTP header section of your page looks like this
1. Identify your preferred canonical URL.
2. Add a rel=canonical link tag to the non-canonical page’s <head> section with the correct canonical URL link inserted into the HTML link tag.
It should look like this:
That’s all there is to it. There’s no need to be a webmaster to link to the canonical version of a page.
To check if you’ve correctly implemented your canonical tag with the correct URL, you will need to view the source code of your webpage. This process is easy.
Google Search Console and GSC Insights are great tools for finding pages that have been incorrectly tagged. As you’re looking through your organic traffic stats and notice search traffic arriving at a non-canonical page, your canonical tags may be incorrect.
To fix these pages, you will want to navigate to the specific URL then inspect the page.
When creating or updating your sitemap, do not include duplicate URLs. You only need to include your canonical URLs. Your sitemap’s inclusion of the canonical version of a page will hint to Google’s bots to not crawl the duplicate version of the content.
You should not disallow duplicate pages in your robots.txt file. This would block Google from using these pages’ ranking signals. When you correctly implement canonical tags, ranking signals, such as engagements (clicks, scrolls, text entering) and content signals will count toward the canonical page’s metrics.
If you edit your site via a CMS platform such as WordPress, Shopify, Wix, or BigCommerce. Most of these CMSs will have specific instructions for adding canonical link tags, without directly editing your HTML document. We will cover the most common CMS platforms.
Using Yoast SEO plugin for WordPress, Shopify, or Wix, you can easily edit and add the preferred URL as your canonical tag.
Canonical tags only work well when implemented correctly–and incorrect implementation can be a disaster. Luckily, there are common mistakes you can avoid to ensure your e-commerce site or ad revenue site makes the most of your next Google crawl.
If you notice that you’re receiving organic traffic to a non-preferred version of a page, you will want to check for the following problems:
Google and other search engines created canonical attributes to improve the organization of websites and improve the user experience. When you use 301 redirects, you will increase your page load time. This is because the server must retrieve the redirected URL before retrieving the other version of a page.
Additionally, when you opt for a redirect instead of a canonical attribute, you’re sending the wrong signal to Googlebots.
Do not select a page without any internal links pointing to it as your canonical version. Canonical tags are just hints to crawlers, and if your canonical URL doesn’t appear in your sitemap, there’s a good chance it will not be indexed.
There’s no need to prevent Googlebots from indexing your duplicate pages. In fact, you want your duplicate pages to pass their link equity and other quality signals onto your canonical page.
Noindex should be reserved for gated content and other content you want to hide from search results.
Be sure to enter the URL for your canonical link correctly. If you’re unsure of what version to use, consider making the absolute URL your default.
An absolute URL should include the protocol (HTTPS), the domain name (www.yourhomepage.com), and any subfolders (/subfolder). Remember that you want to use the HTTPS protocol to demonstrate your site has SSL security for your users.
And always check that your preferred URL has been spelled correctly. This is the most common reason for a 404 error.
When creating blog posts or guides with multiple web pages, do not canonically link to the first page in the series from the subsequent pages. This will prevent a Googlebot from indexing the full series. Instead, you will want to substitute rel=”canonical” with rel=”prev” and rel=”next”.
Hreflanf tags tell Google that a page appears in multiple languages to better serve a diverse and multi-regional audience. Differing language versions can be viewed as content duplicates. Therefore, Google asks that webmasters always use Hreflang tags in conjunction with the canonical tags.
An often overlooked issue is accidentally using more than one rel=canonical tag. This problem can arise when more than one person edits a page. Luckily, it’s easy to fix and easy to avoid if you’re aware of it.
If you inserted a canonical tag, but notice organic traffic arriving at the non-preferred page, double-check that all elements are placed correctly. Note that one of the most commonly skipped characters is the end slash.
If you’re not using canonical tags, you’re likely missing out. Canonical tags can prevent a multitude of duplicate content issues that arise from URL variants, resulting in better SEO performance and a more organized site for Google to crawl. Furthermore, when you implement canonical tags, all of your search metrics will be compiled into one tidy page rather than countless variants.
Stay ahead on your search metrics and make the most of your consolidated data with the best keyword tracking tool available.
“They are dedicated to our success and are a thoughtful sounding board when we run ideas by them - sometimes on ideas and projects that are tangential to our main SEO project with them. Also, I love that they allow for shorter-term contracts compared to the usual 1-year contract with other SEO companies. Lastly, they deliver on their promises.”
Get detailed recommendations for on-page, off-site, and technical optimizations.