Creating Dynamic Routes with file extension in nextjs13. For example /sitemap/[page].xml

82 Views Asked by At

we know to create dynamic sitemap, we can create with /sitemap.xml/[page]/route.js

but, i cant get how to create dynamic sitemap like /sitemap-[page].xml/route.js

0

There are 0 best solutions below