iamvishnusankar / next-sitemap

Sitemap generator for next.js. Generate sitemap(s) and robots.txt for all static/pre-rendered/dynamic/server-side pages.
https://next-sitemap.iamvishnusankar.com
MIT License
3.27k stars 126 forks source link

enable sitemap tag inside sitemaps (not only in sitemap-index) #822

Closed Sammeeey closed 1 month ago

Sammeeey commented 3 months ago

Is your feature request related to a problem? Please describe. I have to generate many sitemaps dynamically, because I'm exceeding Googles limit of 50.000 pages per sitemap. But it seems not possible to generate sitemaps which contain sitemaps. The sitemaps tag is only available in sitemap indexes.

Describe the solution you'd like Would be great to have a sitemap field in ISitemapField, which makes clear that this is a sitemap and not a URL.

Thus you could build sitemaps of sitemaps.

Describe alternatives you've considered Just displaying all sitemaps using nexts internal solution

github-actions[bot] commented 1 month ago

Closing this issue due to inactivity.