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. Moz Pro
    4. Sitemap Warnings

    Sitemap Warnings

    Moz Pro
    6 3 1.8k
    • 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.
    • Aggie
      Aggie last edited by

      Due to an issue with our CMS, I had a bunch of URL aliases that were being indexed and causing duplicate content issues.

      I disallowed indexing of the bad URLs (they all had a similar URL structure so that was easy).  I did this until I could clean up the bad URLs

      I then recieved a bunch of sitemap warnings that the URLs that I blocked URLs with robots.txt that were in the sitemap.

      Isn't this the point of robots.txt?  Why am I getting warnings and how can I get rid of them?

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

        you are not supposed to include blocked URLs in the sitemap.xml files, or Google considers it wasting their crawl time. Are these automated sitemap.xml files?

        You're basically saying "come index these pages i've listed, but don't index them!"

        Remove the URLs that are blocked content (or rerun/regenerate them) and resubmit the sitemaps and the warnings will go away.

        Aggie 2 Replies Last reply Reply Quote 3
        • pattersonla
          pattersonla last edited by

          The purpose of your sitemap is to tell Google to go out and index the pages you specify. The purpose of the robots.txt is to tell Google not to index the page. The warning is likely just a precaution to let you know that you may have by accident requested them to block something in robots.txt. If you remove the URL's from your submitted sitemap the warnings should disappear. If you leave them, you will have warnings but Google should not index the content since your blocked it in robots.txt.

          Aggie 1 Reply Last reply Reply Quote 1
          • Aggie
            Aggie @irvingw last edited by

            Irving,

            Totally get that and we're working to ensure they are no longer included in the sitemap.

            Thanks,

            Lisa

            1 Reply Last reply Reply Quote 0
            • Aggie
              Aggie @pattersonla last edited by

              Ok, so we took the restriction out of robots.txt while IT tries to fix the issue of URLs showing up on the sitemap that shouldn't.

              Warnings haven't fallen off and now our sitemap is a day behind now as it's stuck in pending for almost a full day.

              Any thoughts on what might be causing? I'm assuming this is impacting what's indexed and hurting our site.

              1 Reply Last reply Reply Quote 0
              • Aggie
                Aggie @irvingw last edited by

                Irving -

                Ok, so we took the restriction out of robots.txt while IT tries to fix the issue of URLs showing up on the sitemap that shouldn't.

                Warnings haven't fallen off and now our sitemap is a day behind now as it's stuck in pending for almost a full day.

                Any thoughts on what might be causing? I'm assuming this is impacting what's indexed and hurting our site.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Meta no index crawler warnings
                  Andy.Drinkwater
                  Andy.Drinkwater
                  0
                  2
                  24

                • Missing Title for Sitemap
                  trung.ngo
                  trung.ngo
                  0
                  2
                  372

                • Issues with Moz producing 404 Errors from sitemap.xml files recently.
                  LynnPatchett
                  LynnPatchett
                  0
                  10
                  783

                • Can anybody recommend me a softwear to create sitemap?
                  reisefm
                  reisefm
                  0
                  11
                  513

                • 404 Page/Content Duplicates & its "Warning"
                  Cyrus-Shepard
                  Cyrus-Shepard
                  0
                  4
                  714

                • Wordpress-related warnings
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  10
                  706

                • Campaign warnings and recommendations
                  CPLDistribution
                  CPLDistribution
                  0
                  7
                  726

                • Title tag on sitemap.xml
                  Theo-NL
                  Theo-NL
                  1
                  2
                  4.3k

                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