{"id":23837,"date":"2006-10-09T00:00:00","date_gmt":"2006-10-09T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/multiple-sitemaps-in-the-same-directory\/"},"modified":"2006-10-09T00:00:00","modified_gmt":"2006-10-09T00:00:00","slug":"multiple-sitemaps-in-the-same-directory","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/multiple-sitemaps-in-the-same-directory\/","title":{"rendered":"Multiple Sitemaps in the same directory"},"content":{"rendered":"<p class=\"gargardate\">Monday, October 09, 2006<\/p>\n<p>\n  We&#8217;ve gotten a few questions about whether you can put multiple<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/sitemaps-overview\/\">Sitemaps<\/a> in the same directory.<br \/>\n  Yes, you can!\n<\/p>\n<p>\n  You might want to have multiple Sitemap files in a single directory for a number of reasons. For<br \/>\n  instance, if you have an auction site, you might want to have a daily Sitemap with new auction<br \/>\n  offers and a weekly Sitemap with less time-sensitive URLs. Or you could generate a new Sitemap<br \/>\n  every day with new offers, so that the list of Sitemaps grows over time. Either of these<br \/>\n  solutions works just fine.\n<\/p>\n<p>\n  Or, here&#8217;s another sample scenario: Suppose you&#8217;re a provider that supports multiple web shops,<br \/>\n  and they share a similar URL structure differentiated by a parameter. For example:\n<\/p>\n<div><\/div>\n<p>\n  Since they&#8217;re all in the same directory, it&#8217;s fine by our rules to put the URLs for all of the<br \/>\n  stores into a single Sitemap, under https:\/\/example.com\/ or https:\/\/example.com\/stores\/. However,<br \/>\n  some webmasters may prefer to have separate Sitemaps for each store, such as:\n<\/p>\n<div><\/div>\n<p>\n  As long as all URLs listed in the Sitemap are at the same location as the Sitemap or in a sub<br \/>\n  directory (in the above example https:\/\/example.com\/stores\/ or perhaps<br \/>\n  https:\/\/example.com\/stores\/catalog) it&#8217;s fine for multiple Sitemaps to live in the same directory<br \/>\n  (as many as you want!). The important thing is that Sitemaps not contain URLs from parent<br \/>\n  directories or completely different directories&mdash;if that happens, we can&#8217;t be sure that the<br \/>\n  submitter controls the URL&#8217;s directory, so we can&#8217;t trust the metadata.\n<\/p>\n<p>\n  The above Sitemaps could also be collected into a single<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/manage-your-sitemaps-with-a-sitemap-index-file\/\" >Sitemap index file<\/a> and<br \/>\n  easily be submitted via Google Webmaster Tools. For example, you could create<br \/>\n  https:\/\/example.com\/stores\/sitemap_index.xml as follows:\n<\/p>\n<div><\/div>\n<p>\n  Then simply <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/sitemaps-overview\/\">add<\/a> the index file to your<br \/>\n  account, and you&#8217;ll be able to see any<br \/>\n  <a href=\"https:\/\/support.google.com\/webmasters\/answer\/7451001?topic=8497\" class=\"external-link\">errors<\/a><br \/>\n  for each of the child Sitemaps.\n<\/p>\n<p>\n  If each store includes more than 50,000 URLs (the maximum number for a single Sitemap), you would<br \/>\n  need to have multiple Sitemaps for each store. In that case, you may want to create a Sitemap<br \/>\n  index file for each store that lists the Sitemaps for that store. For instance:\n<\/p>\n<div><\/div>\n<p>\n  Since Sitemap index files can&#8217;t contain other index files, you would need to submit each Sitemap<br \/>\n  index file to your account separately.\n<\/p>\n<p>\n  Whether you list all URLs in a single Sitemap or in multiple Sitemaps (in the same directory of<br \/>\n  different directories) is simply based on what&#8217;s easiest for you to maintain. We treat the URLs<br \/>\n  equally for each of these methods of organization.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monday, October 09, 2006 We&#8217;ve gotten a few questions about whether you can put multiple Sitemaps in the same directory. Yes, you can! You might want to have multiple Sitemap files in a single directory for a number of reasons. For instance, if you have an auction site, you might want to have a daily [&hellip;]<\/p>\n","protected":false},"menu_order":86570,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-23837","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\/23837","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\/23837\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/26469"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=23837"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=23837"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=23837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}