/sitemap/[slug] and sitemap.ts conflicts in Nextjs15 (app router) #74055
Unanswered
timkinsman
asked this question in
Help
Replies: 1 comment
-
I'm experiencing the same issue. I'm using Next.js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hey, when migrating from next14 to next15 (both app router). It seems that having a page for
app/sitemap/[slug]/page.tsx
(a HTML sitemap) andapp/sitemap.ts
(a XML sitemap) causes errors. Is this intentional? I'm aware that a related change was posted in the blog.However, I can't seem to wrap my head around it, is the above scenario just not achievable now?
Additional information
Example
/~https://github.com/timkinsman/nextjs15-bugrepro-sitemap-conflict
Beta Was this translation helpful? Give feedback.
All reactions