-
Notifications
You must be signed in to change notification settings - Fork 28.3k
feat(next): add sitemap index support #61391
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
base: canary
Are you sure you want to change the base?
Conversation
<loc>https://acme.com/products/sitemap.xml</loc> | ||
<lastmod>2023-04-06T15:02:24.021Z</lastmod> | ||
</sitemap> | ||
</urlset> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</urlset> | |
</sitemapindex> |
Hi, we're evaluating a solution for sitemap-index internally, will share once we have it roughly finished. I'll keep this PR as draft atm. 🙏 |
Any updates on this? |
this feature is a must and I am glad to see that the Next.js team is already looking into it. Any updates on the progress? Should we go ahead and implement something independently or are you guys almost done with the implementation? Please advise. |
Almost year passed, any updates on this? |
Where is it please?? Vercel doesn't care about our SEO? |
What?
This enables sitemap-index.{.ts|.js|.xml} file that can be used to generate a Sitemap Index based on the Sitemap Index protocol: https://www.sitemaps.org/protocol.html#index
Why?
Next.js supports creating multiple sitemap files. However, it can be tricky to add all these files to the robots.txt file. That's why I added support for
sitemap-index
where you can dynamically create a sitemap index with all of your dynamic sitemaps.How?
Added a new metadata file
Fixes #61025