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. International Issues
    4. Can I add more than one XML sitemap in my Robots.txt File?

    Can I add more than one XML sitemap in my Robots.txt File?

    International Issues
    3 3 3.7k
    • 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.
    • hfranz
      hfranz last edited by

      I have 3 domains all hosted on the same Magento Enterprise Platform. Each domain targets a different county.

      .co.uk, .com.au, and .com.

      Can I add all three sitemaps in my robots.txt file?

      www.example.com/sitemap.xml

      www.example.com.au/sitemap.xml

      www.example.co.uk/sitemap.xml

      1 Reply Last reply Reply Quote 0
      • Carson-Ward
        Carson-Ward last edited by

        You can certainly add as many sitemaps to your robots.txt file as you want; however, the references in the sitemap should refer to the resources on the domain in question. For example, you won't want to include a sitemap reference on example.com's robots.txt that refers to URLs on example.co.uk.

        If the sites have all the same pages, you can just include the same sitemap with relative URLs. You can also just add the correct sitemap to the correct domain in Google Webmaster Tools. Hope that helps!

        gfiorelli1 1 Reply Last reply Reply Quote 1
        • gfiorelli1
          gfiorelli1 @Carson-Ward last edited by

          As an add-on, I would really suggest you to implement the rel="alternate" hreflang="x-X" tags in your sitemaps.xml in order to better your international SEO efforts and geotargeting.

          Check this official post by Google

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Herflang sitemap
            MTBE
            MTBE
            0
            4
            74

          • International SEO Robots.txt Question
            Tenlo
            Tenlo
            0
            2
            133

          • How can I restrict the domains country by country?
            Mobilio
            Mobilio
            0
            2
            316

          • International Sites - Sitemaps, Robots & Geolocating in WMT
            kojikawano
            kojikawano
            0
            5
            258

          • Sitemap for multilanguage website
            AymanH
            AymanH
            0
            6
            163

          • Blocking domestic Google's in Robots.txt
            Bush_JSM
            Bush_JSM
            0
            5
            274

          • Multi-lingual Site (Tags & XML SiteMap Question)
            Aleyda
            Aleyda
            0
            5
            1.6k

          • Robots.txt issue with indexation
            SEOKeith
            SEOKeith
            0
            4
            210

          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