How to exclude dynamic routes (optional catch-all segments) #760
Unanswered
garabedium
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
additionalPaths
to generate sitemap URLs from a CMS. The CMS urls are generated as expected, but there are duplicate urls created from an optional catch-all segments route in my pages directory (ex:pages/[[...cmsPageSlug]].tsx
).Questions
/[[...cmsPageSlug]].tsx
(and a lot different variations) were not successful.Next version: 12.3.4
next-sitemap: 4.2.3
Beta Was this translation helpful? Give feedback.
All reactions