10

I just want to know while submitting a sitemap file to Google webmasters, what should be the name of the file?

Is it necessary to keep the sitemap filename as sitemap.xml or can I use any custom name for the file?

unor
  • 92,415
  • 26
  • 211
  • 360
SanketR
  • 1,182
  • 14
  • 35
  • This question appears to be off-topic because it is about SEO – John Conde Apr 13 '14 at 16:18
  • @JohnConde FYI and for anyone finding this question on Google, I asked a somewhat related question over on the webmasters SE since this is the first result when searching for this question on Google. You can view it here: https://webmasters.stackexchange.com/questions/102791/does-name-of-sitemap-file-that-wordpress-generates-matter – Cave Johnson Jan 12 '17 at 18:30

1 Answers1

9

It is not obligatory. you can use any name for your sitemap and you can place it anywhere.

but it is just for Google. if you want to all of search engines find your sitemap, you should name it "sitemap.xml" and place it in your root directory.

Amir Surnay
  • 384
  • 2
  • 11
  • 4
    You can tell all robots (that care to listen) where to find it by adding a line like this to your robots.txt `Sitemap: http://www.example.com/my-custom-sitemap.xml` – Myster May 19 '21 at 23:22