diff --git a/src/runtime/sitemap/urlset/i18n.ts b/src/runtime/sitemap/urlset/i18n.ts
index 31e16f14..adedabc0 100644
--- a/src/runtime/sitemap/urlset/i18n.ts
+++ b/src/runtime/sitemap/urlset/i18n.ts
@@ -15,7 +15,7 @@ export function normaliseI18nSources(sources: SitemapSourceResolved[], { autoI18
})
s.urls = urls.map((url) => {
// only if the url wasn't already configured, excludes page, etc
- if (url._sitemap)
+ if (url._sitemap || url._i18nTransform)
return url
// if the url starts with a prefix, we should automatically bundle it to the correct sitemap using _sitemap
if (url.loc) {
diff --git a/test/integration/i18n/dynamic-urls.test.ts b/test/integration/i18n/dynamic-urls.test.ts
index e207d9bf..68477c15 100644
--- a/test/integration/i18n/dynamic-urls.test.ts
+++ b/test/integration/i18n/dynamic-urls.test.ts
@@ -46,22 +46,6 @@ describe('i18n dynamic urls', () => {
-
- https://nuxtseo.com/es/__sitemap/url
- weekly
-
-
-
-
-
-
- https://nuxtseo.com/fr/__sitemap/url
- weekly
-
-
-
-
-
"
`)
}, 60000)