{"id":2395,"date":"2022-11-11T17:51:08","date_gmt":"2022-11-11T12:21:08","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=2395"},"modified":"2022-11-19T15:17:24","modified_gmt":"2022-11-19T09:47:24","slug":"introduction-to-canonical-tags-in-seo","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/","title":{"rendered":"Introduction to Canonical Tags in SEO"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">Are you here to learn about canonical tags in SEO? Let&#8217;s get started.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Canonical tags are essential to<a href=\"https:\/\/hostkicker.com\/blog\/a-guide-to-technical-seo\/\"> technical SEO<\/a> that can hamper or boost your site&#8217;s performance and internet presence.\u00a0<\/span><span data-preserver-spaces=\"true\">In order to keep your site&#8217;s SEO healthy, you must understand what canonical tags are and how you can use them.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Wondering why? Why use canonical tags?\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This is because poorly placed canonical tags or avoiding them altogether can cause issues that can hinder your site&#8217;s performance as well as ranking. That&#8217;s why we have created this write-up to discuss canonical tags in SEO. You&#8217;ll be able to answer what they are, how they function, and how you can use them on your site appropriately. <\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The canonical tag was a collaborative creation of major firms like Microsoft, Google, and Yahoo in 2009 to help website owners to fix the <a href=\"https:\/\/hostkicker.com\/blog\/duplicate-content-in-seo\/\">duplicate content issue<\/a> on websites that can be accessed via multiple URLs.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">These tags indicate to search engines the preferred version of the duplicate or similar content on your site to resolve the duplicate content issues quickly. <\/span><span data-preserver-spaces=\"true\">Let&#8217;s dive deeper into canonical tags in SEO.<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">What are canonical tags in SEO?<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">In SEO, a canonical tag is an HTML code that informs search engines which URL, page, or content on your site is the canonical version (preferred or most important) among the duplicate or similar content on your site. It is also referred to as &#8220;rel canonical.&#8221;\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Let me put it this way- If your site contains different versions of the same topic or duplicates or near duplicate content under different URLs, you can use canonical tags to tell search engines the most important content of your site among them- the one that you want to get crawled and indexed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Using canonical tags, you can avoid issues arising due to duplicate or identical content on a site. To put it simply, it tells search engines which page you want it to rank on SERPs.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">The placement of the Canonical tags.<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">A canonical tag is placed in the header section of the page, just like this-<\/span><\/p>\n<p><strong><em>&lt;link rel= &#8220;canonical&#8221; href= &#8220;https:\/\/example.com&#8221;&gt;<\/em><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">The first part- link rel= &#8220;canonical&#8221; suggests that the link in this tag is the canonical version of this page. And the second part- href= &#8220;https:\/\/example.com&#8221;- suggests that this URL is canonical.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">What is a canonical URL in SEO?\u00a0<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">A canonical URL is the page URL that is set as the canonical version among duplicate versions using the HTML code to prevent content duplication issues. You can choose the canonical URL yourself, or else Google itself selects the one it thinks to be the most valuable.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">How is content assessed as duplicate?<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">To be considered as duplicate content, the pages must not be exactly identical. They can be considered duplicates even if they have minimum variations, such as variations caused due to sorting or filtering the products by price, color, type, and more.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This doesn&#8217;t imply that you should avoid creating similar content. There may be many reasons for having similar content on a site or covering the same topic. Maybe both are created to fulfill different intents, or perhaps the latter is more advanced than the former one, or more. Whatever the reason, maybe you can keep them on your site without hurting your SEO by using canonical tags.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">How did Google choose canonical content?<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Google tries to analyze the content of the page while indexing the site. If in case it discovers duplicate content on it, it chooses the one as the canonical version that it finds to be the most suitable and most valuable content among the duplicate ones. To decide, it considers various signals like Page quality, page secure version (HTTP or HTTPS), its listing in the sitemap, and the tags such as rel=canonical. You can also tell search engines your canonical version using the tags or other ways, and it will consider it as the main URL unless the other content is more relevant to the user&#8217;s query.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For instance, even if the desktop version is set as the canonical URL, the mobile version is served to the user surfing from the mobile device.\u00a0<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">The importance of using canonical tags in SEO<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">There are many reasons you must use canonical tags in SEO. The most important one is to avoid duplicate content issues that may hurt the site&#8217;s performance, and all the other issues revolve around this. Google has difficulties assessing duplicate content. It may be challenging for it to choose which one should be indexed, which version should be ranked for a particular query, and whether it should consolidate the &#8220;link juice&#8221; to one page or split it among all.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u00a0Also, duplicate content on your site may affect your site&#8217;s &#8220;crawl budget&#8221; as it may crawl your duplicate versions, again and again, wasting the budget that can be used for crawling the other important pages of your site. The canonical versions are crawled more frequently as compared to the duplicates, which are crawled less. This helps you maintain the crawling load on your site.\u00a0 \u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Moreover, if you do not use a canonical tag, Google may choose the canonical version itself, which may be the URL that you don&#8217;t want to get ranked.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can use Google&#8217;s\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/support.google.com\/webmasters\/answer\/9012289#google-selected-canonical\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">URL Inspection tool<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0to see which version of your content Google has chosen as the canonical version. Even if you have specified the canonical version, it is possible that Google may choose a different canonical version. There could be multiple grounds for this, including performance, content, and so on. Moving on.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Using canonical tags, you can:<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Specify the most important URL or page that you want to see in the results.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Consolidate the link signal to the single preferred URL.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Track the metrics for a particular topic or product more conveniently.<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Manage your syndicated content to make sure your preferred URL is shown in the results. And lastly<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Avoid spending resources on crawling duplicate content.<\/span><\/li>\n<\/ul>\n<h2><strong><span data-preserver-spaces=\"true\">Does everyone have a duplicate content issue?<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">It&#8217;s genuine to assume that your site may not contain duplicate content because nobody publishes the same content again and again. However, the concern is search engines do not crawl web pages but URLs. And for them, each URL is a unique URL, even if it leads to the same page.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For example- The following are the URLs that can lead to the homepage of the website &#8220;xyz.com.&#8221;\u00a0<\/span><\/p>\n<ul>\n<li><em>http:\/\/www.xyz.com<\/em><\/li>\n<li><em>https:\/\/www.xyz.com<\/em><\/li>\n<li><em>http:\/\/xyz.com<\/em><\/li>\n<li><em>http:\/\/xyz.com<u>\/<\/u>index.php<\/em><\/li>\n<li><em>http:\/\/xyz.com\/index.php?r<\/em><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">For us (humans), all these may appear the same as they lead us to the same home page, but for search engines, each URL is unique.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Another example could be the following two URLs for the same web page.<\/span><\/p>\n<p><em>www.xyz.com\/product <\/em><strong>and<\/strong> <em><span data-preserver-spaces=\"true\">www.xyz.com\/product?color=red<\/span><\/em><\/p>\n<p><span data-preserver-spaces=\"true\">These URLs are referred to as parameterized URLs which is the major cause of duplicate content on a site, majorly on eCommerce websites. However, not only these sites are affected by this. Each kind of website face duplicate content issue for many reasons. <\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Following are some examples leading to duplicate content issues on a website:<\/span><\/h3>\n<ul>\n<li><strong>Parameterized URLs for session IDs. <\/strong><\/li>\n<\/ul>\n<p>For example-<span data-preserver-spaces=\"true\">https:\/\/xyz.com?sessionid=4<\/span><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Pages optimized for multiple devices. <\/span><\/strong><\/li>\n<\/ul>\n<p>Example-<span data-preserver-spaces=\"true\"> <em>https:\/\/<\/em>xyz<\/span><em><span data-preserver-spaces=\"true\">.com<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and <\/strong><em>https:\/\/<\/em><\/span><em><span data-preserver-spaces=\"true\">m.xyz.com<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Parameterized URLs for search parameters. <\/span><\/strong><\/li>\n<\/ul>\n<p>For example- <em><span data-preserver-spaces=\"true\">https:\/\/<\/span><\/em><em><span data-preserver-spaces=\"true\">xyz.com?q=search-term<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Different URLs for posts under different categories. <\/span><\/strong><\/li>\n<\/ul>\n<p>Example- <em><span data-preserver-spaces=\"true\">https:\/\/<\/span><\/em><em><span data-preserver-spaces=\"true\">xyz.com\/<\/span><\/em><strong><span data-preserver-spaces=\"true\">services<\/span><\/strong><em><span data-preserver-spaces=\"true\">\/SEO\/<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and<\/strong><\/span><em><span data-preserver-spaces=\"true\"> https:\/\/xyz.com\/<\/span><\/em><strong><span data-preserver-spaces=\"true\">specials<\/span><\/strong><em><span data-preserver-spaces=\"true\">\/SEO\/<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">www and non-www versions of your content. <\/span><\/strong><\/li>\n<\/ul>\n<p>For example-<em><span data-preserver-spaces=\"true\">http:\/\/www.xyz.com<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and<\/strong>\u00a0<\/span><em><span data-preserver-spaces=\"true\">http:\/\/xyz.com<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0\u00a0<\/span><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">AMP and non-AMP page versions. <\/span><\/strong><\/li>\n<\/ul>\n<p>Example- <em><span data-preserver-spaces=\"true\">https:\/\/<\/span><\/em>xyz.<em><span data-preserver-spaces=\"true\">com\/page<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and<\/strong> <em>https:\/\/<\/em><\/span><em><span data-preserver-spaces=\"true\">amp.xyz.com \/page<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Similar content with and without trailing slashes. <\/span><\/strong><\/li>\n<\/ul>\n<p>For example-\u00a0<em><span data-preserver-spaces=\"true\">https:\/\/xyz.com\/page\/<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and<\/strong>\u00a0<\/span><em><span data-preserver-spaces=\"true\">http:\/\/www.xyz.com\/page<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Same content at HTTP and HTTPS. <\/span><\/strong><\/li>\n<\/ul>\n<p>Example-<em><span data-preserver-spaces=\"true\"> http:\/\/www.xyz.com<\/span><\/em><span data-preserver-spaces=\"true\">\u00a0<strong>and<\/strong>\u00a0<\/span><em><span data-preserver-spaces=\"true\">https:\/\/www.xyz.com<\/span><\/em><\/p>\n<ul>\n<li><strong><span data-preserver-spaces=\"true\">Similar content with and without capital letters.<\/span><\/strong><\/li>\n<\/ul>\n<p>For example-\u00a0<em><span data-preserver-spaces=\"true\">https:\/\/xyz.com\/page\/<\/span><\/em><span data-preserver-spaces=\"true\"><strong>\u00a0and<\/strong>\u00a0<\/span><em><span data-preserver-spaces=\"true\">http:\/\/www.xyz.com\/Page\/<\/span><\/em><\/p>\n<p><span data-preserver-spaces=\"true\">These are only a few reasons for duplicate content. Along with these, there may be more conditions you may need to use the canonical tags on your site.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Besides this, there&#8217;s a cross-domain content issue. If you practice content syndication, you must use a self-referential canonical tag on your content so that your syndicated content specifies you as the canonical version. Syndicated content may still appear in search results even using a self-referential canonical tag, but it lowers the chances of it outranking the original content.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Most sites suffer from duplicate content issues without even realizing it. Therefore, it&#8217;s important to examine this issue on your site and use canonical URL tags to help search engines identify the canonical version of your similar content.<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">Golden Rules for using canonical tags in SEO<\/span><\/strong><\/h2>\n<p><strong><span data-preserver-spaces=\"true\">Following are the few rules you must always keep in mind prior to using the canonical tags.<\/span><\/strong><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">1: Practice using absolute URLs<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">One of the Google representatives, Mr. John, on using canonical tags, stated that it&#8217;s best to use absolute URLs with canonical tags instead of relative URLs.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This means your URL structure should be like this-<\/span><\/p>\n<p><strong>&lt;link rel=\u201ccanonical\u201d href=\u201chttps:\/\/xyz.com\/sample-page\/\u201d \/&gt;<\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Instead of this one-<\/span><\/p>\n<p><strong>&lt;link rel=\u201ccanonical\u201d href=\u201d\/sample-page\/\u201d \/&gt;<\/strong><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">2: Prefer using lowercase URLs<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">As we have discussed above, URLs are case-sensitive. Google usually considers the uppercase URLs and lowercase URLs as two unique URLs, which may lead to duplicate content. Thus, you must practice using lowercase URLs on your site as well as when using canonical URLs. Lowercase versions are usually the preferred ones.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">3: Make sure you&#8217;re using the correct domain version (HTTP\/HTTPS)<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Using the correct domain version is essential to ensure everything runs smoothly. This is because an incorrect version may create confusion and may lead to unforeseen results. If you&#8217;ve switched from HTTP to HTTPS, make sure you use the secure version all over your site, and if not, stick to the HTTP version. While using the canonical tags, keep checking on your HTTP version. For example, if you have got an SSL certificate for your domain, your URL must look like this-<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">&lt;link rel=\u201ccanonical\u201d href=\u201c<\/span><strong><span data-preserver-spaces=\"true\">https<\/span><\/strong><span data-preserver-spaces=\"true\">:\/\/xyz.com\/sample-page\/\u201d \/&gt;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Instead of this-\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">&lt;link rel=\u201ccanonical\u201d href=\u201c<\/span><strong><span data-preserver-spaces=\"true\">http<\/span><\/strong><span data-preserver-spaces=\"true\">:\/\/xyz.com\/sample-page\/\u201d \/&gt;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\u00a0If you haven&#8217;t switched yet, use the HTTP version.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">4: Use self-referential canonical tags<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Google&#8217;s trend analyst, John Mueller, recommends using self-referential canonical tags on the content you want to get indexed and appear in SERPs. If you&#8217;ve duplicate content on your site or a single content can be accessible with various URL versions using Self-referential canonical tags can help Google understand your canonical versions.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If you are trying to understand what Self-referential canonical tags are and how they work, we can help. A canonical tag that points to itself on a page is referred to as a self-referential canonical tag.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For instance, The URL of a page is &#8211;\u00a0<\/span><strong>https:\/\/xyz.com\/sample-page<em>,<\/em>\u00a0<\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Then its self-referencing canonical version will be-<\/span><\/p>\n<p><strong>&lt;link rel=\u201ccanonical\u201d href=\u201chttps:\/\/xyz.com\/sample-page\u201d \/&gt;<\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Many CMS lets you include the self-referencing URLs automatically. However, if you&#8217;re using a custom CMS, you&#8217;ll need to ask your developer for this.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">5: Follow the One Page One canonical tag rule.<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Using multiple canonical tags within a single page can be a bad signal. Google may get confused and may ignore all the tags instantly.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You must follow one page and one canonical tag rule in order to make your tag count, or else Google will ignore all the tags and decide on the canonical version on its own.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Ways to implement canonical tags in SEO<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Canonical tags can be implemented in five different ways, which are also referred to as canonicalization signals: These are-<\/span><\/p>\n<ul>\n<li><span data-preserver-spaces=\"true\">Using HTML tag (rel=canonical)<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Within HTTP header<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Within Sitemap<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">Using 301 redirects, and lastly<\/span><\/li>\n<li><span data-preserver-spaces=\"true\">The Internal links<\/span><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">Let&#8217;s explore them one by one-<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">1. Placing canonicals using HTML tags<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">This is the simplest way to set a canonical URL using a rel=canonical tag (HTML tag).<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This tag is usually placed within the &lt;head&gt; section of the duplicate or near duplicate pages.<\/span><\/p>\n<p><strong>&lt;link rel=\u201ccanonical\u201d href=\u201chttps:\/\/xyz.com\/canonical-page\/\u201d \/&gt;<\/strong><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>For Example-<\/strong> Your home page can be accessible with many URLs, but you want to canonicalize the HTTPS version. So, you can add a canonical tag to all your other URLs to make your HTTPS version canonical. The code may look like this-<\/span><\/p>\n<p><strong>&lt;link rel=\u201ccanonical\u201d href=\u201chttps:\/\/xyz.com\u201d \/&gt;<\/strong><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Pros-<\/strong> You can map numerous duplicate contents using HTML tags.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Cons-<\/strong> It can expand the page size, it may be difficult to handle for larger sites, and it only works well for HTML pages, not for PDFs or similar files.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Note:<\/strong> Be careful while adding it to your page&#8217;s code. Placing it wrong might create a mess. However, if you are using any CMS, you can place it effortlessly. Let&#8217;s see how-<\/span><\/p>\n<ul>\n<li><strong>Placing canonical tags in WordPress<\/strong><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">In WordPress, you can easily place the canonical tags. You&#8217;ve to install the Yoast SEO plugin, and it will automatically place the self-referencing canonical tags. Easy? Yes, surely it is. You can also set custom canonical tags in WordPress. You can visit the &#8220;Advanced&#8221; section on each page or post and add the canonical URL you want it to point to. It also supports cross-domain canonicals.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2397\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-URL-setting-in-yoast.png\" alt=\"Canonical-url-setting-in-yoast\" width=\"772\" height=\"504\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-URL-setting-in-yoast.png 772w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-URL-setting-in-yoast-300x196.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-URL-setting-in-yoast-768x501.png 768w\" sizes=\"auto, (max-width: 772px) 100vw, 772px\" \/><\/p>\n<ul>\n<li><strong>Placing canonical tags in Shopify<\/strong><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">In Shopify, the self-referencing canonical URLs for blog posts and products are added by default. If you want to add custom canonical URLs, you&#8217;ll have to edit the &#8220;template.liquid&#8221; files.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">2. Placing canonicals in HTTP headers<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">The only way to place canonical tags for documents like PDFs, images, and word docs is to use the HTTP headers. This is because there&#8217;s no &lt;head&gt; section on the URLs to add HTML tags. Also, on standard web pages, you can utilize the canonical tags in HTTP headers.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In order to add the canonical tags to HTTP headers, first, open the .htaccess file. In the header, add the canonical tag and submit it to the Google search console.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Pros-<\/strong> It does not increase page size and can be used for numerous duplicate pages.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Cons-<\/strong> It could be challenging to get it up on a larger site or a site where URLs frequently change.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">3. Adding canonicals in sitemaps<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">A sitemap is a great way to tell search engines about the important pages of your site. Google visits the sitemap before crawling your site to make sure each listed page gets crawled and indexed. According to Google, you must include your canonical URLs and avoid adding duplicate and non-canonical URLs to your sitemaps. This will help Google index your canonical URLs easily. Although adding canonicals to sitemaps is not a guarantee to be considered canonicals by Google, it&#8217;s the simplest way to mark your preference.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Pros-<\/strong>It is the simplest way to set canonicals even on large sites.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Cons-<\/strong> It isn&#8217;t a guarantee. Google may still consider the duplicate URLs even if you specify the canonicals,\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">4. Using 301 redirects to set Canonicals<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Another way to set canonicals is to use 301 redirects. By placing <a href=\"https:\/\/hostkicker.com\/blog\/the-ultimate-guide-to-301-redirects-in-seo\/\">301 redirects<\/a>, you can divert traffic from your duplicate URL to the canonical URL.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Let&#8217;s say your home page is accessible with three different URLs, which are-<\/span><\/p>\n<ul>\n<li><em>xyz.com<\/em><\/li>\n<li><em>xyz.com\/index.php<\/em><\/li>\n<li><em>xyz.com\/home\/<\/em><\/li>\n<\/ul>\n<p><span data-preserver-spaces=\"true\">You want to make &#8220;xyz.com&#8221; your canonical URL, so you can redirect the other URLs &#8220;xyz.com\/index.php&#8221; and &#8220;xyz.com\/home\/&#8221; to it.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Also, if your site contains HTTPS and HTTP versions of the same content or the www and non-www version of the same content, you can choose one as canonical and redirect the other to it.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\"><strong>Note:<\/strong> Google suggests using 301 redirects only when you are deprecating a duplicate page or URL.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">5. Internal Links<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Your site&#8217;s internal linking structure works as a canonicalization signal. The way you provide internal links throughout your website signals to Google which pages on your website are most important. It helps search engines to understand your preferred canonical pages.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">John Mueller, in this\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/www.youtube.com\/watch?v=8j_hxBw5B4E\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">video<\/span><\/a><span data-preserver-spaces=\"true\">, discussed canonical URLs and explained how Google chooses canonical URLs.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You must place internal links within your website wisely so that Google can determine your canonical URL easily.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Common mistakes with canonicalization\u00a0<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Setting up and managing canonicals might get tricky sometimes. It is a challenging subject with many misconceptions and misdoings. Here, we have discussed a few common mistakes that individuals make while canonicalizing URLs so that you can avoid them in the future.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Canonicalized URL is blocked via robots.txt<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Sometimes a canonicalized URL is blocked using<a href=\"https:\/\/hostkicker.com\/blog\/robots-txt-file-in-seo\/\"> robots.txt<\/a> unintentionally, which stops bots from crawling it, and they can&#8217;t discover the canonical tags on it.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Canonicalized URLs are set to &#8216;noindex.&#8217;<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Noindex is not a canonical signal. If you want to canonicalize a URL, noindexing the other will not signal your canonical preferences. It just noindex the particular pages. Also, noindex and rel=canonical must not be used together. They are of conflicting nature.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">However, canonical tags are preferred by Google over the noindex tag if you&#8217;ve used them together.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can use a 301 redirect when noindexing and canonicalizing a URL, or else you can use rel=canonical.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Canonicalized URLs are Set to a 4XX HTTP code<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">The use of a 4XX HTTP code has the same effect as the noindex tag.\u00a0\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When you set a 4XX HTTP status code for a canonicalized URL, Google won&#8217;t be able to discover the canonical tag in front of a 4XX code and cannot pass the &#8220;link juice&#8221; to the canonical version.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Canonicalizing all paginated pages\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">If your content spans several pages, canonicalizing each paginated page to the first one is an improper use of the rel=canonicals. This is because these are not duplicates. These are the series of pages of a single subject. For such paginated pages, you can use self-referencing canonicals instead of using rel=canonicals.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For example- The following are the links to the content that is stretched over different pages.<\/span><\/p>\n<p><em>xyz.com\/article?story=nutrition-news&amp;page=1 <\/em><\/p>\n<p><em>xyz.com\/article?story=nutrition-news&amp;page=2 <\/em><\/p>\n<p><em>xyz.com\/article?story=nutrition-news&amp;page=3<\/em><\/p>\n<p><span data-preserver-spaces=\"true\">In this case, using rel=canonical may confuse Google and might affect indexing. Instead, you can use rel= &#8220;prev&#8221; or rel= &#8220;next.&#8221;<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Using hreflang without canonical tags<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">When using a Hreflang tag, you must use a canonical tag with it to specify the canonical version in the same language. <a href=\"https:\/\/hostkicker.com\/blog\/what-are-hreflang-tags-in-seo\/\">The Hreflang tag<\/a> does not specify your canonical URLs and only specifies the language of the page to target a particular geographical location.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">As per Google, you must use a canonical tag with the hreflang tag to specify the canonical URL in the same language. If no canonical page is present in the same language, you can canonicalize the URL in the other language.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Using several rel=canonical tags<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Using multiple canonical tags to specify the canonical version is not a good practice. Google might confuse and ignore all the tags completely if encountered with multiple canonical tags.\u00a0\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This might happen when tags are used in themes, plugins, and CMS individually. For this reason, many plugins include an overwrite feature to ensure that they are the exclusive source of canonical tags and avoid this situation.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">A similar situation might arise if canonicals are added with HTML as well as JavaScript. You must avoid adding canonicals in JavaScript. Google might consider canonicals in java scripts when you haven&#8217;t specific canonicals in the HTML. However, if you have already specified canonicals in HTML and also canonicalized the preferred version in Java script too, this will send mixed signals to Google, and both might be ignored completely.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Using Rel=canonical tag in the &lt;body&gt;<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Using rel=canonical in the &#8220;body&#8221; of the document is a bad practice. These are to be placed only in the &lt;head&gt; section of a document. This is why Google will completely ignore the canonical tag in the &lt;body&gt; of a document.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In addition to this, you must use the rel=canonicals at the earliest to avoid HTML parsing issues.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">How to fix canonicalization issues?<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Canonicalization is a tricky subject. Chances are anyone can easily make mistakes while canonicalizing the URLs. This is why you must audit your site on a regular basis to keep track of canonicalization issues on your site so that you can fix them in a timely manner.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To audit your site, you can use the Site Audit tool from Ahrefs. This will help you discover the canonical issues along with other SEO-related issues on your site.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, let&#8217;s discover what canonical issues may occur on your site and how you can fix them.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">1. Canonicals pointing to 4XX<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Your site may be at fault when your pages are pointing to a URL that is 4XX.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The 4XX pages are the pages that do not exist or are restricted, which is why search engines don&#8217;t index them. If your pages are canonicalized to 4XX pages, search engines will bypass the canonical tags and may index the non-canonical version- the one you don&#8217;t want to get canonicalized.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p>Using the Site audit tool, you can discover the 4XX pages of your site and replace the 4XX canonical link with the existing pages on your site that you want to get indexed.<\/p>\n<h3><strong><span data-preserver-spaces=\"true\">2. Canonicals pointing to 5XX<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">This error may arise when the site&#8217;s pages are canonicalized to the 5XX URL.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The 5XX codes signal the server error, and canonical pages became inaccessible. Usually, Google does not index inaccessible pages, and as a result, it bypasses the canonical tags.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">When encountering such issues, replace the invalid URL with the valid one. If your specified canonical URL is valid and correct, you must check the server misconfigurations.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Note: This might be a temporary error. Bots may have crawled your site when it was under maintenance or your servers were overloaded.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">\u00a03. <\/span><strong><span data-preserver-spaces=\"true\">Canonicals pointing to redirects<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Some of your site&#8217;s pages may be canonicalized to the URL that is redirected to the other URL. This might create confusion for search engines. This is because the canonicals must point to the authoritative page. When canonicals point to a redirecting URL, Goole may misinterpret it or ignore the canonicals completely.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this issue, you can replace the redirecting URL with the URL of the authoritative version of the page directly.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">4.No canonicals for duplicate content<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">When your site contains duplicate or near duplicate content without specifying canonicals, it might create a duplicate content issue, and Google might pick the canonical version itself that might be the one you don&#8217;t want to get indexed. Also, your important page may be abandoned by Google.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix the duplicate content issue on your site, audit your site and look for duplicate content. Choose the canonical version from each group that you want to get indexed and specify it as canonical using the rel=canonical tag on all duplicate versions. Also, for the canonical version, use the self-referencing canonical tag. This will make sure Google index the specified canonical version of your content.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">5. Hreflang tags to non-canonical version<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Specifying the non-canonical versions of your content in hreflang annotations is a wrong practice. The links in hreflang tags must always point to the canonical version rather than the non-canonical versions. This is because pointing to a non-canonical version may mislead search engines and may create unexpected results.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this, you can replace the links of non-canonical versions with the canonical ones in the hreflang annotations.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">6. Canonical URL without internal links<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Your site might contain canonical URLs that do not contain any internal links. This makes the canonical URL inaccessible to users as well as search engines. This is because it became orphaned content, and search engines might crawl it less often. Users might be directed to the non-canonical version of your content rather than the canonical version.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Determine your canonical pages and make sure to add internal links to them to make them accessible to users and search engines.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">7. Adding non-canonical URLs in the sitemap<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Adding non-canonical URLs in a sitemap is a bad practice. A sitemap is a path for a search engine to tell the important pages of your site. If you add non-canonical URLs, Google will index those pages that are less important for your site. According to Google, you must only include your canonical URLs to the sitemap that you want to get indexed.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this issue, you need to remove the non-canonicals from the sitemap and only add the canonical URLs to it.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">8. Canonicalizing a non-canonical page<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">The error may arise when you specify a canonical URL to a non-canonicalized page that is canonicalized to any other URL. For instance, you canonicalized page A to page B, which in turn canonicalized to page C. This leads to a canonical chain that may confuse Google, and it may misinterpret it or ignore the canonical tag completely.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p>To fix it, you can\u00a0<span data-preserver-spaces=\"true\">Remove the non-canonical link in between and place a canonical tag to direct the canonical page.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To resolve the above example, page B is the non-canonicalized page. You can replace it and use a canonical tag on page A to canonicalize page C directly.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">9. The conflict between Open Graph URLs and canonical URL<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">The issue may arise when there&#8217;s a conflict between an open graph URL and the canonicalized URL. The open graph tag is the code that determines the appearance of URLs when posted on social media platforms.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When both the open graph URL and canonical URL do not match, then its non-canonical version will be posted on social media.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this issue, you&#8217;ve to make sure that both URLs are the same URLs. Replace the open graph tag from the non-canonical version with the canonical URL.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">10. Canonicalizing the HTTP version from the HTTPS.<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Canonicalizing the non-HTTPS version (HTTP) as canonicalized URL version from the HTTPS is a bad practice. According to Google, you must canonicalize the secure version (HTTPS) as canonicalized URL from the HTTP version if you have HTTPS as well as the HTTP version of your content.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this issue, you can redirect the HTTP version of the URL to the HTTPS version. Else, you can use a rel= &#8220;canonical&#8221; from the HTTP version to the HTTPS version.<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">11. Canonical from the HTTP version to HTTPS.<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">There&#8217;s no logic in having an HTTP version as well as an HTTPS version of a page. And it&#8217;s more illogical to canonicalize the HTTPS version from the HTTP version. Although it&#8217;s not a big concern, fixing it when possible can be a good practice.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this, you can use a 301 redirect from HTTP to the HTTPS version of your content. You must also replace the internal links on the HTTP version with the HTTPS version directly.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">12. Non-canonical pages rank higher on SERPs<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">Your site&#8217;s non-canonical pages get a higher ranking in search results and receive more traffic than your canonicalized version. This may happen when you have set your canonicals incorrectly or search engines have bypassed your canonical tags and chosen the canonicals on their own.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">How to fix it?<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">To resolve this issue, you can check whether your rel=canonical tags are correctly placed or not. Else, you can use the Google Search Console&#8217;s URL Inspection tool to analyze which URLs Google has considered as canonicals. Examine wisely and fix the issue as soon as possible.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">To Conclude-<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">Canonical tags may appear difficult and complex at first, but once understood well, they are not that challenging.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It&#8217;s worth noting that canonical tags are signals, not directives. This means that they can signal search engines about your preferences, but it is up to them how they respond to them. Based on its interpretation, search engines may select a different canonical version than the one you selected.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can easily determine this using Google&#8217;s\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/support.google.com\/webmasters\/answer\/9012289?hl=en\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">URL Inspection tool<\/span><\/a><span data-preserver-spaces=\"true\">. This will help you determine what canonicals you declared and what Google has selected as canonicals.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You can also look at Google&#8217;s paper on Canonical tags\u00a0<\/span><a class=\"editor-rtfLink\" href=\"https:\/\/support.google.com\/webmasters\/answer\/139066?hl=en\" target=\"_blank\" rel=\"noopener\"><span data-preserver-spaces=\"true\">here<\/span><\/a><span data-preserver-spaces=\"true\">\u00a0to clear up any confusion concerning canonical tags.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Hope this written piece has helped you comprehend canonical tags in SEO, why they are important, what mistakes you might make when canonicalizing URLs, and how to fix canonical issues on your site.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you here to learn about canonical tags in SEO? Let&#8217;s get started. Canonical tags are essential to technical SEO that can hamper or boost your site&#8217;s performance and internet presence.\u00a0In order to keep your site&#8217;s SEO healthy, you must understand what canonical tags are and how you can use them. Wondering why? Why use [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":2396,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-2395","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Introduction to Canonical Tags in SEO - Hostkicker<\/title>\n<meta name=\"description\" content=\"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to Canonical Tags in SEO\" \/>\n<meta property=\"og:description\" content=\"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-11T12:21:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-19T09:47:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"21 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"Introduction to Canonical Tags in SEO\",\"datePublished\":\"2022-11-11T12:21:08+00:00\",\"dateModified\":\"2022-11-19T09:47:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/\"},\"wordCount\":4821,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/canonical-tags-in-seo.jpg\",\"articleSection\":[\"SEO Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/\",\"name\":\"Introduction to Canonical Tags in SEO - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/canonical-tags-in-seo.jpg\",\"datePublished\":\"2022-11-11T12:21:08+00:00\",\"dateModified\":\"2022-11-19T09:47:24+00:00\",\"description\":\"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/canonical-tags-in-seo.jpg\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/canonical-tags-in-seo.jpg\",\"width\":693,\"height\":511,\"caption\":\"Canonical tags in SEO is an HTML code that informs search engines which URL on your site is the canonical version among the duplicate or similar content on your site.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/introduction-to-canonical-tags-in-seo\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to Canonical Tags in SEO\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introduction to Canonical Tags in SEO - Hostkicker","description":"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to Canonical Tags in SEO","og_description":"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.","og_url":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/","og_site_name":"Hostkicker","article_published_time":"2022-11-11T12:21:08+00:00","article_modified_time":"2022-11-19T09:47:24+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","type":"image\/jpeg"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"21 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"Introduction to Canonical Tags in SEO","datePublished":"2022-11-11T12:21:08+00:00","dateModified":"2022-11-19T09:47:24+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/"},"wordCount":4821,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","articleSection":["SEO Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/","url":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/","name":"Introduction to Canonical Tags in SEO - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","datePublished":"2022-11-11T12:21:08+00:00","dateModified":"2022-11-19T09:47:24+00:00","description":"Canonical tags in SEO is an HTML code that informs search engines which URL is your canonical version among the duplicate or similar content on your site.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","width":693,"height":511,"caption":"Canonical tags in SEO is an HTML code that informs search engines which URL on your site is the canonical version among the duplicate or similar content on your site."},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/introduction-to-canonical-tags-in-seo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introduction to Canonical Tags in SEO"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/11\/canonical-tags-in-seo.jpg","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=2395"}],"version-history":[{"count":5,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2395\/revisions"}],"predecessor-version":[{"id":2414,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/2395\/revisions\/2414"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/2396"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=2395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=2395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=2395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}