{"id":21441,"date":"2020-01-28T16:41:30","date_gmt":"2020-01-28T16:41:30","guid":{"rendered":"https:\/\/www.arimetrics.com\/glosario-digital\/rel-canonical"},"modified":"2026-09-17T12:43:10","modified_gmt":"2026-09-17T12:43:10","slug":"rel-canonical","status":"publish","type":"encyclopedia","link":"https:\/\/www.arimetrics.com\/en\/digital-glossary\/rel-canonical","title":{"rendered":"Rel Canonical"},"content":{"rendered":"<p><img decoding=\"async\" class=\"boxpad wp-image-14837 size-full alignright\" style=\"margin-top: 0;\" src=\"https:\/\/www.arimetrics.com\/wp-content\/uploads\/2020\/01\/rel_canonical.png\" alt=\"rel canonical\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.arimetrics.com\/wp-content\/uploads\/2020\/01\/rel_canonical.png 300w, https:\/\/www.arimetrics.com\/wp-content\/uploads\/2020\/01\/rel_canonical-150x150.png 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/> <strong>Definition:<\/strong><\/p>\n<p>The <strong>rel canonical<\/strong> attribute is used in a <code>link<\/code> element to indicate the preferred <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/url\">URL<\/a> among several duplicate or closely similar pages.<\/p>\n<p>The reference is usually placed in the document&#8217;s <code>head<\/code> and points to a canonical URL. Search engines interpret it as <strong>a signal rather than a binding directive<\/strong>, so they may select another version when they find conflicting evidence.<\/p>\n\n<h2>What rel canonical is used for<\/h2>\n<p>Canonicalisation helps <strong>consolidate signals associated with several URLs that display the same content or equivalent versions<\/strong>, such as pages with parameters, tracking variants or alternative paths. It also guides the search engine towards the URL that should appear in results and avoids unnecessarily dividing links and other signals between duplicates.<\/p>\n<p>A canonical tag <strong>does not remove alternative URLs or prevent them from being crawled<\/strong>. Nor does it guarantee the <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/indexability\">indexability<\/a> of the chosen URL. When an address has changed permanently and does not need to remain available, a redirect may be more appropriate. If the page needs to exist but should not appear in results, canonical and <code>noindex<\/code> perform different functions.<\/p>\n<p>Search engines can select a canonical even when the website does not declare one. The tag expresses a preference and helps reduce problems caused by <a href=\"https:\/\/www.arimetrics.com\/en\/digital-glossary\/duplicate-content\">duplicate content<\/a>, but <strong>it should be consistent with internal links, the sitemap, redirects and other technical signals<\/strong>.<\/p>\n<h2>Canonical tag syntax<\/h2>\n<p>The usual form inside the <code>head<\/code> of an HTML page is:<\/p>\n<p><code style=\"overflow-wrap: anywhere; word-break: break-word;\">&lt;link rel=&quot;canonical&quot; href=&quot;https:\/\/www.example.com\/page\/&quot;&gt;<\/code><\/p>\n<p>The <code>canonical<\/code> value identifies the relationship and <code>href<\/code> contains the preferred URL. <strong>An absolute URL including the protocol and domain should be used<\/strong>. For non-HTML documents such as certain PDFs, the canonical relationship can also be communicated through an HTTP <code>Link<\/code> header.<\/p>\n<h2>Canonical tag fundamentals<\/h2>\n<p>A consistent implementation should take the following points into account:<\/p>\n<ul>\n<li><strong>Use absolute URLs:<\/strong> Including the full protocol, domain and path reduces ambiguity.<\/li>\n<li><strong>Point to a valid page:<\/strong> The canonical URL should respond correctly and be accessible and indexable.<\/li>\n<li><strong>Include a self-referencing canonical:<\/strong> The preferred page can declare itself canonical to reinforce the selected version.<\/li>\n<li><strong>Declare one consistent canonical:<\/strong> HTML, HTTP headers and plugins should not send different destinations.<\/li>\n<li><strong>Align the signals:<\/strong> Internal links, the sitemap, redirects and language annotations should favour the same URL where appropriate.<\/li>\n<\/ul>\n<p><strong>The exact form of the path, including letter case, trailing slashes and parameters, should match the version actually used by the server<\/strong>. Converting every address to lowercase is not sufficient if doing so changes its meaning or response.<\/p>\n<h2>Errors when implementing a canonical tag<\/h2>\n<p>Common problems arise from <strong>incompatible signals or from selecting a destination that cannot act as the main version<\/strong>:<\/p>\n<ul>\n<li><strong>Pointing to an error or redirecting URL:<\/strong> The canonical should lead directly to the final, stable version.<\/li>\n<li><strong>Selecting a non-indexable or blocked page:<\/strong> A destination with <code>noindex<\/code> or one that is inaccessible to the search engine creates conflicting instructions.<\/li>\n<li><strong>Publishing several canonicals:<\/strong> Duplicate tags or different destinations may cause the search engine to disregard those indications.<\/li>\n<li><strong>Creating canonicalisation chains:<\/strong> Each variant should point directly to the preferred URL rather than pass through intermediate pages.<\/li>\n<li><strong>Grouping non-equivalent content:<\/strong> The tag should not consolidate pages with substantially different intents, languages or content.<\/li>\n<\/ul>\n<p>After implementation, <strong>the rendered HTML and headers should be reviewed, variants crawled<\/strong> and the URL recognised by the search engine as canonical checked. The website&#8217;s declaration and the search engine&#8217;s selection may differ.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Definition: The rel canonical attribute is used in a link element to indicate the preferred URL among several duplicate or closely similar pages. The reference is usually placed in the document&#8217;s head and points to a canonical URL. Search engines interpret it as a signal rather than a binding directive, so they may select another [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"template":"","encyclopedia-tag":[515],"class_list":["post-21441","encyclopedia","type-encyclopedia","status-publish","hentry","encyclopedia-tag-indexing"],"_links":{"self":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia\/21441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia"}],"about":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/types\/encyclopedia"}],"author":[{"embeddable":true,"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/users\/20"}],"wp:attachment":[{"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/media?parent=21441"}],"wp:term":[{"taxonomy":"encyclopedia-tag","embeddable":true,"href":"https:\/\/www.arimetrics.com\/en\/wp-json\/wp\/v2\/encyclopedia-tag?post=21441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}