v4.0.x added support for next13.2+ appDir
via Custom Route Handlers
Generating dynamic/server-side sitemaps
-
getServerSideSitemapIndex
: Generates index sitemaps based on urls provided and returns application/xml response. Supports next13+ route.{ts,js} file.- To continue using inside pages directory, import
getServerSideSitemapIndexLegacy
instead.
- To continue using inside pages directory, import
-
getServerSideSitemap
: Generates sitemap based on field entires and returns application/xml response. Supports next13+ route.{ts,js} file.- To continue using inside pages directory, import
getServerSideSitemapLegacy
instead.
- To continue using inside pages directory, import