Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://sanitypress.dev/sitemap.xml #34

Closed
alioftech opened this issue Nov 3, 2024 · 1 comment
Closed

https://sanitypress.dev/sitemap.xml #34

alioftech opened this issue Nov 3, 2024 · 1 comment

Comments

@alioftech
Copy link

Hey guys,

Is there an issue with the sitemap.xml? It is not accessible neither for your website or ours.

@nuotsu
Copy link
Owner

nuotsu commented Nov 3, 2024

@alioftech Thanks for bringing this to attention. This is definitely a bug, but with an easy fix.

Please move src/app/(frontend)/sitemap.ts to src/app/sitemap.ts (the root /app directory). It seems Next.js won't generate a sitemap.xml if it's under a grouped route.

You can reference this recent commit: d816d0f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants