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. Redirecting old Sitemaps to a new XML

    Redirecting old Sitemaps to a new XML

    Technical SEO Issues
    4 2 855
    • 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.
    • IgorMateski
      IgorMateski last edited by

      I've discovered a ton of 404s from Google's WMT crawler looking for mydomain.com/sitemap_archive_MONTH_YEAR. There are tons of these monthly archive xmls. I've used a plugin that for some reason created individual monthly archive xml sitemaps and now I get 404s. Creating rules for each archive seems a bad solution. My current sitemap plugin creates a single clean one mydomain.com/sitemap_index.xml.

      How can I create a redirect rule in the Redirection WP plugin that will redirect any URL that has the 'sitemap' and 'xml' string in it to my current xml sitemap?

      I've tried using a wildcard like so: mysite.com/sitemap*.*, mysite.com/sitemap ., mysite.com/sitemap(.), mysite.com/sitemap (.) but none of the wildcard uses got the general redirect to work. Is there a way to make this happen with the WP Redirection plugin? If not, is there a htaccess rule, and what would the code be for it? Im not very fluent with using general redirects in htaccess unfortunately. Thanks!

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

        Hi again Igor!

        Those pages do not exist anymore right?

        If you load them, they just show a 404? That's how I understand this since you moved to using a different plugin.

        If your site's 404 page is optimized then, in my case, I would just mark them all as fixed and wouldn't bother with them.

        I'll also make sure no other page is linking to those dead links.

        As an alternative, I would export them, then do a redirect to the homepage. It'll bog you down if it's a lot so it's my last choice.

        Hope that helps 🙂

        IgorMateski 1 Reply Last reply Reply Quote 0
        • IgorMateski
          IgorMateski @DennisSeymour last edited by

          Hey there!

          The 404s are from Webmaster tools. It's the sitemap xml files that are missing. But Google is still looking for them. So if Google looks for the non-existant xmls, is this a big deal, or should I just ignore it since the new sitemap is already in WMT and there's no problem with crawling/indexing the site.

          Thanks bud.

          DennisSeymour 1 Reply Last reply Reply Quote 0
          • DennisSeymour
            DennisSeymour @IgorMateski last edited by

            Hi! Yeah, that's what i said. I would just ignore it and mark as fixed. Just be sure you crawl the whole site so that you dont have the old one linked on some page on your site.

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • How do I redirect old html pages to new site?
              ThompsonPaul
              ThompsonPaul
              0
              5
              344

            • Upgrade old sitemap to a new sitemap index. How to do without danger ?
              ClaudioHeilborn
              ClaudioHeilborn
              0
              3
              570

            • Are mobile annotation in PC xml sitemaps a replacement for mobile xml sitemaps?
              bridget.randolph
              bridget.randolph
              0
              4
              377

            • 302 redirect used, submit old sitemap?
              GeoffKenyon
              GeoffKenyon
              0
              4
              1.4k

            • Redirecting old domain to new domain with wordpress
              bobrock4
              bobrock4
              0
              4
              277

            • Old URL redirect to New URL
              Dr-Pete
              Dr-Pete
              0
              7
              695

            • New project old domain should I 301 redirect while new sites built
              MikeDelaCruz77
              MikeDelaCruz77
              0
              3
              346

            • 301 redirect: Old pages to new
              Yozzer
              Yozzer
              0
              5
              777

            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