release notes
The web framework for content-driven websites. ⭐️ Star to support our work!
release notes
Published 8/14/2025
#13682 5824b32 Thanks @gouravkhunger! - Adds a customSitemaps option to include extra sitemaps in the sitemap-index.xml file generated by Astro.
This is useful for multi-framework setups on the same domain as your Astro site (example.com), such as a blog at example.com/blog whose sitemap is generated by another framework.
The following example shows configuring your Astro site to include sitemaps for an externally-generated blog and help center along with the generated sitemap entries in sitemap-index.xml:
Example:
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://example.com',
integrations: [
sitemap({
customSitemaps: [
'https://example.com/blog/sitemap.xml',
'https://example.com/helpcenter/sitemap.xml',
],
}),
],
});
Learn more in the @astrojs/sitemap configuration documentation.
release notes
Published 8/14/2025
#13682 5824b32 Thanks @gouravkhunger! - Adds a customSitemaps option to include extra sitemaps in the sitemap-index.xml file generated by Astro.
This is useful for multi-framework setups on the same domain as your Astro site (example.com), such as a blog at example.com/blog whose sitemap is generated by another framework.
The following example shows configuring your Astro site to include sitemaps for an externally-generated blog and help center along with the generated sitemap entries in sitemap-index.xml:
Example:
import { defineConfig } from 'astro/config';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://example.com',
integrations: [
sitemap({
customSitemaps: [
'https://example.com/blog/sitemap.xml',
'https://example.com/helpcenter/sitemap.xml',
],
}),
],
});
Learn more in the @astrojs/sitemap configuration documentation.