问题原文
原帖链接 · Cave Johnson · CC BY-SA 3.0
The Yoast SEO plugin for wordpress creates an XML sitemap with the file name sitemap_index.xml. There is another sitemap plugin (Google XML Sitemaps) in the Wordpress site I'm working on that creates a sitemap named sitemap.xml.
Unfortunately I don't know too much about SEO stuff. The top result in Google when searching for the answer to my question is this StackOverflow post that seems to say that it DOES matter for search engines other than Google: https://stackoverflow.com/questions/23041115/what-should-be-the-name-of-sitemap-file-while-submitting-to-google-webmasters. It says to use sitemap.xml. But I'm doubtful of the accuracy of this claim. Also, the sitemap that YoastSEO generates is preferable for my client but it doesn't look like there is a way to configure the name of the sitemap file.
So I thought I would ask the experts here to get a definitive answer. Does it matter that the YoastSEO plugin generates a sitemap with a seemingly non-standard filename?
已采纳解答
原帖链接 · JCL1178 · CC BY-SA 3.0
No, the name does not matter. In the Google Search Console (and the Bing version of that, FWIW), you tell it which sitemaps to look at. Other search engines might look for sitemap.xml by default but this is not guaranteed nor standard behavior and doesn't really need to be worried about.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
