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. Hreflang doubt use correctly

    Hreflang doubt use correctly

    Intermediate & Advanced SEO
    3 3 154
    • 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.
    • omar-moscat
      omar-moscat last edited by

      Hello,I have a question, I want to know which option is best for implementing a multi languages. We have a client whose website will have English and Spanish languages, both languages ​​have the same content but English we focus on the US and UK, and Spanish only for the country Spain, the question arises what is the correct nomenclature we use or would it be the best value.**Option 1:****Option 2:**Or any of the two options is correct What would be the correct ?. Another question, if a German user is in Spain, and do a search on (Google Spain), what will be the best option that should be implemented, / is-de / or single / de /, which one will position before ( provided that the statement I is correct). A greeting and thanks.

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

        You'll want the shortest, most technically feasible URL structure based on whatever website platform you're using. Subfolders like http://example.com/es/ and http://example.com/en/ are ideal, and there is a lot of talk about subdomain vs. subfolder on MOZ. Keep in mind you also have a http://example.com landing page, so you'll either need to redirect users or have visitors select a language on this home page. There is pretty thorough documentation here https://support.google.com/webmasters/answer/189077?hl=en on how to use the hreflang attribute in each case.

        I leave my default language as the base URL and put additional languages in subfolders. Statistically, I tend to rank higher for keywords in my default language than for the translated keywords in additional languages. You might want to target the market with the most traffic or conversions (whatever metric you prioritize) with the default URL and then add additional languages as subfolders, preferably without hyphens or underscores in the locale code, i.e. en-us, en-uk, etc. This is more for your visitors and not a particular ranking factor, but shorter domains are preferable.

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

          I would go with none of the above.

          Your second option has "en" on the Spanish line by the way.

          I would use this structure (and hreflang):

          Also, once you're done test your code on Flang.  And don't forget to do your inner pages as well. 🙂

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Use of "/" and using fractions in titles
            BobBawden1
            BobBawden1
            1
            3
            109

          • Hreflang Tags & Canonicals Being Used
            ThomasHarvey
            ThomasHarvey
            0
            3
            82

          • Using Hreflang Tags For Australian Domain Extension
            DirkC
            DirkC
            0
            2
            1.3k

          • Is this correct?
            Bio-RadAbs
            Bio-RadAbs
            0
            6
            1.6k

          • Hreflang targeted website using the root directory's description & title
            DirkC
            DirkC
            0
            3
            185

          • Is this a Correct Time to Use 302 Redirects?
            dawnieando
            dawnieando
            0
            5
            290

          • Hreflang
            Paul78
            Paul78
            0
            17
            1.3k

          • Use of rel="alternate" hreflang="x"
            john4math
            john4math
            0
            2
            707

          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