Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. Hreflang : mixing with/without country code for same language

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Hreflang : mixing with/without country code for same language

    Intermediate & Advanced SEO
    3
    6
    2531
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • AlexisH
      AlexisH last edited by

      Hello,

      I would like to display 3 different english versions of my website : 1 for UK, 1 for CA and 1 for other english users.

      It would look like this for a page:

      . (english content with £ prices)

      <link rel="alternate" href="https: xxx.com="" en-ca" hreflang="en-CA">(english content with $CA prices)</link rel="alternate" href="https:>

      <link rel="alternate" href="https: xxx.com="" en="" " hreflang="en">(english content without currency)</link rel="alternate" href="https:>

      I wonder if I can mix this hreflang without country code with hreflangs with country code for the 2 other specific versions... or if the hreflang without country code version will appear whatever the country, even if i specified it .

      In other terms, is  hreflang="en" > hreflang="en-CA" + hreflang="en-GB" if tagged together on a same page?

      Thank you

      1 Reply Last reply Reply Quote 0
      • Nigel_Carr
        Nigel_Carr @katemorris last edited by

        I think you are taking that rather too literally.

        For example, as I said the .com could be the one targeted with an hreflang="x-default. A person in the UK would, by definition be served with the .com/uk version.

        You wouldn't put a hreflang="x-default on the /uk homepage.

        Regards

        Nigel

        1 Reply Last reply Reply Quote 0
        • katemorris
          katemorris @Nigel_Carr last edited by

          The x-default is just what the link you provided says it is:

          From Google: The reserved value hreflang="x-default" is used when no other language/region matches the user's browser setting. This value is optional, but recommended, as a way for you to control the page when no languages match. A good use is to target your site's homepage where there is a clickable map that enables the user to select their country.

          If you use it for just one language, the issue comes when you have more than one language. The setup for x-default is for when there is no language detected, not that a general, non-regional language is detected.

          Nigel_Carr 1 Reply Last reply Reply Quote 0
          • Nigel_Carr
            Nigel_Carr @katemorris last edited by

            Surely the x-default is, as the tag suggests, a default where no country or language is targeted? So if someone resided in an untargeted country and the site happened to rank it would be that one that came up.

            Someone in the UK (which contained a UK target tag) would not go to default first, as you suggest, and then select their own country & language. That's misleading.

            I agree that the subfolders would be used to target each country but you would still need both country and language. With Canada you may wish to target en and fr as both are relevant and each would reside in a different sub-folder.

            The language is essential imho.

            Regards Nigel

            katemorris 1 Reply Last reply Reply Quote 1
            • katemorris
              katemorris @Nigel_Carr last edited by

              Actually, the x-default is meant to be for a page that allows users to select a country/language combination.

              Alexis, in theory, what you are proposing should work. However, it is not always perfect. There is so much that goes into how Google serves content to each user. You might not see it working perfectly every time, but you can use the non-country with two country-specific hreflang tags together.

              In fact, the country coded hreflang tags were meant to be dialect-specific. So a site could have US English content and UK English content, but also more general English content for the rest of the English speaking people.

              In fact, it sounds like if the only thing changing is the currency, you might try geo-targeting subfolders. You can do hreflang in addition to that, but geotargeting is what is meant to be used here.

              1. Content for CA: https://www.domain.com/ca/content
              2. Content for GB: https://www.domain.com/gb/content
              3. General Content: https://www.domain.com/content

              Claim the subfolders in Google Search Console as different properties and then target each one to those countries in the International Targeting area.

              Then add hreflang the way you mentioned with those URLs. However, this setup won't work if you are doing things with another language mixed in. If you are planning on that, let me know.

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

                Hi Alexis

                If the third one is the default then you need a default hreflang tag.

                https://moz.com/learn/seo/hreflang-tag

                So the last one would have this tag pointing to it:

                More on Google here:

                https://support.google.com/webmasters/answer/189077?hl=en

                It will then become the default site for all people not in England or Canada. Google will not see any of them as duplicate content.

                Regards

                Nigel

                katemorris 1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • AdenaSEO

                  Few pages without SSL

                  Hi, A website is not fully secured with a SSL certificate.
                  Approx 97% of the pages on the website are secured. A few pages are unfortunately not secured with a SSL certificate, because otherwise some functions on those pages do not work. It's a website where you can play online games. These games do not work with an SSL connection. Is there anything we have to consider or optimize?
                  Because, for example when we click on the secure lock icon in the browser, the following notice.
                  Your connection to this site is not fully secured Can this harm the Google ranking? Regards,
                  Tom

                  Intermediate & Advanced SEO | | AdenaSEO
                  1
                • navdm

                  Hreflang in header...should I do a Sitemap?

                  A client implemented hreflang tags in the site header. MOZ says you aren't supposed to do an hreflang Sitemap as well. My question is how should I do a Sitemap now (or should I do one at all)?

                  Intermediate & Advanced SEO | | navdm
                  0
                • Caro-O

                  Using hreflang for international pages - is this how you do it?

                  My client is trying to achieve a global presence in select countries, and then track traffic from their international pages in Google Analytics. The content for the international pages is pretty much the same as for USA pages, but the form and a few other details are different due to how product licensing has to be set up. I don’t want to risk losing ranking for existing USA pages due to issues like duplicate content etc. What is the best way to approach this? This is my first foray into this and I’ve been scanning the MOZ topics but a number of the conversations are going over my head,so suggestions will need to be pretty simple 🙂 Is it a case of adding hreflang code to each page and creating different URLs for tracking. For example:
                  URL for USA: https://company.com/en-US/products/product-name/
                  URL for Canada: https://company.com/en-ca/products/product-name /
                  URL for German Language Content: https://company.com/de/products/product-name /
                  URL for rest of the world: https://company.com/en/products/product-name /

                  Intermediate & Advanced SEO | | Caro-O
                  1
                • McTaggart

                  Membership/subscriber (/customer) only content and SEO best practice

                  Hello Mozzers, I was wondering whether there's any best practice guidance out there re: how to deal with membership/subscriber (existing customer) only content on a website, from an SEO perspective - what is best practice? A few SEOs have told me to make some of the content visible to Google, for SEO purposes, yet I'm really not sure whether this is acceptable / manipulative, and I don't want to upset Google (or users for that matter!) Thanks in advance, Luke

                  Intermediate & Advanced SEO | | McTaggart
                  0
                • eugene_bgb

                  Hreflang in vs. sitemap?

                  Hi all, I decided to identify alternate language pages of my site via sitemap to save our development team some time.  I also like the idea of having leaner markup. However, my site has many alternate language and country page variations, so after creating a sitemap that includes mostly tier 1 and tier 2 level URLs, i now have a sitemap file that's 17mb.  I did a couple google searches to see is sitemap file size can ever be an issue and found a discussion or two that suggested keeping the size small and a really old article that recommended keeping it < 10mb. Does the sitemap file size matter?  GWT has verified the sitemap and appears to be indexing the URLs fine. Are there any particular benefits to specifying alternate versions of a URL in vs. sitemap? Thanks, -Eugene

                  Intermediate & Advanced SEO | | eugene_bgb
                  0
                • Mark_Ch

                  Best Practice For Company/Client Logo Endorsement

                  Article: http://searchengineland.com/homepage-sliders-are-bad-for-seo-usability-163496 I came across the following article and somewhat agree with the authors summary.
                  I find sliders a distraction to B2B users and overall offers no SEO benefits. Scenario
                  As a service provider, over time I have worked with many high profile blue chip comnpanies. As part of my site redesign, I'm looking to show users my client achievements. My initial thoughts are to carry out the following: On the home page I'm looking to incorporate some high profile company logos (similar to http://www.semrush.com) with a hyperlink "more customers" to the right of logo caption. The link will take the user to a dedicated page (www.mydomain.co.uk/customer) showing a comprehensive list of company logos. Questions
                  #1 Is the above practice good or bad.
                  #2 Is there a better way to achieve the above Any other practical advise on user experience, social engagement, website speed, etc would be much appreciated. Thanks Mark

                  Intermediate & Advanced SEO | | Mark_Ch
                  0
                • alextanner

                  Duplicate page titles Wordpress SEO/Yoast

                  Hi I have a Wordpress site using the Wordpress SEO plugin by Yoast. Everything appears to be fine except that on 1 Feb SEOMoz crawl suddenly picked up a bunch of errors. The errors are duplicate page titles, and these exist only for the mysite.com/page/X pages. I can't find any setting in Yoast that looks wrong or tells me how to fix this. The pages are also dynamically canonicalizing to themselves - not sure if this makes any difference although I don't know how this is happening. Does anyone know how to fix this duplicate title error? Alex

                  Intermediate & Advanced SEO | | alextanner
                  0
                • UnderRugSwept

                  /%category%/%postname%/ Permalink structure

                  Mostly everyone seems to agree that /%category%/%postname%/ is the best blog structure. I'm thinking of changing my structure to that because now it's structured by date which is bad. But almost all of my posts are assigned to more than one category. Won't this create duplicate pages?

                  Intermediate & Advanced SEO | | UnderRugSwept
                  0

                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
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.