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. Upgrade old sitemap to a new sitemap index. How to do without danger ?

    Upgrade old sitemap to a new sitemap index. How to do without danger ?

    Technical SEO Issues
    3 2 570
    • 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.
    • ClaudioHeilborn
      ClaudioHeilborn last edited by

      Hi MOZ users and friends.

      I have a website that have a php template developed by ourselves, and a wordpress blog in /blog/ subdirectory. Actually we have a sitemap.xml file in the root domain where are all the subsections and blog's posts. We upgrade manually the sitemap, once a month, adding the new posts created in the blog.

      I want to automate this process , so i created a sitemap index with two sitemaps inside it. One is the old sitemap without the blog's posts and a new one created with "Google XML Sitemap" wordpress plugin, inside the /blog/ subdirectory.

      That is, in the sitemap_index.xml file i have:

      • Domain.com/sitemap.xml (old sitemap after remove blog posts urls)

      • Domain.com/blog/sitemap.xml (auto-updatable sitemap create with Google XML plugin)

      Now i have to submit this sitemap index to Google Search Console, but i want to be completely sure about how to do this.

      I think that the only that i have to do is delete the old sitemap on Search Console and upload the new sitemap index, is it ok ?

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

        Hi there

        If you are combining sitemap indexes under one main sitemap index, then you'd simply just upload your new sitemap index to Search Console. Google will recognize, if implemented correctly, that there are other sitemaps under that main index and crawl accordingly.

        Does this answer your question? Let me know - thanks!

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

          Hi Patrick thanks for your prompt reply, I consider that´s the best option.

          Thanks for your advice!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Desktop & Mobile XML Sitemap Submitted But Only Desktop Sitemap Indexed On Google Search Console
            bridget.randolph
            bridget.randolph
            0
            6
            1.6k

          • New SEO manager needs help! Currently only about 15% of our live sitemap (~4 million url e-commerce site) is actually indexed in Google. What are best practices sitemaps for big sites with a lot of changing content?
            Nigel_Carr
            Nigel_Carr
            1
            4
            106

          • Advice for rapidly declining ranking-- can an old indexed sitemap cause this?
            dynedge
            dynedge
            0
            3
            50

          • Redirecting old Sitemaps to a new XML
            DennisSeymour
            DennisSeymour
            0
            4
            855

          • Sitemap indexation
            Morten_Hjort
            Morten_Hjort
            0
            8
            101

          • Google Webmaster tools Sitemap submitted vs indexed vs Index Status
            K-WINTER
            K-WINTER
            0
            5
            20.5k

          • I'm redesigning a website which will have a new URL format. What's the best way to redirect all the old URLs to the new ones? Is there an automated, fast way to do this?
            GregFindley.co.uk
            GregFindley.co.uk
            0
            2
            303

          • Submitting Sitemap File vs Sitemap Index File
            AU-SEO
            AU-SEO
            0
            5
            1.4k

          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