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. Intermediate & Advanced SEO
    4. Sitemaps: Alternate hreflang

    Sitemaps: Alternate hreflang

    Intermediate & Advanced SEO
    2 2 663
    • 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.
    • marianoSoler98
      marianoSoler98 last edited by

      Hi, some time ago I have read that there is a limit of 50.000 URLs per sitemap file (So, you need to create a sitemap index and separate files with 50.000 urls each). [Source]. Now we are about to implement the link hreflang in the sitemap [Source], and we dont know if we have to count each alternate as a different url.

      We have 21 different well positioned domains (Same name, different cctlds, a little different content [varies in currencies, taxes, some labels, etc] depending in the target country) so the amount of links per url would be high.

      A) Shall we count each link alternate as a separate url, or just the original ones? For example, if we have to count the link alternates, that would make us have 2380pages per sitemap, each with one original url and 20 alternate links. (Always being aware of the 50mb maximum filesize)

      B) Actually we have one sitemap per domain. Using this, shall we generate one per domain using the matching domain as original url? Or it would be the same if we upload to every domain the same sitemap?

      Thanks

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

        Hi Mariano

        A)As you mentioned Google supports up to 50,000 URLs in a Sitemap, This limit applies only to the number of URLs referenced specifically in <loc>tags.</loc>

        URLs referenced as hreflang don't count towards the 50k URLs.

        B) Yes try to implement the sitemaps as they are different domains.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • Can the Alternate/hreflang tags harm SEO?
          DmitriiK
          DmitriiK
          0
          2
          245

        • Multiple Sitemaps Vs One Sitemap and Why 500 URLs?
          Leonie-Kramer
          Leonie-Kramer
          0
          2
          270

        • What Happens If a Hreflang Sitemap Doesn't Include Every Language for Missing Translated Pages?
          JaneCopland
          JaneCopland
          0
          2
          115

        • Custom sitemap or sitemap generator tool
          Felip3
          Felip3
          0
          2
          407

        • Sitemaps
          0
          1
          126

        • XML Sitemap index within a XML sitemaps index
          Martijn_Scheijbeler
          Martijn_Scheijbeler
          0
          2
          1.1k

        • Broken sitemaps vs no sitemaps at all?
          smarties954
          smarties954
          0
          2
          134

        • Sitemap or Sitemaps for Magento and Wordpress?
          RyanKent
          RyanKent
          0
          4
          2.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