Hi, i´m looking for a way to do two things.
-
Generate a Sitemap Index for my list of sitemaps.
-
We are an ecommerce, and we have a use case that make us generate multiple sitemaps (by
storeandlang).
Nextjs give us the ability to create sitemaps in any part of the tree of urls. But it don't give us any way of access the current route params of the url.
for example /[store]/[lang]/sitemap.xml don't have any way to access the store and lang params.
Any help with this?