{"id":25344,"date":"2025-03-14T00:00:00","date_gmt":"2025-03-14T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-refresher-page-level-granularity\/"},"modified":"2025-03-14T00:00:00","modified_gmt":"2025-03-14T00:00:00","slug":"robots-refresher-page-level-granularity","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-refresher-page-level-granularity\/","title":{"rendered":"Robots Refresher: page-level granularity"},"content":{"rendered":"<p class=\"gargardate\">Friday, March 14, 2025<\/p>\n<p>\n  With the <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-txt-intro\/\">robots.txt file<\/a>, site owners<br \/>\n  have a simple way to control which parts of a website are<br \/>\n  accessible by crawlers.<br \/>\n  To help site owners further express how search engines and web<br \/>\n  crawlers can use their pages, the community involved in developing web standards<br \/>\n  <a class=\"external-link\" href=\"https:\/\/www.w3.org\/Search\/9605-Indexing-Workshop\/ReportOutcomes\/Spidering.txt\">came<br \/>\n    up with robots <code>meta<\/code> tags in 1996<\/a>,<br \/>\n  just a few months after <code>meta<\/code> tags were proposed for HTML (and anecdotally,<br \/>\n  also before Google<br \/>\n  was founded). Later,<br \/>\n  <a class=\"external-link\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Reference\/Headers\/X-Robots-Tag\"><code>X-Robots-Tag<\/code><br \/>\n    HTTP response headers<\/a> were added.<br \/>\n  These instructions are sent together with a URL, so crawlers can only take them into account<br \/>\n  if they&#8217;re not disallowed from crawling the URL through the robots.txt file. Together, they<br \/>\n  form the Robots Exclusion Protocol (REP).\n<\/p>\n<h2 id=\"a-look-at-robots-meta-tags\" tabindex=\"-1\">A look at robots <code>meta<\/code> tags<\/h2>\n<p>\n  <a class=\"external-link\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTML\/Element\/meta\">Meta<br \/>\n    tags (or elements)<\/a> are a way to include machine-readable metadata.<br \/>\n  Robots <code>meta<\/code> tags are one &#8220;kind&#8221; of <code>meta<\/code> tag, and apply to crawlers, including search engine<br \/>\n  crawlers. They signal: Is the content blocked from indexing? Should links on the page not be followed for<br \/>\n  crawling? It&#8217;s easy to give this information on the page directly with robots <code>meta<\/code> tags.\n<\/p>\n<h2 id=\"a-robots-exclusion-protocol-for-any-url\" tabindex=\"-1\">A Robots Exclusion Protocol for any URL<\/h2>\n<p>\n  To give the same level of control to non-HTML content, the &#8220;<code>X-Robots-Tag<\/code>&#8221; HTTP response header<br \/>\n  was created. These<br \/>\n  <a class=\"external-link\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Headers\">HTTP headers<\/a><br \/>\n  are considered a part of the REP as well.<br \/>\n  The header supports the same values as the robots <code>meta<\/code> tag,<br \/>\n  and can be added to any piece of content served online.<br \/>\n  Besides HTML, Google supports it for content like PDFs, document files, and even images.<br \/>\n  Most of these file formats don&#8217;t have a mechanism equivalent to <code>meta<\/code> tags, so a HTTP<br \/>\n  response header is helpful.\n<\/p>\n<h2 id=\"getting-started-with-robots-meta-tags-and-headers\" tabindex=\"-1\">Getting started with robots <code>meta<\/code> tags and headers<\/h2>\n<p>\n  The syntax is simple and extensible. The rules are generally either implemented by the web<br \/>\n  developer or through a Content Management System (CMS), where site-owners may have checkboxes<br \/>\n  or drop-down menus to select their preferences.<br \/>\n  These controls can address a specific crawler, such as Googlebot or, by omitting a specific name,<br \/>\n  address all crawlers that support these values.\n<\/p>\n<p>\n  For example, the following rules tell all crawlers not to use the associated page for indexing:\n<\/p>\n<ul>\n<li>In form of an HTML <code>meta<\/code> tag, on a web page:\n<div><\/div>\n<p>\n      Looking at existing <code>meta<\/code> tags or response headers is a bit more involved,<br \/>\n      and requires direct examination of page content or headers.<br \/>\n      You can view HTML<br \/>\n      <code>meta<\/code> tags on any page either looking at the page source in your browser, or using Chrome&#8217;s<br \/>\n      developer tools to<br \/>\n      <a class=\"external-link\" href=\"https:\/\/developer.chrome.com\/docs\/devtools\/elements\">inspect<br \/>\n        the page<\/a>. \n    <\/p>\n<\/li>\n<li>In form of an <a class=\"external-link\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Glossary\/Response_header\">HTTP<br \/>\n    response header<\/a>:<\/p>\n<div><\/div>\n<p>\n      You can check the HTTP response headers for individual URLs with Chrome&#8217;s developer tools, in the<br \/>\n      <a class=\"external-link\" href=\"https:\/\/developer.chrome.com\/docs\/devtools\/network\/overview\">network panel<\/a>.\n    <\/p>\n<\/li>\n<\/ul>\n<p>\n  Other examples of what you can do:\n<\/p>\n<table class=\"fixed\">\n<colgroup>\n<col width=\"50%\">\n<col>\n  <\/colgroup>\n<tr>\n<td>\n<p>Don&#8217;t show a snippet for this page or document.<\/p>\n<\/td>\n<td>\n      In HTTP header:<\/p>\n<div><\/div>\n<p>      or in HTML:<\/p>\n<div><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Don&#8217;t index this page in <code>ExampleBot-News<\/code>, without specifying a preference for others.<\/p>\n<p>These controls explicitly specify one crawler.<\/p>\n<\/td>\n<td>\n<div><\/div>\n<p>      oder<\/p>\n<div><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><code>ExampleBot<\/code> should not show a snippet, and additionally, all crawlers should not follow the<br \/>\n       links on this page.<\/p>\n<p>Note that the most restrictive, valid directives apply, so for <code>ExampleBot<\/code> the directive<br \/>\n       would be combined as &#8220;<code>nosnippet, nofollow<\/code>&#8220;.<\/p>\n<\/td>\n<td>\n<div><\/div>\n<p>      oder<\/p>\n<div><\/div>\n<\/td>\n<\/tr>\n<\/table>\n<h2 id=\"choosing-a-rep-mechanism\" tabindex=\"-1\">Choosing a REP mechanism<\/h2>\n<p>\n  How do you choose which one to use? Fundamentally robots.txt and page-level controls are similar,<br \/>\n  but not completely interchangeable.<br \/>\n  Sometimes there&#8217;s a specific action that&#8217;s only possible<br \/>\n  with one of the mechanisms, for example,<br \/>\n  if it&#8217;s desired to stop the act of crawling (such as<br \/>\n  for endless search results pages, possible with robots.txt),<br \/>\n  if you need a control for an FTP server (possible with robots.txt),<br \/>\n  or if it&#8217;s desired not to have a snippet shown for a page (which is only possible with page-level<br \/>\n  elements).<br \/>\n  If you don&#8217;t need to differentiate between blocking crawling and blocking indexing,<br \/>\n  one approach is to use robots.txt for broader controls (to block large parts of a website),<br \/>\n  and page-level controls for blocking individual pages.\n<\/p>\n<h2 id=\"robots-exclusion-protocol\u2014a-powerful,-living-standard\" tabindex=\"-1\">Robots Exclusion Protocol\u2014a powerful, living standard<\/h2>\n<p>\n  All of these controls are extensible by nature. Over the years, site-owners, crawler operators,<br \/>\n  and search engines have worked together to evolve them.<br \/>\n  Historically it started with a handful<br \/>\n  of values, including <code>noindex<\/code> and <code>nofollow<\/code>, then later on more values like<br \/>\n  <code>nosnippet<\/code>, <code>noarchive<\/code>,<br \/>\n  and <code>max-snippet:<\/code> were adopted.<br \/>\n  And sometimes values are deprecated, as was the case with <code>noodp<\/code>,<br \/>\n  which used snippets from<br \/>\n  <a class=\"external-link\" href=\"https:\/\/en.wikipedia.org\/wiki\/DMOZ\">DMOZ \/ Open Directory Project<\/a><br \/>\n  before the directory was closed.<br \/>\n  There&#8217;s a<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-meta-tag\/#directives\">plethora of values<\/a> supported<br \/>\n  by Google for site owners, and a similar amount from other large crawler operators.\n<\/p>\n<p>\n  Under the REP umbrella, site owners have control over what is crawled and how the crawled data<br \/>\n  is used in search engines.<br \/>\n  They can do this on a broad level for bigger parts of websites,<br \/>\n  or at a very granular level, for individual pages, even for images within pages.<br \/>\n  These controls are well-known, available in all common content management systems,<br \/>\n  broadly supported by commercial operators, and used on<br \/>\n  billions of hosts on the internet today.\n<\/p>\n<p class=\"byline-author\">Posted by <a href=\"https:\/\/developers.google.com\/search\/blog\/authors\/john-mueller\">John Mueller<\/a>,<br \/>\n  Search relations team<\/p>\n<hr class=\"full-width\">\n<h2 id=\"check-out-the-rest-of-the-robots-refresher-series:\" tabindex=\"-1\">Check out the rest of the Robots Refresher series:<\/h2>\n","protected":false},"excerpt":{"rendered":"<p>Friday, March 14, 2025 With the robots.txt file, site owners have a simple way to control which parts of a website are accessible by crawlers. To help site owners further express how search engines and web crawlers can use their pages, the community involved in developing web standards came up with robots meta tags in [&hellip;]<\/p>\n","protected":false},"menu_order":79839,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-25344","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25344\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27464"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25344"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25344"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}