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. 2 sitemaps on my robots.txt?

    2 sitemaps on my robots.txt?

    Technical SEO Issues
    6 4 9.2k
    • 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.
    • Webicultors
      Webicultors last edited by

      Hi,

      I thought that I just could link one sitemap from my site's robots.txt but... I may be wrong.

      So, I need to confirm if this kind of implementation is right or wrong:

      robots.txt for Magento Community and Enterprise

      ...
      Sitemap: http://www.mysite.es/media/sitemap/es.xml
      Sitemap: http://www.mysite.pt/media/sitemap/pt.xml

      Thanks in advance,

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

        Hello,

        Yes, multiple sitemaps are okay, and sometimes even advised!

        You can read Google's official response here."..it's fine for multiple Sitemaps to live in the same directory (as many as you want!)..."

        And you can see a case study showing how multiple sitemaps has helped traffic here on Moz.

        Hope this helps,

        Don

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

          You can also have multiple sitemaps on 3rd sites. Look at Moz robots.txt:
          Sitemap: https://moz.com/blog-sitemap.xml
          Sitemap: https://moz.com/ugc-sitemap.xml
          Sitemap: https://moz.com/profiles-sitemap.xml
          Sitemap: http://d2eeipcrcdle6.cloudfront.net/past-videos.xml
          Sitemap: http://app.wistia.com/sitemaps/36357.xml

          Also Google.com robots.txt:
          Sitemap: http://www.gstatic.com/culturalinstitute/sitemaps/www_google_com_culturalinstitute/sitemap-index.xml
          Sitemap: http://www.gstatic.com/dictionary/static/sitemaps/sitemap_index.xml
          Sitemap: http://www.gstatic.com/earth/gallery/sitemaps/sitemap.xml
          Sitemap: http://www.gstatic.com/s2/sitemaps/profiles-sitemap.xml
          Sitemap: http://www.gstatic.com/trends/websites/sitemaps/sitemapindex.xml
          Sitemap: https://www.google.com/sitemap.xml

          Also Bing.com robots.txt:
          Sitemap: http://cn.bing.com/dict/sitemap-index.xml
          Sitemap: http://www.bing.com/offers/sitemap.xml

          So using multiple sitemaps it's OK and they can be also hosted on 3rd party server.

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

            ok, just one detail: these domains are for a multilang site.

            I mean, both have quite the same content: one in spanish and the other un portuguese.

            Thanks a lot.

            Mobilio 1 Reply Last reply Reply Quote 1
            • Mobilio
              Mobilio @Webicultors last edited by

              Well if both sitemaps are for same site then it's OK. But it's much better to implement hreflang as this is explained here:https://support.google.com/webmasters/answer/2620865?hl=en

              I'm not sure that Magento can do this but you always can hire 3rd party dev for building plugin/module for this.

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

                We recently changed our protocol to https

                We have in our robots.txt our new https sitemap link

                Our agency is recommending we add another sitemap in our robots.txt file to our insecure sitemap - while google is reindexing our secure protocol. They recommend this as a way for all SEs to pick up on 301 redirects and swap out unsecured results in the index more efficiently.

                Do you agree with this?

                I am in the camp that we should have have our https sitemap and google will figure it out and having 2 sitemaps one to our old http and one to our new https in our robots.txt is redundant and may be viewed as duplicate content, not as a positive of helping SEs to see 301s better to reindex secure links.

                Whats your thought? Let me know if I need to explain more.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • How to stop robots.txt restricting access to sitemap?
                  PatrickDelehanty
                  PatrickDelehanty
                  0
                  3
                  181

                • Google Webmaster Tools is saying "Sitemap contains urls which are blocked by robots.txt" after Https move...
                  vetofunk
                  vetofunk
                  0
                  5
                  11.2k

                • "Url blocked by robots.txt." on my Video Sitemap
                  sergeystefoglo
                  sergeystefoglo
                  0
                  3
                  521

                • Will it be possible to point diff sitemap to same robots.txt file.
                  DirkC
                  DirkC
                  0
                  3
                  268

                • Is sitemap required on my robots.txt?
                  LoganRay
                  LoganRay
                  0
                  4
                  7.3k

                • Robots.txt and Multiple Sitemaps
                  allstatetransmission
                  allstatetransmission
                  0
                  3
                  10.9k

                • Question about construction of our sitemap URL in robots.txt file
                  danatanseo
                  danatanseo
                  0
                  16
                  1.6k

                • Robots.txt and robots meta
                  TheEspresseo
                  TheEspresseo
                  0
                  5
                  1.1k

                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