---
title: "Discussion on \"@astrojs/sitemap generates /sitemap-0.xml not /sitemap-index.xml on small sites\" | Hashnode"
description: "Discussion on \"@astrojs/sitemap generates /sitemap-0.xml not /sitemap-index.xml on small sites\". How 3 Astro + Cloudflare Pages sites spent 15 days with 404 sitemaps, why @astrojs/sitemap does this, and the two-line _redirects fix."
url: "https://hashnode.com/posts/astrojssitemap-generates-sitemap-0xml-not-sitemap-indexxml-on-small-sites/69fd95ae42d42dd533f1c745"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [@astrojs/sitemap generates /sitemap-0.xml not /sitemap-index.xml on small sites](https://morinaga.hashnode.dev/astrojssitemap-generates-sitemap-0xml-not-sitemap-indexxml-on-small-sites?utm_source=hashnode&utm_medium=feed)

How 3 Astro + Cloudflare Pages sites spent 15 days with 404 sitemaps, why @astrojs/sitemap does this, and the two-line \_redirects fix.

May 8 · 5 min read · morinaga.hashnode.dev  
Read the article

-   [#astro](https://hashnode.com/tag/astro)
-   [#indiehackers](https://hashnode.com/tag/indiehackers)
-   [#showdev](https://hashnode.com/tag/showdev)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[盛永裕介](https://hashnode.com/@morinaga)

@morinaga

  
[View profile](https://hashnode.com/@morinaga)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
