undefined
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
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • 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.

    Let your business shine with Listings AI
    Moz Local

    Let your business shine with Listings AI

    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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • 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.

    • 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
2.5k
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 Jul 30, 2018, 6:37 AM

    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 Aug 5, 2018, 9:03 AM Aug 5, 2018, 9:03 AM

      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 Aug 4, 2018, 11:24 PM Aug 4, 2018, 11:24 PM

        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 Aug 5, 2018, 9:03 AM Reply Quote 0
        • Nigel_Carr
          Nigel_Carr @katemorris last edited by Aug 1, 2018, 5:42 AM Aug 1, 2018, 5:34 AM

          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 Aug 4, 2018, 11:24 PM Reply Quote 1
          • katemorris
            katemorris @Nigel_Carr last edited by Jul 31, 2018, 6:05 PM Jul 31, 2018, 6:05 PM

            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 Aug 1, 2018, 5:34 AM Reply Quote 1
            • Nigel_Carr
              Nigel_Carr last edited by Jul 30, 2018, 11:48 AM Jul 30, 2018, 11:47 AM

              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 Jul 31, 2018, 6:05 PM Reply Quote 1
              • 1 / 1
              1 out of 6
              • First post
                1/6
                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

              • vetofunk

                Robots.txt & Disallow: /*? Question!

                Hi, I have a site where they have: Disallow: /*? Problem is we need the following indexed: ?utm_source=google_shopping What would the best solution be? I have read: User-agent: *
                Allow: ?utm_source=google_shopping
                Disallow: /*? Any ideas?

                Intermediate & Advanced SEO | Mar 30, 2020, 5:48 AM | vetofunk
                0
              • Wana-Ryd

                Readd/Reindex a page that was 410'd

                A script of ours had an error that caused some pages we didn't wish 410'd to be 410'd, we caught it in about 12 hours but for some pages it was too late. My question is, will those pages be reindexed again and how will that affect their page ranking will they eventually be back where they were?  Would submitting a site map with them help, or what would be the best way to correct this error (submit the links to google indexer maybe?).

                Intermediate & Advanced SEO | Jan 2, 2019, 12:06 PM | Wana-Ryd
                0
              • rmehta1

                [Very Urgent] More 100 "/search/adult-site-keywords" Crawl errors under Search Console

                I just opened my G Search Console and was shocked to see more than 150 Not Found errors under Crawl errors. Mine is a Wordpress site (it's consistently updated too): Here's how they show up: Example 1: URL: www.example.com/search/adult-site-keyword/page2.html/feed/rss2 Linked From: http://an-adult-image-hosting.com/search/adult-site-keyword/page2.html Example 2 (this surprised me the most when I looked at the linked from data): URL: www.example.com/search/adult-site-keyword-2.html/page/3/ Linked From: www.example.com/search/adult-site-keyword-2.html/page/2/ (this is showing as if it's from our own site) http://a-spammy-adult-site.com/search/adult-site-keyword-2.html Example 3: URL: www.example.com/search/adult-site-keyword-3.html Linked From: http://an-adult-image-hosting.com/search/adult-site-keyword-3.html How do I address this issue?

                Intermediate & Advanced SEO | Dec 23, 2016, 3:53 PM | rmehta1
                0
              • ColeBField

                Where does Movie Theater schema markup code live?

                What I am trying to accomplishI want what AMC has. When searching google for a movie at AMC near me, Google loads the movie times right onto the top of the first page. When you click the movie time it links to a pop up window that gives you the option to purchase from MovieTickets.com, Fandango or AMC.com.Info about my theaterMy theater hosts theater info and movie time info on their website. Once you click the time you want it takes you to a third party ticket fulfillment site via sub domain that I have little control over. Currently Fandango tickets show up in Google like AMCs but the option to buy on my theater site does not.Questions Generally, how do I accomplish this? Does the schema code get implemented on the third party ticket purchasing site or on my site? How can I ensure that the Google pop-up occurs so that users have a choice to purchase via Fandango or on my theaters website? TSt9g

                Intermediate & Advanced SEO | Aug 31, 2016, 10:46 AM | ColeBField
                2
              • ShaqD

                Why is our pagerank is still only 3/10?

                Hi, Our site https://soundbetter.com has been live for 2 years now, and as of yet we haven't yet been able to get our PageRank above 3/10. We have thousands of unique pages and plenty of original contextual content, we avoid duplicate content best we can, follow google's best practices for site structure, deal with any issues that come up in webmaster tools, have schema.org markup, avoid link spamming, have inbound links from authority sites (though OSE doesn't show most of them for some reason), lots of social shares to our pages and the domain has been owned by us for 12 years. Any thoughts on why we would still have a PR of 3? Thanks for helping

                Intermediate & Advanced SEO | Apr 9, 2015, 7:40 AM | ShaqD
                0
              • geniusenergyltd

                Citation/Business Directory Question...

                A company I work for has two numbers... one for the std call centre and one for tracking SEO. Now, if local citation/business directory listings have the same address but different numbers, will this affect local/other SEO results? Any help is greatly appreciated! 🙂

                Intermediate & Advanced SEO | May 2, 2014, 4:42 PM | geniusenergyltd
                0
              • fablau

                Delete or not delete old/unanswered forum threads?

                Hello everyone, here is another question for you: I have several forum postings on my websites that are pretty old and so they are sort of "dead discussion" threads. Some of those old discussion threads are still getting good views (but not new postings), and so I presume may be valuable for some users. But most of them are just answers to personal questions that I doubt someone else could be interested in. Besides that, many postings are just single, unanswered questions still waiting for an answer, forgotten, they are just sitting there, and will probably stay unanswered for years.... I don't think this may be good for SEO, am I right? How do you suggest to approach this kind of issues on forums or discussions sections on a website? I am eager to know your thoughts on all this. Thank you in advance! All the best, Fab.

                Intermediate & Advanced SEO | Sep 9, 2013, 2:36 PM | fablau
                0
              • COEDMediaGroup

                301 redirect with /? in URL

                For a Wordpress site that has the ending / in the URL with a ? after it... how can you do a 301 redirect to strip off anything after the / For example how to take this URL domain.com/article-name/?utm_source=feedburner and 301 to this URL domain.com/article-name/ Thank you for the help

                Intermediate & Advanced SEO | Apr 24, 2013, 6:25 AM | COEDMediaGroup
                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
              • 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 - 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.