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. Use hreflang for language and regional URLs

    Use hreflang for language and regional URLs

    Technical SEO Issues
    4 3 125
    • 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.
    • the-gate-films
      the-gate-films last edited by

      I have implemented hreflang on site, seen here http://www.cobaltrecruitment.com/ but Webmaster Tools is returning loads of errors in the international targeting area..... "'“en-sg"' - unknown language code" and "'“en-ar"' - unknown language code"

      Can anyone suggest what I need to tell my developers to do?

      Thanks for your help!

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

        Hi there

        Looks like when you've been adding the code, you've pasted in special characters or something like that.  This is why you're getting the “en-sg" error.

        If you look at the source code in Chrome, you can see the code is italicised:

        http://i.imgur.com/IfTwvpj.png

        What I'd do is retype the code manually, or remove any special formatting from the text before adding it into your HTML.  You want to just get the raw quotation mark in there ("), rather than the special character.

        Hope that makes sense

        Mobilio 1 Reply Last reply Reply Quote 3
        • Mobilio
          Mobilio @TomRayner last edited by

          Yes - in Unicode there are too many quotes and seems that pasting different quote make test OK for humans but garbage for bots and browsers.

          1 Reply Last reply Reply Quote 1
          • the-gate-films
            the-gate-films last edited by

            Hi Guys,

            Can you please check that I now have the code correctly on the site? http://www.cobaltrecruitment.com/

            The errors are still appearing for some reason in Webmaster Tools.

            Thanks,

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Hreflang usage for language & country x only language
              LynnPatchett
              LynnPatchett
              0
              2
              40

            • HREFLANG: language and geography without general language
              zeehj
              zeehj
              0
              2
              37

            • Clean URL vs. Parameter URL and Using Canonical URL...That's a Mouthfull!
              Roman-Delcarmen
              Roman-Delcarmen
              0
              4
              170

            • Use existing page with bad URL or brand new URL?
              XLMarketing
              XLMarketing
              0
              5
              47

            • Localizing URLs Path - Hreflang
              NickJasuja
              NickJasuja
              1
              4
              143

            • What is the best practice to seperate different locations and languages in an URL? At the moment the URL is www.abc.com/ch/de. Is there a better way to structure the URL from an SEO perspective?
              irvingw
              irvingw
              0
              2
              64

            • Use of + in url good or bad?
              costume
              costume
              0
              7
              895

            • Should I use www. or not in my main URL?
              Thos003
              Thos003
              0
              7
              3.4k

            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