I'm creating a Sitemap for rel="alternate" hreflang="x", but no where in Google's guidelines do they mention how it should be named. Also can we reference it separately in the robots.txt file, or does it need to be in a sitemap_index file?


User-agent: *
Disallow: /private/

Sitemap: http://www.example/sitemap.xml
Sitemap: http://www.example/rel=sitemap.xml

Any ideas?

1 Answer 1


The naming (which is also the location) of a sitemap is - contrary to what you state in your question - mentioned in the guidelines:

Also the guidlines clearly say that you can specify more than one sitemap file in robots.txt:

You can specify more than one Sitemap file per robots.txt file.

Sitemap: http://www.example.com/sitemap-host1.xml

Sitemap: http://www.example.com/sitemap-host2.xml

BTW Sitemap index files are used in case your file grows larger (in terms of entry count, e.g. 50.000 -or- in terms of file-size e.g. 10MB (uncompressed)) or in case you have multiple hostnames in the URIs which requires you to have multiple files - one per hostname.

BTW, the following answer is related on Stackoverflow, but you need to ignore the accepted answer as it is not well researched (like the question itself):

  • I can't seem to see where they mention about naming of sitemaps in the provided link.
    – Max
    Aug 27, 2013 at 11:02
  • The naming of a sitemap is its location. Look for location.
    – hakre
    Aug 27, 2013 at 11:11

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.