Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

e.g

User-agent: *
Disallow: /private/

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

Any ideas?

share|improve this question

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):

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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