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
          • Indexed, not submitted in sitemap
            aalinlandacc
            aalinlandacc
            1
            4
            79

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

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

          • Anything new if determining how many of a sites pages are in Google's supplemental index vs the main index?
            SEMPassion
            SEMPassion
            0
            4
            390

          • Should I be concerned about Google indexing an old domain if the listings redirect to the new domain?
            Ray-pp
            Ray-pp
            0
            2
            87

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

          • Submitting a new sitemap index file. Only one file is getting read. What is the error?
            mm916157
            mm916157
            0
            4
            416

          • New Website, New URL, New Content - What do we do with the old site? Are 301's the only option?
            Valarlf
            Valarlf
            0
            3
            342

          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