大网数据广告活动
网站运营与故障问答

Does name of sitemap file that Wordpress generates matter?

· 52CE 我爱测

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 …

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。