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. Multi-lingual Site (Tags & XML SiteMap Question)

    Multi-lingual Site (Tags & XML SiteMap Question)

    International Issues
    5 3 1.6k
    • 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.
    • CeeC-Blogger
      CeeC-Blogger last edited by

      We have two sites that target users in two different countries in different languages in the following manner:

      Site 1

      es.site1.com - Spanish version

      Site 2

      site2.com/francais/..............

      Navigation and content are translated into the foreign language from English

      What is the best way to let Google know about these multi-lingual pages:

      A. Add the rel="alternate" and hreflang= in the source code for the hunders of pages we have.

      B. Or is there a tool we can use to crawl and create XML site maps for different language pages. What do we need to do in the XML site map so that Google know that sitemap1.xml for example relates to Spanish as an example

      many thanks

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

        Hi Hola (sorry for the redundancy 🙂 ), if adding the hreflang in your headers is too tricky and slows your page you may use the tag in the xml sitemap as you correctly said. In this article you have examples on how your sitemap should look like to have google fully understand it. You have to set up a standard language (in the article the base is english) and then add tags to tell google which is each language focused on. If your spanish language is focused to any spanish version you can just add es if your spanish version is focused to Spain you'll have to specify es-ES or es-MX if it's focused on mexico. Hope this helps!

        CeeC-Blogger 1 Reply Last reply Reply Quote 0
        • CeeC-Blogger
          CeeC-Blogger @mememax last edited by

          Hi Mememax,

          Many thanks for the response.

          Just so that I am super clear, which site map producing software would you recommend where I could specify such a command to be added for a site map for a specific directory or sub-domain.

          To me, the Google article seems to be suggesting that the hreflang commend needs to be added to each url in the site-map, and we have hundreds if not thousands.

          Best

          mememax 1 Reply Last reply Reply Quote 0
          • mememax
            mememax @CeeC-Blogger last edited by

            Hi, you can use xenu (which is free) or screaming frog if you have the license. They're both great crawling tools.

            Then the most difficult part is the association among all the different urls of each language. If you have any pattern which may help associate those pages you're done.

            Example:

            EN: www.domain.com/page/node-123
            ES: www.domain.com/pagina/nodo-123

            etc etc.

            In that sense with excel you can easily isolate the id of each page and build the xml with functions, since the XMl is pretty straightforward:

            ="<url><loc>"&URL&"</loc><xhtml:link < strong="">rel="alternate"** hreflang="de"****    href="""&GERMAN URL&""" />****<xhtml:link< strong=""> rel="alternate"**** hreflang="es"****    href="""&SPANISH URL&""" /></xhtml:link<></xhtml:link <>**</url>"

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

              Hi there,

              There's much more you can do:

              • Link all of your language versions using a crawlable language menu. Like this Google will be able to initially crawl and index these versions.
              • Create a Google Webmaster Tools profile for each one of your language versions independently, like this you will be able to generate a specific XML for each (besides tracking each one of them much more easily), and if they are not only language targeted but also, country targeted, you can also geolocate them through GWT too.
              • Add to each specific XML sitemap the hreflang annotations referring to the language of each one of your websites as specified here. To help you with this you can use this MediaFlow tool.
              • Add the hreflang annotations in the HTML too, in the head section of the HTML of each one of your different pages, as specified here.

              The more of these you do, the easier will be for Google to identify that these new version of your sites are targeting these additional languages.

              Thanks!

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Managing multi-regional and multilingual sites
                seoelevated
                seoelevated
                1
                2
                50

              • Correct Hreflang & Canonical Tags for Multi-Regional Website English Language Only having URL Parameters
                effectdigital
                effectdigital
                0
                2
                412

              • How to best set up international XML site map?
                DmitriiK
                DmitriiK
                0
                4
                783

              • Best practice for multi-language site?
                McCannSEO
                McCannSEO
                0
                4
                2.4k

              • Multi regional + multi lingual URLs
                DocdataCommerce
                DocdataCommerce
                0
                4
                348

              • What is the best SEO site structure for multi country targeting?
                ConradC
                ConradC
                0
                9
                5.2k

              • Site structure for multi-lingual hotel website (subfolder names)
                underground
                underground
                0
                5
                1.4k

              • Multi-lingual SEO: Country-specific TLD's, or migration to a huge .com site?
                Francisco_Meza
                Francisco_Meza
                0
                7
                2.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