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. Search Console rejecting XML sitemap files as HTML files, despite them being XML

    Search Console rejecting XML sitemap files as HTML files, despite them being XML

    Technical SEO Issues
    5 3 89
    • 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.
    • SearchDeploy
      SearchDeploy last edited by

      Hi Moz folks,

      We have launched an international site that uses subdirectories for regions and have had trouble getting pages outside of USA and Canada indexed.

      Google Search Console accounts have finally been verified, so we can submit the correct regional sitemap to the relevant search console account.

      However, when submitting non-USA and CA sitemap files (e.g. AU, NZ, UK), we are receiving a submission error that states, "Your Sitemap appears to be an HTML page," despite them being .xml files, e.g. http://www.t2tea.com/en/au/sitemap1_en_AU.xml.

      Queries on this suggest it's a W3 Cache plugin problem, but we aren't using Wordpress; the site is running on Demandware.

      Can anyone guide us on why Google Search Console is rejecting these sitemap files? Page indexation is a real issue.

      Many thanks in advance!

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

        Extra thought: We're wondering if it's a bigger issue involving the redirect mechanic? Currently, users from a specific country are automatically redirected to their respective locale (e.g. US users trying to access Australian URLs are redirected to /en/us/). Is there something in this where Googlebots aren't able to access AU, NZ and UK subdirectories and sitemap files because they're coming from North America?

        Martijn_Scheijbeler 1 Reply Last reply Reply Quote 0
        • Martijn_Scheijbeler
          Martijn_Scheijbeler @SearchDeploy last edited by

          Quite sure that's the case. When I'm following the URL the site also redirects me to a normal page. What is likely is that the same thing is happening to the bots of Google.

          MickEdwards 1 Reply Last reply Reply Quote 1
          • MickEdwards
            MickEdwards @Martijn_Scheijbeler last edited by

            agree

            SearchDeploy 1 Reply Last reply Reply Quote 0
            • SearchDeploy
              SearchDeploy @MickEdwards last edited by

              Thanks, both. We'll explore a better solution with Demandware.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Google Search console says 'sitemap is blocked by robots?
                BlueprintMarketing
                BlueprintMarketing
                1
                10
                1.2k

              • If I'm using a compressed sitemap (sitemap.xml.gz) that's the URL that gets submitted to webmaster tools, correct?
                ThompsonPaul
                ThompsonPaul
                0
                6
                1.8k

              • Would a Search Engine treat a sitemap hosted in the cloud in the same way as if it was simply on /sitemap.htm?
                RuthHearn
                RuthHearn
                0
                4
                63

              • Despite proper hreflang and lang attribute implementation using xml sitemaps, I'm seeing sitelinks from different countries. Any help please?
                0
                1
                32

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

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

              • Can you have a /sitemap.xml and /sitemap.html on the same site?
                ThompsonPaul
                ThompsonPaul
                0
                6
                2.2k

              • How to generate a visual sitemap using sitemap.xml
                Churchill1
                Churchill1
                0
                3
                8.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