/:number/sitemap.xml
:number
in between sitemap
and .xml
.https://website.com/sitemap.xml
something like this:<sitemapindex xmlns=http://www.sitemaps.org/schemas/sitemap/0.09"> <sitemap> <loc>https://website.com/sitemap1.xml</loc> <lastmod>2025-03-19</lastmod> </sitemap> <sitemap> <loc>https://website.com/sitemap2.xml</loc> <lastmod>2025-03-19</lastmod> </sitemap> <sitemap> <loc>https://website.com/sitemap3.xml</loc> <lastmod>2025-03-19</lastmod> </sitemap> </sitemapindex>
<loc>https://website.com/whatever/sitemap.xml</loc>
The important thing is that Sitemaps not contain URLs from parent directories or completely different directories—if that happens, we can't be sure that the submitter controls the URL's directory, so we can't trust the metadata.
sitemap-1.xml
turning that into 1
?