---
title: "URL in multiple XML sitemaps"
description: "One page listed in two sitemap files is not an error, but it can mix lastmod dates and muddle reports. How to clean it up."
url: https://ursy.com/wiki/url-in-multiple-xml-sitemaps/
updated: 2026-11-25T02:01:25+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/url-in-multiple-xml-sitemaps/
---

# URL in multiple XML sitemaps

> One page listed in two sitemap files is not an error, but it can mix lastmod dates and muddle reports. How to clean it up.

**“[URL](https://ursy.com/wiki/url/) in multiple XML sitemaps” is an audit warning that the same page address is listed in two or more of your sitemap files, for example in both `products-sitemap.xml` and `category-sitemap.xml`.** It will not break your site, and [search engines](https://ursy.com/wiki/search-engine/) can cope. But it often points to a messy sitemap setup, mixed signals such as two different dates for one page, and counts in your reports that are hard to read.

## What does the warning mean? {#what-does-the-warning-mean}

An [XML sitemap](https://ursy.com/wiki/xml-sitemap/) is a file that lists the pages you want search engines to find. Bigger sites split the list into several files and tie them together with a sitemap index. [Google](https://ursy.com/wiki/google/)’s guide to [building a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap) says a single sitemap is limited to 50 MB uncompressed or 50,000 URLs, so splitting is normal. Its page on [managing large sitemaps with an index](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps) says an index file can hold up to 50,000 `loc` tags.

The warning appears when one address turns up in more than one of those files. Neither Google’s sitemap guides nor the [sitemaps.org protocol](https://www.sitemaps.org/protocol.html) say this is forbidden. So this is a tidiness issue, not an error.

## Why does it matter for search? {#why-does-it-matter-for-search}

Google’s help page on the [Search Console sitemaps report](https://support.google.com/webmasters/answer/7451001) gives 2 useful facts. Duplicate URLs are counted only once. And new information about a URL overwrites older information about the same URL. That second point is the real risk. If one file says a page last changed on 1 November and another says 20 November, the date Google keeps depends on which file it read last.

That matters because Google’s build guide says it uses the `lastmod` value only when it is consistently and verifiably accurate. Two clashing dates for one page are not consistent, so Google may simply ignore them. See [content freshness](https://ursy.com/wiki/content-freshness/).

There are other costs:

- **Muddled reports.**  In [Google Search Console](https://ursy.com/wiki/google-search-console/) you can filter the [page indexing report](https://ursy.com/wiki/page-indexing-report-index-coverage/) by sitemap. If one page sits in 3 files, the per-file numbers overlap and stop adding up.
- **A sign of a deeper fault.**  The duplicate is often a symptom: 2 plugins both writing sitemaps, or the same product listed under several categories with different addresses.
- **Wasted effort.**  Bigger files take longer to fetch and check, and add noise for your [crawl budget](https://ursy.com/wiki/crawl-budget/) planning.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

Some [AI crawlers](https://ursy.com/wiki/ai-crawler/) and agents read sitemaps to find pages, and many tools that feed [AI search indexes](https://ursy.com/wiki/ai-search-index/) do too. A clean list with one entry and one honest date per page is the easiest map for any [bot](https://ursy.com/wiki/bot-web-robot/) to trust. Clashing dates make it harder to tell which page is fresh, and freshness affects which source an [answer engine](https://ursy.com/wiki/answer-engine/) picks. For small sites, [IndexNow](https://ursy.com/wiki/indexnow/) is another way to say a page has changed; our free [IndexNow tool](https://ursy.com/indexnow-tool/) sends that ping.

## How does it happen? {#how-does-it-happen}

- **Two sitemap generators.**  A [CMS](https://ursy.com/wiki/content-management-system-cms/) core sitemap and an [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) plugin sitemap both run.
- **Type and topic files overlap.**  A post sits in a “posts” file and a “news” file.
- **Language or region files.**  The same page appears in each country file instead of its own local address. See [hreflang](https://ursy.com/wiki/hreflang/).
- **Image or video sitemaps listing the page again.**  An [image sitemap](https://ursy.com/wiki/image-sitemap/) lists the page that holds the image. That is how it is meant to work, so most audits ignore it.
- **Old files left in the index**  after a site change.

## How do I fix it? {#how-do-i-fix-it}

1. **Find the source.**  List every sitemap in your index and in your [robots.txt](https://ursy.com/wiki/robots-txt/). Turn off any second generator.
2. **Give each page one home.**  Decide which file owns each page type: products, categories, posts, pages.
3. **List canonical addresses only.**  Google’s build guide says to include the URL you prefer, not every URL that leads to the same content. Check each with our free [canonical checker](https://ursy.com/canonical-checker/).
4. **Make dates honest.**  Each page should carry one `lastmod` that matches a real change to its content.
5. **Resubmit and watch.**  Submit the index in Search Console and in [Bing Webmaster Tools](https://ursy.com/wiki/bing-webmaster-tools/), then check the reports.

## Common mistakes {#common-mistakes}

- **Deleting the page from all files.**  Remove the extra entries, not the only one.
- **Nesting indexes.**  Google’s sitemaps report help says an index file cannot list other index files.
- **Breaking the location rule.**  The sitemaps.org protocol says a sitemap can only list addresses under its own path, on the same host and protocol. Moving entries into a file in a deeper folder can make them invalid.
- **Listing non-canonical or redirected URLs**  while removing duplicates. See [page with redirect](https://ursy.com/wiki/page-with-redirect/).

## A worked example {#a-worked-example}

A UK homeware shop has 2,300 products. Its shop platform writes `product-sitemap.xml`. An SEO plugin writes `product-sitemap1.xml`. Both are in the index. An audit finds 2,300 URLs in 2 sitemaps each, and 600 of them with different `lastmod` dates.

The shop switches off the plugin’s product sitemap, leaves the platform’s file, and checks that its dates follow real stock and text changes. The index now lists one product file. In Search Console, the sitemap filter on the page indexing report shows clear numbers for products alone.

## How to check it {#how-to-check-it}

1. Run our free [sitemap checker](https://ursy.com/sitemap-checker/) on your index to list the files and the addresses in each.
2. Pull every address out with our free [sitemap URL extractor](https://ursy.com/webmaster-tools/sitemap-url-extractor/), sort with the [line sorter](https://ursy.com/webmaster-tools/line-sorter/), and spot repeats with the [duplicate line remover](https://ursy.com/webmaster-tools/duplicate-line-remover/).
3. Check dates with our free [lastmod checker](https://ursy.com/lastmod-checker/).
4. Our free [indexability checker](https://ursy.com/indexability-checker/) confirms each listed page can be indexed. In URSY Pro, our [sitemap monitor](https://ursy.com/pro/sitemap-monitor/) and [index coverage monitor](https://ursy.com/pro/index-coverage-monitor/) track this over time (Pro). See our guide [how to use the sitemap checker](https://ursy.com/guides/how-to-use-sitemap-checker/).

## Questions {#questions}

### Will Google penalise a URL listed twice? {#will-google-penalise-a-url-listed-twice}

Nothing in Google’s sitemap guidance says so. Its report counts the URL once. The risk is mixed dates and unclear reports.

### Is it fine for a page to be in a sitemap and an image sitemap? {#is-it-fine-for-a-page-to-be-in-a-sitemap-and-an-image-sitema}

Yes. That is how image sitemaps work. Most tools do not flag it.

### Does a sitemap get a page indexed? {#does-a-sitemap-get-a-page-indexed}

No. Google’s help says a URL found in a sitemap may never be crawled or indexed. Sitemaps help discovery; see [crawling and indexing](https://ursy.com/wiki/crawling-and-indexing/).

## Related words {#related-words}

- [XML sitemap](https://ursy.com/wiki/xml-sitemap/)
- [Dynamic sitemap](https://ursy.com/wiki/dynamic-sitemap/)
- [HTML sitemap](https://ursy.com/wiki/html-sitemap/)
- [Index bloat](https://ursy.com/wiki/index-bloat/)
- [Canonical tag](https://ursy.com/wiki/canonical-tag/)

## Sources {#sources}

- [Google Search Central: Build and submit a sitemap](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap), checked 25 November 2026
- [Google Search Central: Manage your sitemaps with sitemap index files](https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps), checked 25 November 2026
- [Google Search Console Help: Manage your sitemaps using the Sitemaps report](https://support.google.com/webmasters/answer/7451001), checked 25 November 2026
- [sitemaps.org: Sitemaps XML format](https://www.sitemaps.org/protocol.html), checked 25 November 2026

*Updated 25 November 2026 by URSY.*
