I currently have a site setup that, in addition to regular static pages, also has a WordPress blog. This results in my main site having a sitemap.xml file listing the basic pages and then a sitemap for the WordPress blog posts. I understand that I could create a sitemap_index file and point to each of the sitemap files, but would it be possible to just link to the WordPress sitemap from my regular sitemap file?

For instance:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
  • I believe the reason that wouldn't work is because the bots would then interpret your wordpress_sitemap.xml as just a regular page, not as a Sitemap. Which would then result in them indexing the sitemap, and not the pages pointed to in the Sitemap. Commented Apr 30, 2013 at 16:39
  • Thanks for your comment. That was my initial thought, but couldn't find any definitive answer.
    – Tim Banks
    Commented Apr 30, 2013 at 16:42
  • 1
    Having your sitemap indexed by SE's isn't a bad thing. It's only if they don't know that it's a sitemap. Which is where adding it to robots.txt or submitting to Google & Bing come in. Commented Apr 30, 2013 at 16:48

1 Answer 1


Unfortunately, only sitemap_index's can have other sitemap's in them. You have two options as far as I can tell:

  1. You could add a sitemap_index, and then link to your other two sitemaps from there.
  2. You could just add both of your sitemaps to your robots.txt file (more info)

Alternatively, you could also disregard both of the above and just submit each of your Sitemaps to Google, Bing, etc. as you see fit (which you should do anyway). That might reduce the number of non-compliant crawler's scraping your website (if they don't know where the Sitemap is, it's harder for them to crawl your whole site).

  • Thanks for the answer. I think this will cover all bases.
    – Tim Banks
    Commented Apr 30, 2013 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.