Nuxt Sitemap v6.0.0 · Nuxt Sitemap · Nuxt SEO

[NuxtSEO](https://nuxtseo.com/ "Home")

- [Modules](https://nuxtseo.com/docs/nuxt-seo/getting-started/introduction)
- [Tools](https://nuxtseo.com/tools)
- [Pro](https://nuxtseo.com/pro)
- [Learn SEO](https://nuxtseo.com/learn-seo/nuxt) [Releases](https://nuxtseo.com/releases)

[1.4K](https://github.com/harlan-zw/nuxt-seo)

[Nuxt SEO on GitHub](https://github.com/harlan-zw/nuxt-seo)

[User Guides](https://nuxtseo.com/docs/sitemap/getting-started/introduction)

[API](https://nuxtseo.com/docs/sitemap/api/config)

[Releases](https://nuxtseo.com/docs/sitemap/releases/v8)

Sitemap

- [Switch to Sitemap](https://nuxtseo.com/docs/sitemap/getting-started/introduction)
- [Switch to Nuxt SEO](https://nuxtseo.com/docs/nuxt-seo/getting-started/introduction)
- [Switch to Robots](https://nuxtseo.com/docs/robots/getting-started/introduction)
- [Switch to OG Image](https://nuxtseo.com/docs/og-image/getting-started/introduction)
- [Switch to Schema.org](https://nuxtseo.com/docs/schema-org/getting-started/introduction)
- [Switch to Link Checker](https://nuxtseo.com/docs/link-checker/getting-started/introduction)
- [Switch to SEO Utils](https://nuxtseo.com/docs/seo-utils/getting-started/introduction)
- [Switch to Site Config](https://nuxtseo.com/docs/site-config/getting-started/introduction)
- [Switch to Skew Protection](https://nuxtseo.com/docs/skew-protection/getting-started/introduction)
- [Switch to AI Ready](https://nuxtseo.com/docs/ai-ready/getting-started/introduction)

Search…```k`` /`

v8.0.12

- Playgrounds
- [Discord Support](https://discord.com/invite/275MBUBvgP)

### Changelog

### Releases

- [v8.0.0](https://nuxtseo.com/docs/sitemap/releases/v8)
- [v7.0.0](https://nuxtseo.com/docs/sitemap/releases/v7)
- [v6.0.0](https://nuxtseo.com/docs/sitemap/releases/v6)
- [v5.0.0](https://nuxtseo.com/docs/sitemap/releases/v5)
- [v4.0.0](https://nuxtseo.com/docs/sitemap/releases/v4)
- [v3.0.0](https://nuxtseo.com/docs/sitemap/releases/v3)

Releases

# Nuxt Sitemap v6.0.0

[Copy for LLMs](https://nuxtseo.com/docs/sitemap/releases/v6.md)

## [Introduction](#introduction)

The v6 represents hopefully the last major that the module will undergo. It brings many underlying logic improvements which aim to solve stability and performance issues and set up the module to support chunked multi-sitemaps in the future.

## [🚨 Breaking Change](#breaking-change)

### [Google Search Console](#google-search-console)

If you're using multi-sitemaps it's important to check Google Search Console after the update and verify you haven't submitted the old multi-sitemap paths. If so, you should update them

### [Sitemap Output](#sitemap-output)

Please verify your sitemap output after the update. Many changes have been made to the underlying logic and it's important to verify that your sitemap is still being generated correctly.

## [Changelog](#changelog)

### [   🚨 Breaking Changes](#breaking-changes)

- Rewrite i18n resolving and url normalizing  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/319](https://github.com/nuxt-modules/sitemap/issues/319) [`(fab7e)`](https://github.com/nuxt-modules/sitemap/commit/fab7e9e)
- New multi sitemaps paths  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/320](https://github.com/nuxt-modules/sitemap/issues/320) [`(bb7d9)`](https://github.com/nuxt-modules/sitemap/commit/bb7d9c7)

### [   🚀 Features](#features)

- `sitemapsPathPrefix` config  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/325](https://github.com/nuxt-modules/sitemap/issues/325) [`(4b94c)`](https://github.com/nuxt-modules/sitemap/commit/4b94c3d)
- Add minify xml option  -  by @Henvy-Mango in [https://github.com/nuxt-modules/sitemap/issues/336](https://github.com/nuxt-modules/sitemap/issues/336) [`(f9197)`](https://github.com/nuxt-modules/sitemap/commit/f919726)
- **i18n**: Support Nuxt I18n v9  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/351](https://github.com/nuxt-modules/sitemap/issues/351) [`(92d96)`](https://github.com/nuxt-modules/sitemap/commit/92d9610)

### [   🐞 Bug Fixes](#bug-fixes)

- Better filtering of file URLs  -  by @harlan-zw [`(27a95)`](https://github.com/nuxt-modules/sitemap/commit/27a95be)
- Check for `robots` route rules  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/321](https://github.com/nuxt-modules/sitemap/issues/321) [`(ae455)`](https://github.com/nuxt-modules/sitemap/commit/ae455da)
- Map `include`, `exclude` to i18n pages  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/322](https://github.com/nuxt-modules/sitemap/issues/322) [`(a7c04)`](https://github.com/nuxt-modules/sitemap/commit/a7c04bc)
- Fallback to prerender sitemap on vercel edge  -  by @harlan-zw [`(33598)`](https://github.com/nuxt-modules/sitemap/commit/33598c8)
- Support `SERVER_PRESET` to detect env  -  by @harlan-zw [`(295c9)`](https://github.com/nuxt-modules/sitemap/commit/295c98f)
- Handle null `loc`'s  -  by @harlan-zw [`(c0666)`](https://github.com/nuxt-modules/sitemap/commit/c066610)
- `useNitroApp` import warning  -  by @harlan-zw [`(f5ab8)`](https://github.com/nuxt-modules/sitemap/commit/f5ab878)
- Preset not being resolved when using `--target`  -  by @harlan-zw [`(2f6bc)`](https://github.com/nuxt-modules/sitemap/commit/2f6bca8)
- Broken regex for `<NuxtImage>` components  -  by @harlan-zw [`(469e7)`](https://github.com/nuxt-modules/sitemap/commit/469e7bd)
- Ensure `loc` is always a string  -  by @harlan-zw [`(de9ec)`](https://github.com/nuxt-modules/sitemap/commit/de9ecc2)
- Improve entry `loc` normalizing  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/354](https://github.com/nuxt-modules/sitemap/issues/354) [`(6ef8d)`](https://github.com/nuxt-modules/sitemap/commit/6ef8dcd)
- **i18n**:
  - Support excluded locales  -  by @Xenossolitarius and **ipesic** in [https://github.com/nuxt-modules/sitemap/issues/331](https://github.com/nuxt-modules/sitemap/issues/331) [`(f9ba0)`](https://github.com/nuxt-modules/sitemap/commit/f9ba056)
  - Reverse only locales logic  -  by @Xenossolitarius and **ipesic** in [https://github.com/nuxt-modules/sitemap/issues/346](https://github.com/nuxt-modules/sitemap/issues/346) [`(cc86a)`](https://github.com/nuxt-modules/sitemap/commit/cc86a0c)
  - Broken trailing slashes config when using `differentDomains`  -  by @harlan-zw [`(e8799)`](https://github.com/nuxt-modules/sitemap/commit/e879913)
  - Broken dedupe of loc and alternatives  -  by @harlan-zw in [https://github.com/nuxt-modules/sitemap/issues/352](https://github.com/nuxt-modules/sitemap/issues/352) [`(2b164)`](https://github.com/nuxt-modules/sitemap/commit/2b16423)
- **module**:
  - Prevent false positive warning about ignored root keys  -  by @madebyfabian in [https://github.com/nuxt-modules/sitemap/issues/338](https://github.com/nuxt-modules/sitemap/issues/338) [`(e4543)`](https://github.com/nuxt-modules/sitemap/commit/e45432b)
- **prerendering**:
  - Prefer runtime site url validation  -  by @harlan-zw [`(779d1)`](https://github.com/nuxt-modules/sitemap/commit/779d100)

#####      [View changes on GitHub](https://github.com/nuxt-modules/sitemap/compare/v5.3.5...v6.0.0)

[Edit this page](https://github.com/nuxt-modules/sitemap/edit/main/docs/content/5.releases/5.v6.md)

[Markdown For LLMs](https://nuxtseo.com/docs/sitemap/releases/v6.md)

Did this page help you?

[v7.0.0 Release notes for v7.0.0 of Nuxt Sitemap.](https://nuxtseo.com/docs/sitemap/releases/v7) [v5.0.0 Release notes for v5.0.0 of Nuxt Sitemap.](https://nuxtseo.com/docs/sitemap/releases/v5)

On this page

- [Introduction](#introduction)
- [🚨 Breaking Change](#breaking-change)
- [Changelog](#changelog)

[GitHub](https://github.com/harlan-zw/nuxt-seo) [ Discord](https://discord.com/invite/275MBUBvgP)

### [NuxtSEO](https://nuxtseo.com/ "Home")

- [Getting Started](https://nuxtseo.com/docs/nuxt-seo/getting-started/introduction)
- [MCP](https://nuxtseo.com/docs/nuxt-seo/guides/mcp)

Modules

- [Robots](https://nuxtseo.com/docs/robots/getting-started/introduction)
- [Sitemap](https://nuxtseo.com/docs/sitemap/getting-started/introduction)
- [OG Image](https://nuxtseo.com/docs/og-image/getting-started/introduction)
- [Schema.org](https://nuxtseo.com/docs/schema-org/getting-started/introduction)
- [Link Checker](https://nuxtseo.com/docs/link-checker/getting-started/introduction)
- [SEO Utils](https://nuxtseo.com/docs/seo-utils/getting-started/introduction)
- [Site Config](https://nuxtseo.com/docs/site-config/getting-started/introduction)
- [Skew Protection](https://nuxtseo.com/docs/skew-protection/getting-started/introduction)
- [AI Ready](https://nuxtseo.com/docs/ai-ready/getting-started/introduction)

### [NuxtSEO Pro](https://nuxtseo.com/pro "Nuxt SEO Pro")

- [Getting Started](https://nuxtseo.com/pro)
- [Dashboard](https://nuxtseo.com/pro/dashboard)
- [Pro MCP](https://nuxtseo.com/pro/docs/getting-started/mcp-setup)

### [Learn SEO](https://nuxtseo.com/learn-seo "Learn SEO")

Nuxt

- [Mastering Meta](https://nuxtseo.com/learn-seo/nuxt/mastering-meta)
- [Controlling Crawlers](https://nuxtseo.com/learn-seo/nuxt/controlling-crawlers)
- [Launch & Listen](https://nuxtseo.com/learn-seo/nuxt/launch-and-listen)
- [Routes & Rendering](https://nuxtseo.com/learn-seo/nuxt/routes-and-rendering)
- [Staying Secure](https://nuxtseo.com/learn-seo/nuxt/routes-and-rendering/security)

Vue

- [Vue SEO Guide](https://nuxtseo.com/learn-seo/vue)
- [Mastering Meta](https://nuxtseo.com/learn-seo/vue/mastering-meta)
- [Controlling Crawlers](https://nuxtseo.com/learn-seo/vue/controlling-crawlers)
- [SPA SEO](https://nuxtseo.com/learn-seo/vue/spa)
- [SSR Frameworks](https://nuxtseo.com/learn-seo/vue/ssr-frameworks)
- [SEO Checklist](https://nuxtseo.com/learn-seo/checklist)
- [Pre-Launch Warmup](https://nuxtseo.com/learn-seo/pre-launch-warmup)
- [Backlinks & Authority](https://nuxtseo.com/learn-seo/backlinks)

### [Tools](https://nuxtseo.com/tools "SEO Tools")

- [Social Share Debugger](https://nuxtseo.com/tools/social-share-debugger)
- [Robots.txt Generator](https://nuxtseo.com/tools/robots-txt-generator)
- [Meta Tag Checker](https://nuxtseo.com/tools/meta-tag-checker)
- [HTML to Markdown](https://nuxtseo.com/tools/html-to-markdown)
- [XML Sitemap Validator](https://nuxtseo.com/tools/xml-sitemap-validator)
- [Schema.org Validator](https://nuxtseo.com/tools/schema-validator)
- [Keyword Idea Generator](https://nuxtseo.com/tools/keyword-generator)
- [Keyword Research](https://nuxtseo.com/tools/keyword-research)
- [SERP Analyzer](https://nuxtseo.com/tools/serp-analyzer)
- [Domain Rankings](https://nuxtseo.com/tools/domain-rankings)

Copyright © 2023-2026 Harlan Wilton - [MIT License](https://github.com/harlan-zw/nuxt-seo/blob/main/license) · [mdream](https://mdream.dev)