{"id":28526,"date":"2026-09-08T21:56:08","date_gmt":"2026-09-08T18:56:08","guid":{"rendered":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/canonical-urls\/"},"modified":"2026-09-09T00:47:43","modified_gmt":"2026-09-08T21:47:43","slug":"canonical-urls","status":"publish","type":"ar_ykb","link":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/canonical-urls\/","title":{"rendered":"Canonical URLs"},"content":{"rendered":"<p>When several URLs carry the same or similar content, Yandex groups them and picks one to show \u2014 the canonical page. The <code>rel=\"canonical\"<\/code> attribute lets you state your preference, and Yandex is explicit about its status: <strong>it is a recommendation, and the robot can ignore it<\/strong>.<\/p>\n<h2>How to declare it<\/h2>\n<p>Either in the HTML head:<\/p>\n<pre><code>&lt;link rel=\"canonical\" href=\"http:\/\/www.example.com\/blog\"\/&gt;<\/code><\/pre>\n<p>Or in the HTTP header, which is the method for non-HTML documents such as PDFs:<\/p>\n<pre><code>Link: &lt;http:\/\/www.example.com\/offer\/file.pdf&gt;; rel=\"canonical\"<\/code><\/pre>\n<p>The URL must be an <strong>absolute path on the same domain<\/strong>.<\/p>\n<h2>The five cases where Yandex ignores it<\/h2>\n<ul>\n<li>The non-canonical page answers the query more fully at crawl time and its content differs significantly from the canonical one.<\/li>\n<li>The canonical URL is not reachable \u2014 it redirects, or it is blocked from indexing. A canonical pointing at a page that cannot itself be indexed leaves the non-canonical page to be indexed instead.<\/li>\n<li>The canonical points to another domain or subdomain.<\/li>\n<li>Several canonical URLs are specified.<\/li>\n<li>A <strong>chain<\/strong> is specified: page 1 canonical to page 2, page 2 canonical to page 3.<\/li>\n<\/ul>\n<p>Those five explain nearly every case of &#8220;we set the canonical and nothing happened&#8221;. A page pointing at itself, incidentally, is correct \u2014 the robot treats it as canonical.<\/p>\n<h2>Where canonical is the wrong tool<\/h2>\n<p>For the HTTPS migration case Yandex withdrew support: moving between protocols requires a <strong>301\/302 redirect<\/strong> and the attribute is no longer honoured for it. Canonical <em>can<\/em> still be used to change between <code>www<\/code> and non-<code>www<\/code>, where the robot treats it as a redirect and groups the two versions \u2014 but only if it is applied to <strong>all<\/strong> pages and points page-to-page. Applied inconsistently, or pointing everything at one page, the robot reads a structural difference and the move fails.<\/p>\n<h2>For parameterised URLs<\/h2>\n<p>Canonical is not the best instrument for UTM and similar tags. Use <code>Clean-param<\/code> in <code>robots.txt<\/code>, or <code>Disallow<\/code> where that is not possible.<\/p>\n<h2>Verifying it worked<\/h2>\n<p>A page whose canonical points elsewhere becomes non-canonical and should disappear from results. Confirm in Indexing \u2192 Searchable pages \u2192 Excluded pages. If it is still in search, the robot has judged that it differs materially from its canonical \u2014 which is information, not a malfunction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When several URLs carry the same or similar content, Yandex groups them and picks one to show \u2014 the canonical page. The rel=&#8221;canonical&#8221; attribute lets you state your preference, and Yandex is explicit about its status: it is a recommendation, and the robot can ignore it. How to declare it Either in the HTML head: [&hellip;]<\/p>\n","protected":false},"menu_order":102,"template":"","meta":{"footnotes":""},"ar_ykb_kategori":[764],"ar_ykb_etiket":[],"class_list":["post-28526","ar_ykb","type-ar_ykb","status-publish","has-post-thumbnail","hentry","ar_ykb_kategori-site-indexing"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_ykb"}],"version-history":[{"count":2,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28526\/revisions"}],"predecessor-version":[{"id":29077,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28526\/revisions\/29077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/28908"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=28526"}],"wp:term":[{"taxonomy":"ar_ykb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_kategori?post=28526"},{"taxonomy":"ar_ykb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_etiket?post=28526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}