{"id":25575,"date":"2026-09-05T02:45:51","date_gmt":"2026-09-04T23:45:51","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-combine-sitemap-extensions\/"},"modified":"2026-09-05T02:45:51","modified_gmt":"2026-09-04T23:45:51","slug":"how-to-combine-sitemap-extensions","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-combine-sitemap-extensions\/","title":{"rendered":"How to combine sitemap extensions"},"content":{"rendered":"<p>\n  Sitemap extensions are a great way to tell Google about the different kinds of content and<br \/>\n  their metadata that you&#8217;re using on your site. Often the content on your pages may fit into<br \/>\n  multiple kinds of extensions; for example, you might be publishing news articles that embed<br \/>\n  images and videos. Additionally, your pages may be localized as well, which might mean that<br \/>\n  you could add <code>hreflang<\/code> annotations for your localized pages.\n<\/p>\n<h2 id=\"namespaces\" tabindex=\"-1\">Namespaces<\/h2>\n<p>\n  For each sitemap extension that you want to use in a sitemap you need to specify the<br \/>\n  respective namespace that declares the tags the extension supports. This is done with the<br \/>\n  <code>xmlns<\/code> attribute of the <code>urlset<\/code> tag. The namespaces for the sitemap<br \/>\n  extensions Google supports are:\n<\/p>\n<table class=\"responsive\">\n<tr>\n<th colspan=\"2\">Extension tags and their namespace definitions<\/th>\n<\/tr>\n<tr>\n<td><code>image:<\/code><\/td>\n<td>\n      <a href=\"http:\/\/www.google.com\/schemas\/sitemap-image\/1.1\" class=\"external-link\"><code>http:\/\/www.google.com\/schemas\/sitemap-image\/1.1<\/code><\/a>\n    <\/td>\n<\/tr>\n<tr>\n<td><code>news:<\/code><\/td>\n<td>\n      <a href=\"http:\/\/www.google.com\/schemas\/sitemap-news\/0.9\" class=\"external-link\"><code>http:\/\/www.google.com\/schemas\/sitemap-news\/0.9<\/code><\/a>\n    <\/td>\n<\/tr>\n<tr>\n<td><code>video:<\/code><\/td>\n<td>\n      <a href=\"http:\/\/www.google.com\/schemas\/sitemap-video\/1.1\" class=\"external-link\"><code>http:\/\/www.google.com\/schemas\/sitemap-video\/1.1<\/code><\/a>\n    <\/td>\n<\/tr>\n<tr>\n<td><code>xhtml:<\/code> (for <code>hreflang<\/code>)<\/td>\n<td>\n      <a href=\"http:\/\/www.w3.org\/1999\/xhtml\" class=\"external-link\"><code>http:\/\/www.w3.org\/1999\/xhtml<\/code><\/a>\n    <\/td>\n<\/tr>\n<\/table>\n<h3 id=\"declaring-multiple-namespaces\" tabindex=\"-1\">Declaring multiple namespaces<\/h3>\n<p>\n  To declare multiple namespaces, add the respective namespace references to your sitemap as<br \/>\n  described in the documentation of the respective extensions. Here&#8217;s an example that shows how<br \/>\n  to add the news, video, and xhtml (for <code>hreflang<\/code>) extensions to a sitemap:\n<\/p>\n<div><\/div>\n<h2 id=\"combining-sitemap-extensions\" tabindex=\"-1\">Combining sitemap extensions<\/h2>\n<p>\n  Once you declared the namespaces, follow the implementation details from the respective sitemap<br \/>\n  extension documentation you&#8217;re going to use.\n<\/p>\n<ul>\n<li><a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/sitemap-extensions\/\">Image sitemap<\/a><\/li>\n<li><a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/news-sitemaps\/\">News sitemap<\/a><\/li>\n<li><a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/video-sitemaps-and-alternatives\/\">Video sitemap<\/a><\/li>\n<li>\n    <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/localized-versions\/#sitemap\"><code>hreflang<\/code><\/a>\n  <\/li>\n<\/ul>\n<p>\n  To combine extensions, add the tags from whatever sitemap extensions you&#8217;re using, one after the<br \/>\n  other, to the appropriate <code>&lt;url&gt;<\/code> tag, as described in each sitemap extension&#8217;s<br \/>\n  documentation.\n<\/p>\n<p>\n  For example, to add news, video, and xhtml (<code>hreflang<\/code>) extensions to a sitemap:\n<\/p>\n<div><\/div>\n<p>\n  The order of the extension in the sitemap is irrelevant after the <code>&lt;loc&gt;<\/code><br \/>\n  tag. Keep in mind the<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/build-submit-sitemap\/#general-guidelines\">general sitemap best practices<\/a>,<br \/>\n  especially the file size limits. Combining sitemap extensions increases the file size of your<br \/>\n  sitemap significantly.\n<\/p>\n<h2 id=\"troubleshooting\" tabindex=\"-1\">Troubleshooting sitemaps<\/h2>\n<p>\n      If you&#8217;re having trouble with your sitemap, you can investigate the errors with Google Search Console.<br \/>\n      See Search Console&#8217;s<br \/>\n      <a href=\"https:\/\/support.google.com\/webmasters\/answer\/7451001#errors\" class=\"external-link\">sitemaps troubleshooting guide<\/a><br \/>\n      for help.\n    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to combine different kinds of sitemap extensions in one single XML sitemap.<\/p>\n","protected":false},"menu_order":24,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[694],"ar_kb_etiket":[],"class_list":["post-25575","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-sitemap-extensions"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25575","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\/25575\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27588"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25575"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25575"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}