{"id":28513,"date":"2026-09-08T21:56:08","date_gmt":"2026-09-08T18:56:08","guid":{"rendered":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/the-clean-param-directive\/"},"modified":"2026-09-09T00:47:43","modified_gmt":"2026-09-08T21:47:43","slug":"the-clean-param-directive","status":"publish","type":"ar_ykb","link":"https:\/\/alienroad.com\/yandex-bilgi-bankasi\/the-clean-param-directive\/","title":{"rendered":"The Clean-param directive"},"content":{"rendered":"<p><code>Clean-param<\/code> is a Yandex extension with no equivalent elsewhere: it tells the robot which URL parameters do not change the page content, so that variants converge on one address <strong>and accumulated metrics transfer to it<\/strong>. That transfer is why Yandex recommends it over <code>Disallow<\/code> for parameterised URLs.<\/p>\n<h2>How it works<\/h2>\n<p>Given three addresses differing only by a tracking parameter:<\/p>\n<pre><code>\/some_dir\/get_book.pl?ref=site_1&book_id=123\n\/some_dir\/get_book.pl?ref=site_2&book_id=123\n\/some_dir\/get_book.pl?ref=site_3&book_id=123<\/code><\/pre>\n<p>the directive<\/p>\n<pre><code>User-agent: Yandex\nClean-param: ref \/some_dir\/get_book.pl<\/code><\/pre>\n<p>collapses them to <code>\/some_dir\/get_book.pl?book_id=123<\/code>, which is what appears in search if it exists on the site. Note that <code>book_id<\/code> is preserved \u2014 the parameter that <em>does<\/em> determine content stays.<\/p>\n<h2>Site-wide form<\/h2>\n<p>Omit the path and the rule applies everywhere:<\/p>\n<pre><code>User-agent: Yandex\nClean-param: utm<\/code><\/pre>\n<h2>Why keeping it current matters<\/h2>\n<p>Yandex explains the cost of neglect precisely: a new parameter that does not affect content produces duplicate pages, and because there are many of them <strong>the robot crawls the site more slowly \u2014 so important changes take longer to appear in search<\/strong>. A marketing team introducing a new tracking parameter is therefore making a crawl-budget decision without knowing it.<\/p>\n<h2>Syntax reminders<\/h2>\n<p>Parameters are separated by <code>&amp;<\/code>; the path prefix is separated from them by a <strong>space<\/strong>. Getting this wrong raises the &#8220;invalid Clean-param directive format&#8221; error in the analyser, which is one of the Yandex-specific errors a generic robots.txt checker will not report.<\/p>\n<h2>Where it interacts with the console<\/h2>\n<p>The GET parameter settings page does the same job through the interface. When the two disagree, <strong>the rule that prevents indexing wins<\/strong> \u2014 so a stale <code>Clean-param<\/code> line silently overrides anything set in the interface.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clean-param is a Yandex extension with no equivalent elsewhere: it tells the robot which URL parameters do not change the page content, so that variants converge on one address and accumulated metrics transfer to it. That transfer is why Yandex recommends it over Disallow for parameterised URLs. How it works Given three addresses differing only [&hellip;]<\/p>\n","protected":false},"menu_order":89,"template":"","meta":{"footnotes":""},"ar_ykb_kategori":[765],"ar_ykb_etiket":[],"class_list":["post-28513","ar_ykb","type-ar_ykb","status-publish","has-post-thumbnail","hentry","ar_ykb_kategori-robots-txt"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28513","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\/28513\/revisions"}],"predecessor-version":[{"id":29117,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb\/28513\/revisions\/29117"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/28895"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=28513"}],"wp:term":[{"taxonomy":"ar_ykb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_kategori?post=28513"},{"taxonomy":"ar_ykb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_ykb_etiket?post=28513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}