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. Is there a way for me to automatically download a website's sitemap.xml every month?

    Is there a way for me to automatically download a website's sitemap.xml every month?

    Technical SEO Issues
    5 2 218
    • 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.
    • DeptAgency
      DeptAgency last edited by

      From now on we want to store all our sitemap.xml over the next years. Its a nice archive to have that allows us to analyse how many pages we have on our website and which ones were removed/redirected.

      Any suggestions?

      Thanks

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

        The way I would do it would be to make a simple PHP (or Perl) program that every day, week or month (as you may need it), archives your sitemap.xml on a specific directory on your server, and possibly zip it. As a PHP programmer myself, I can tell you that that's really simply to do. Just ask to a PHP programmer, I am sure it will make it in a couple hours!

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • DeptAgency
            DeptAgency @fablau last edited by

            Hi Fabrizo,

            How long would it take for a PHP programmer to write this code approximately? Since we would have to outsource this I would like an indication to oversee costs involved.

            Thanks!

            fablau 1 Reply Last reply Reply Quote 0
            • fablau
              fablau @DeptAgency last edited by

              If you use a MySQL database to store your website data, I think that to do this kind of automatic "archival" work by creating an automatic PHP script would take between 2 to 5 hours work. I don't see why it should take more than that.

              If someone tells you that it is going to take more than that, I would be suspicious. Either the programmer is not good enough, or wants to cheat on you. That unfortunately happens more than you think!!

              Be sure to ask for a step-by-step description of how they plan to complete the job. If you have doubts, please feel free to ask me, I am a pretty expert PHP programmer. I don't work for others, but just for myself (I built and keep tweaking my own websites virtualsheetmusic.com, musicianspage.com and others with very little help from external programmers).

              Good luck!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Hi, we are wanting to test a new version of one particular page on our website. What's the best way to run a test for a week without harming rankings. Do we use a 302 redirect or direct 100% of traffic using a tool like Optimizely?
                WebElaine
                WebElaine
                0
                2
                33

              • Strange URL's for client's site
                everestagency
                everestagency
                0
                3
                456

              • Sitemap issue? 404's & 500's are regenerating?
                jeff-rackaid.com
                jeff-rackaid.com
                0
                5
                263

              • New domain's Sitemap.xml file loaded to old domain - how does this effect SEO?
                KevinBudzynski
                KevinBudzynski
                0
                5
                179

              • What's the best way to handle Overly Dynamic Url's?
                GKLA
                GKLA
                0
                2
                309

              • As a wholesale website can our independent retailer's website use (copy) our content?
                ewanTHH
                ewanTHH
                0
                5
                514

              • Segmenting Website into XML Sitemaps
                wissamdandan
                wissamdandan
                0
                2
                917

              • Switching ecommerce CMS's - Best Way to write URL 301's and sub pages?
                tylerfraser
                tylerfraser
                0
                7
                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