#Sitemap issue

6 messages · Page 1 of 1 (latest)

edgy crown
#

I am using Next 13 and yes, I know that it's not released yet but I am playing with it.

I need to generate the sitemap, for that I used https://www.npmjs.com/package/next-sitemap, the issue with it is that it does not get the URLs dynamically. What I mean by this is that in my URL https://example.com I have dynamic routes (that come from the backend) https://example.com/hello123.

next-sitemap isn't getting those URLs at all, any thoughts/solution?

#

Here's an example of dynamic route I have

edgy crown
#

Anyone?

proven frigate
#

guarda qualcosa legato al ssr di next, praticamente se ispezioni vedrai tutte le chiamate in fetch console

#

oppure ti potrei consigliare una cosa: fai una pagina sitemap vuota e dentro gestiscila tu come vuoi, chiamando solo api che vuoi etc... metti caso che una pagina non al vuoi fare vedere...

soft prism