The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Duplicate XML sitemaps - 404 or leave alone?

    Duplicate XML sitemaps - 404 or leave alone?

    Technical SEO Issues
    3 3 736
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hakkasan
      Hakkasan last edited by

      We switched over from our standard XML sitemap to a sitemap index. Our old sitemap was called sitemap.xml and the new one is sitemapindex.xml.

      In Webmaster Tools it still shows the old sitemap.xml as valid. Also when you land on our sitemap.xml it will display the sitemap index, when really the index lives on sitemapindex.xml.

      The reason you can see the sitemap on both URLs is because this is set from the sitemap plugin. So the question is, should we change the plugin setting to let the old sitemap.xml 404, or should we allow the new sitemap index to be accessed on both URLs?

      1 Reply Last reply Reply Quote 0
      • RyanKent
        RyanKent last edited by

        It makes no difference.

        The only ones who access your XML sitemap are web crawlers. Web crawlers become aware of your sitemap location by three methods:

        • you notify the crawler such as in Google WMT

        • you notify the crawler with a path provided in your robots.txt file

        • you notify the crawler by pinging them with your sitemap information

        • if I was to add a 4th method, crawlers can guess /sitemap.xml as a default path

        As long as you have the a valid location set up in WMT (both Google and Bing), and you do not offer the alternate file name in your robots.txt or elsewhere, no one else will even know the sitemapindex.xml file exists.

        1 Reply Last reply Reply Quote 1
        • Thos003
          Thos003 last edited by

          If webmaster tools likes the old one then I wouldn't rock the boat. I don't think you are going to have any problems with having 2 site maps. But I've never toyed with this one.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • If I'm using a compressed sitemap (sitemap.xml.gz) that's the URL that gets submitted to webmaster tools, correct?
            ThompsonPaul
            ThompsonPaul
            0
            6
            1.8k

          • Desktop & Mobile XML Sitemap Submitted But Only Desktop Sitemap Indexed On Google Search Console
            bridget.randolph
            bridget.randolph
            0
            6
            1.6k

          • XML Sitemap Generators
            GPainter
            GPainter
            0
            2
            62

          • Can you have a /sitemap.xml and /sitemap.html on the same site?
            ThompsonPaul
            ThompsonPaul
            0
            6
            2.2k

          • 404 and Duplicate Content.
            KeriMorgret
            KeriMorgret
            0
            10
            379

          • Do I need an XML sitemap?
            pugh
            pugh
            0
            6
            9.2k

          • How to generate a visual sitemap using sitemap.xml
            Churchill1
            Churchill1
            0
            3
            8.4k

          • More than 1 XML Sitemap
            BradBorst
            BradBorst
            0
            4
            1.2k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy