sitemap.xml
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 20.8k
- Forks
- 2.3k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 156
Description
Is your feature request related to a problem? Please describe.
Most websites need to provide a sitemap.xml for SEO purposes.
Describe the solution you'd like
SvelteKit should provide a way (automatically, or recommended way via documentation) on how to create a sitemap.xml.
Describe alternatives you've considered
I see sitemap.xml generation is mentioned in the sapper repo - is this the way to do it?
Also mentioned by @antony here.
How important is this feature to you?
I think this will affect a large number of SvelteKit users who are building websites.
Note
The SvelteKit homepage says:
SvelteKit doesn't compromise on SEO

Without supporting sitemap.xml, this claim is inaccurate/disingenuous.
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue discussion and the linked Sapper sitemap-generation discussion. Determine whether the expected outcome is automatic sitemap.xml support or a documented recommended approach. Done means SvelteKit users have a clear, supported way to create sitemap.xml files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100