{"id":24854,"date":"2014-10-16T00:00:00","date_gmt":"2014-10-16T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/best-practices-for-xml-sitemaps-and-rss-atom-feeds\/"},"modified":"2014-10-16T00:00:00","modified_gmt":"2014-10-16T00:00:00","slug":"best-practices-for-xml-sitemaps-and-rss-atom-feeds","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/best-practices-for-xml-sitemaps-and-rss-atom-feeds\/","title":{"rendered":"Best practices for XML sitemaps and RSS\/Atom feeds"},"content":{"rendered":"<p class=\"gargardate\">Thursday, October 16, 2014<\/p>\n<p>\n  <a href=\"https:\/\/support.google.com\/webmasters\/answer\/183669\" class=\"external-link\">Submitting sitemaps<\/a><br \/>\n  can be an important part of optimizing websites. Sitemaps enable search engines to discover all<br \/>\n  pages on a site and to download them quickly when they change. This blog post explains which<br \/>\n  fields in sitemaps are important, when to use XML sitemaps and RSS\/Atom feeds, and how to<br \/>\n  optimize them for Google.\n<\/p>\n<h2 id=\"sitemaps-and-feeds\" tabindex=\"-1\">Sitemaps and feeds<\/h2>\n<p>\n  Sitemaps can be in <a href=\"https:\/\/www.sitemaps.org\" class=\"external-link\">XML sitemap<\/a>,<br \/>\n  <a href=\"https:\/\/en.wikipedia.org\/wiki\/RSS\" class=\"external-link\">RSS<\/a>, or<br \/>\n  <a href=\"https:\/\/en.wikipedia.org\/wiki\/Atom_(standard)\" class=\"external-link\">Atom<\/a> formats. The<br \/>\n  important difference between these formats is that XML sitemaps describe the whole set of URLs<br \/>\n  within a site, while RSS\/Atom feeds describe recent changes. This has important implications:\n<\/p>\n<ul>\n<li>\n     XML sitemaps are usually large; RSS\/Atom feeds are small, containing only the most recent<br \/>\n     updates to your site.\n   <\/li>\n<li>\n     XML sitemaps are downloaded less frequently than RSS\/Atom feeds.\n   <\/li>\n<\/ul>\n<p>\n  For optimal crawling, we recommend using both XML sitemaps and RSS\/Atom feeds. XML sitemaps will<br \/>\n  give Google information about all of the pages on your site. RSS\/Atom feeds will provide all<br \/>\n  updates on your site, helping Google to keep your content fresher in its index. Note that<br \/>\n  submitting sitemaps or feeds does not guarantee the indexing of those URLs.\n<\/p>\n<p>Example of an XML sitemap:<\/p>\n<div><\/div>\n<p>Example of an RSS feed:<\/p>\n<div><\/div>\n<p>Example of an Atom feed:<\/p>\n<div><\/div>\n<p>\n  <span>&#8220;other tags&#8221;<\/span> refer to both optional and required tags by their<br \/>\n  respective standards. We recommend that you specify the required tags for Atom\/RSS as they will<br \/>\n  help you to appear on other properties that might use these feeds, in addition to Google Search.\n<\/p>\n<h2 id=\"best-practices\" tabindex=\"-1\">Best practices<\/h2>\n<h3 id=\"important-fields\" tabindex=\"-1\">Important fields<\/h3>\n<p>\n  XML sitemaps and RSS\/Atom feeds, in their core, are lists of URLs with metadata attached to<br \/>\n  them. The two most important pieces of information for Google are the URL itself and its last<br \/>\n  modification time:\n<\/p>\n<h4 id=\"urls\" tabindex=\"-1\">URLs<\/h4>\n<p>\n  URLs in XML sitemaps and RSS\/Atom feeds should adhere to the following guidelines:\n<\/p>\n<ul>\n<li>\n    Only include URLs that can be fetched by<br \/>\n    <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/googlebot\/\">Googlebot<\/a>. A common mistake is<br \/>\n    including URLs disallowed by robots.txt&mdash;which cannot be fetched by Googlebot, or including<br \/>\n    URLs of pages that don&#8217;t exist.\n  <\/li>\n<li>\n    Only include <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/specify-canonical\/\">canonical<\/a><br \/>\n    URLs. A common mistake is to include URLs of duplicate pages. This increases the load on your<br \/>\n    server without improving indexing.\n  <\/li>\n<\/ul>\n<h4 id=\"last-modification-time\" tabindex=\"-1\">Last modification time<\/h4>\n<p>\n  Specify a last modification time for each URL in an XML sitemap and RSS\/Atom feed. The last<br \/>\n  modification time should be the last time the content of the page changed meaningfully. If a<br \/>\n  change is meant to be visible in the search results, then the last modification time should be<br \/>\n  the time of this change.\n<\/p>\n<ul>\n<li>XML sitemap uses <code> &lt;lastmod><\/code><\/li>\n<li>RSS uses <code>&lt;pubDate><\/code> <\/li>\n<li>Atom uses <code>&lt;updated><\/code><\/li>\n<\/ul>\n<p>Be sure to set or update last modification time correctly:<\/p>\n<ul>\n<li>Specify the time in the correct format:<br \/>\n    <a href=\"https:\/\/www.w3.org\/TR\/NOTE-datetime\" class=\"external-link\">W3C Datetime<\/a> for XML sitemaps,<br \/>\n    <a href=\"https:\/\/www.ietf.org\/rfc\/rfc3339.txt\" class=\"external-link\">RFC3339<\/a> for Atom and<br \/>\n    <a href=\"https:\/\/www.w3.org\/Protocols\/rfc822\/\" class=\"external-link\">RFC822<\/a> for RSS.\n  <\/li>\n<li>\n    Only update modification time when the content changed meaningfully.\n  <\/li>\n<li>\n    Don&#8217;t set the last modification time to the current time whenever the sitemap or feed is<br \/>\n    served.\n  <\/li>\n<\/ul>\n<h3 id=\"xml-sitemaps\" tabindex=\"-1\">XML sitemaps<\/h3>\n<p>\n  XML sitemaps should contain URLs of all pages on your site. They are often large and update<br \/>\n  infrequently. Follow these guidelines:\n<\/p>\n<ul>\n<li>\n    For a single XML sitemap: update it at least once a day (if your site changes regularly) and<br \/>\n    <a href=\"https:\/\/www.sitemaps.org\/protocol.html#submit_ping\" class=\"external-link\">ping<\/a> Google<br \/>\n    after you update it.\n  <\/li>\n<li>\n<aside class=\"note\">\n      <b>Note:<\/b> We increased the maximum accepted filesize to<br \/>\n      <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/build-submit-sitemap\/#sitemapformat\">50MB uncompressed<\/a>.<br \/>\n    <\/aside>\n<p>    For a set of XML sitemaps: maximize the number of URLs in each XML sitemap. The limit is<br \/>\n    50,000 URLs or a maximum size of 10MB uncompressed, whichever is reached first.<br \/>\n    <a href=\"https:\/\/www.sitemaps.org\/protocol.html#submit_ping\" class=\"external-link\">Ping<\/a> Google<br \/>\n    for each updated XML sitemap (or once for the sitemap index, if that&#8217;s used) every time it is<br \/>\n    updated. A common mistake is to put only a handful of URLs into each XML sitemap file, which<br \/>\n    usually makes it harder for Google to download all of these XML sitemaps in a reasonable time.\n  <\/li>\n<\/ul>\n<h3 id=\"rssatom\" tabindex=\"-1\">RSS\/Atom<\/h3>\n<p>\n  RSS\/Atom feeds should convey recent updates of your site. They are usually small and updated<br \/>\n  frequently. For these feeds, we recommend:\n<\/p>\n<ul>\n<li>\n    When a new page is added or an existing page meaningfully changed, add the URL and the<br \/>\n    modification time to the feed.\n  <\/li>\n<li>\n    In order for Google to not miss updates, the RSS\/Atom feed should have all updates in it since<br \/>\n    at least the last time Google downloaded it. The best way to achieve this is by using<br \/>\n    <a href=\"https:\/\/www.w3.org\/TR\/websub\/\" class=\"external-link\">WebSub<\/a>.<br \/>\n    The hub will propagate the content of your feed to all interested parties (RSS readers, search<br \/>\n    engines, etc.) in the fastest and most efficient way possible.\n  <\/li>\n<\/ul>\n<p>\n  Generating both XML sitemaps and Atom\/RSS feeds is a great way to optimize crawling of a site<br \/>\n  for Google and other search engines. The key information in these files is the canonical URL and<br \/>\n  the time of the last modification of pages within the website. Setting these properly, and<br \/>\n  notifying Google and other search engines through sitemaps pings and WebSub, will allow your<br \/>\n  website to be crawled optimally, and represented accordingly in search results.\n<\/p>\n<p>\n  If you have any questions, you can post them here, or to join other webmasters in the<br \/>\n  <a href=\"https:\/\/support.google.com\/webmasters\/threads?hl=en&#038;thread_filter=(category:search_console)\" class=\"external-link\">webmaster help forum section on sitemaps<\/a>.\n<\/p>\n<p class=\"byline-author\">Posted by Alkis Evlogimenos, Google Feeds Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thursday, October 16, 2014 Submitting sitemaps can be an important part of optimizing websites. Sitemaps enable search engines to discover all pages on a site and to download them quickly when they change. This blog post explains which fields in sitemaps are important, when to use XML sitemaps and RSS\/Atom feeds, and how to optimize [&hellip;]<\/p>\n","protected":false},"menu_order":83641,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24854","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\/24854","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\/24854\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27041"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24854"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24854"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}