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. Href Lang Errors

    Href Lang Errors

    Intermediate & Advanced SEO
    7 4 194
    • 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.
    • BeckyKey
      BeckyKey last edited by

      Hi

      Im getting href lang errors in my site audit for having no self referntial tags. I can't see anything wrong? Can anyone enlighten me 🙂

      From this page ** http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n**

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

        This post is deleted!
        BeckyKey 1 Reply Last reply Reply Quote 1
        • BeckyKey
          BeckyKey @Guest last edited by

          Hi

          It's flagging up on all pages of the site in my SEM rush audit, I just can't identify what's wrong

          Thanks for checking!

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

            Hi Becky,

            Along the lines of what James said, it's because this is not the canonical URL for the product.

            The URL is: http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n

            But your canonical and hreflang tags don't match this URL.

            You will get errors for any URLs that don't have a self-referring hreflang tags, and any URLs that don't have reciprocal hreflang tags from the alternate versions specified.

            I would work with your devs to only display hreflang tags on canonical URLs - not on canonicalized URLs.

            Cheers,

            David

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

              I see that that product has two Urls:

              1. http://www.key.co.uk/en/key/single-leg-wire-rope-slings
              2. http://www.key.co.uk/en/key/0-4-tonne-wll-6mm-single-leg-wire-rope-sling-580a078n

              The first one is the Url you indicate as canonical and the second one is the one that you canonicalized toward the first and where the mistake is flagged. I suppose the same happens in the .ie version.

              Formally, I don't see any mistake in how the hreflang has been implemented in the 2nd url, because if you really mean to have it canonicalized toward the 1st, then is totally correct to use the canonical url in the self-referential url and the en-ie hreflang annotations.

              I checked the Urls with Screaming Frog, setting it to crawl the hreflang's urls, and it doesn't show any error... so, if that kind of mistake is presented only by the SEMRush Audit... then that's a mistake of the SEMRush audit.

              However, does this mistake appear in your Google Search Console?

              davebuts 1 Reply Last reply Reply Quote 1
              • davebuts
                davebuts @gfiorelli1 last edited by

                Hi Gianluca,

                Just on what you said here:

                "Formally, I don't see any mistake in how the hreflang has been implemented in the 2nd url, because if you really mean to have it canonicalized toward the 1st, then is totally correct to use the canonical url in the self-referential url and the en-ie hreflang annotations."

                I kind of understand what you're saying about it not being wrong, but is does the hreflang become redundant because the URL is canonicalized and doesn't validate?

                For Screaming Frog, did you have it set to "Respect Canonical"? If so, could that be the reason no errors were found?

                Without having access to GSC, I like to use Dejan's Hreflang Testing Tool to quickly check for hreflang errors - and it does report errors with the example URL.

                Cheers,

                David

                BeckyKey 1 Reply Last reply Reply Quote 0
                • BeckyKey
                  BeckyKey @davebuts last edited by

                  Thank you everyone! I should have noticed this, so thanks for pointing it out.

                  Thanks for your help!

                  Becky

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • This one is complicated... canonicals, href lang tags and no index
                    paints-n-design
                    paints-n-design
                    0
                    2
                    47

                  • HREF LANG: Different navigation/structure per country: is that a problem?
                    AMAGARD
                    AMAGARD
                    0
                    3
                    33

                  • Do href lang tags need to be implemented at blogpost level?
                    Martijn_Scheijbeler
                    Martijn_Scheijbeler
                    0
                    2
                    45

                  • Href Lang tags in audit
                    BeckyKey
                    BeckyKey
                    0
                    5
                    107

                  • 404 Errors
                    CraigBradford
                    CraigBradford
                    0
                    6
                    140

                  • Location.href vs href?
                    gazzerman1
                    gazzerman1
                    0
                    2
                    1.6k

                  • Using href lang tag for multi-regional targeting on the same page
                    Kung_fu_Panda
                    Kung_fu_Panda
                    0
                    4
                    995

                  • Href for the US
                    Francisco_Meza
                    Francisco_Meza
                    0
                    2
                    66

                  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