next-sitemap icon indicating copy to clipboard operation
next-sitemap copied to clipboard

Next-Sitemap not picking up static pages (/folder/page.tsx), but works for dynamic pages ([slug]/page.tsx)

Open dominik-sfl opened this issue 8 months ago • 2 comments

Describe the bug Our sitemap seems to pick up all dynamic items, e.g. /some-category-folder/[slug]/page.tsx but our category pages are NOT included, e.g. /some-category-folder/page.tsx

To Reproduce Not sure how to reproduce this error.

Expected behavior Pick up all pages in our app directory.

Screenshots

Additional context

Not sure if it makes a difference, but we have a lot of our pages inside nextjs' invisible folders in round brackets, to just order things for us internally e.g. /app/.../(folder)/category/page.tsx

dominik-sfl avatar Jun 24 '24 10:06 dominik-sfl