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. Technical SEO Issues
    4. Several hreflang links pointing to same URL

    Several hreflang links pointing to same URL

    Technical SEO Issues
    4 3 238
    • 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.
    • dimitrihuyghe
      dimitrihuyghe last edited by

      Hi,

      Does anyone know whether hreflang links can be used using the following markup?

      I can't seem to find any info on this particular usage, but it "feels" incorrect to me. (duplicate content issues)
      Our development team tells me this is the way the markup should be, since languages are initially set using a cookie and all different languages are using the same URL.

      Thanks!

      <link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">nl</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">x-default</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">fr</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">en</a>"/><link rel="<a class="attribute-value">alternate</a>" href="<a class="attribute-value">https://www.littlethingz.be</a>" hreflang="<a class="attribute-value">de</a>"/>
      
      1 Reply Last reply Reply Quote 0
      • TukTown
        TukTown last edited by

        Hi Dimitri,

        You're most definitely right in your assumption that this is incorrect. Those are not even properly written hreflang tags, and are therefore useless.

        The purpose of hreflang is to help search engines determine which language version of an otherwise duplicate webpage should be served to a user in a particular geographical area. Therefore, each individual hreflang tag includes both a country and a language. For instance, if you want users finding you through search in the US to be served the English language version of a webpage, the hreflang tag would be as follows:

        However, if you wanted your users in Canada to be served the French version of a webpage (if it's targeted at a Quebecoi audience for instance), the hreflang tag would be as follows:

        I don't think your current hreflang tags are damaging you as they're incorrectly formatted and probably therefore disregarded, but you should at the very least remove them until they've constructed an accurate hreflang set. How many languages is your site in?

        Hope this helps!

        1 Reply Last reply Reply Quote 3
        • dimitrihuyghe
          dimitrihuyghe last edited by

          Thanks for your reply TukTown.

          The website is in 4 languages. English, French, Dutch and German.
          Google support states you can target a language only, without specifying a region:
          "
          Supported language/region codes

          The value of the hreflang attribute identifies the language (in ISO 639-1 format) and optionally a region (in ISO 3166-1 Alpha 2 format) of an alternate URL. (The language need not be related to the region.) For example:

          de: German language content, independent of region
              en-GB: English language content, for GB users
              de-ES: German language content, for users in Spain
          "

          We are targeting the Dutch language in two different countries. (Belgium and The Netherlands)

          The issue I'm raising is that all hreflang-tags, plus the canonical tag, are pointing to the same URL.

          Will bots be able to identify the correct language with this mark-up?

          Supported language/region codes

          The value of the hreflang attribute identifies the language (in ISO 639-1 format) and optionally a region (in ISO 3166-1 Alpha 2 format) of an alternate URL. (The language need not be related to the region.) For example:

          • de: German language content, independent of region
          • en-GB: English language content, for GB users
          • de-ES: German language content, for users in Spain
          effectdigital 1 Reply Last reply Reply Quote 0
          • effectdigital
            effectdigital @dimitrihuyghe last edited by

            Yeah you can do language only hreflangs. But it's pure nonsense to direct Google to the very same URL and state that it is the URL for all of those different languages. At the end of the day, Google will crawl from one data centre at once which may be from one of many countries. It will see one version of the page, and assume that 'this is what the page is'

            If the site structure is that you have one URL only and the contents are modified based on the user's origin, then the structure is wrong as Google will have a very hard time ranking one URL as many different URLs. People who have such a structure always end up here, always argue why it's ok and then end up 'doing it properly' later on as it just doesn't work

            Also note that, if you have one version of a page served to people in different regions (e.g: an EN page which is stated in the hreflangs to be for both Canadians and Americans), Google may see that as a 'minimum effort' deployment with no value proposition. Different audiences need tailored content to suit them, so a re-write of some of the content is still expected if you want to see an increased international footprint (and you're not a giant like Santander or Coca-Cola)

            The number of times I see people clone their EN site into a US folder and just 'expect it to rank' with no extra effort, just with hreflangs - is staggering. Google expect to see a value proposition when you build out your site. Value-prop ('value add'), the #1 yet never talked about ranking factor

            I don't think your current implementation will work very well, if at all. You may have lots of human-brain reasons why it should - but crawlers are robots

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            • After you remove a 301 redirect that Google has processed, will the new URL retain any of the link equity from the old URL?
              johnwalkersmith
              johnwalkersmith
              0
              3
              61

            • If a URL canonically points to another link, is that URL indexed?
              Coolguyry
              Coolguyry
              0
              4
              120

            • We have 302 redirect links on our forum that point to individual posts. Should we add a rel="nofollow" to these links?
              Nobody1565908128979
              Nobody1565908128979
              1
              2
              160

            • Links below linking (not sitelinks)
              Joseph-Vodafone
              Joseph-Vodafone
              0
              3
              127

            • What if I point my canonicals to a URL version that is not used in internal links
              DeptAgency
              DeptAgency
              0
              8
              144

            • WordPress URL Link Issue
              mad2k
              mad2k
              0
              2
              236

            • Do links that point to an old URL retain value if we have the correct redirects?
              MarbellaSurferDude
              MarbellaSurferDude
              0
              3
              276

            • If multiple links on a page point to the same URL, and one of them is no-followed, does that impact the one that isn't?
              Tone_Agency
              Tone_Agency
              0
              2
              796

            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