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. Href lang issues - help needed!

    Href lang issues - help needed!

    Technical SEO Issues
    11 3 81
    • 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.
    • mypetgiftbox
      mypetgiftbox last edited by

      Hi, I have an issue with Google indexing the US version of our website rather than the UK version on Google.co.uk. I have added hreflang tags to both sites (https://www.pacapod.com/ and https://us.pacapod.com/), have updated and submitted an XML sitemap for each website and checked that the country targeting in search console is set-up correctly but Google are still indexing the wrong website.  I would be grateful for any assistance with this issue. Many thanks Eddie

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

        Hi Eddie,

        I've had a check of your sitemaps, I can't see any hreflang? https://www.pacapod.com/sitemap.xml

        Tom

        mypetgiftbox Nigel_Carr 2 Replies Last reply Reply Quote 0
        • mypetgiftbox
          mypetgiftbox @ThomasHarvey last edited by

          Hi Tom, ive added the hreflang to the Shopify template file. Do I need to add them to the sitemap as well? I’ve also just used the fetch tool in console and Google is reporting a re-direct to the US site so I’m not sure if that is the issue. I can’t seem to replicate the redirect at my end. Many thanks for your help much appreciated. Eddie

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

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ThomasHarvey
              ThomasHarvey @mypetgiftbox last edited by

              Hi  Eddie,

              Sorry, hadn't woken up when I looked this morning!

              If possible, try moving your hreflang toward the top of the head. You've also got two canonicals in the head too.

              Having a look at the hreflang code though, I don't see any mistakes in it, so perhaps it's just placement.

              Tom

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

                Thanks for your help Tom, it's much appreciated.  I've moved the hreflang tags to the top of the head and removed the duplicate canonical tag.  Fingers crossed this does the job:-). Thanks Eddie

                ThomasHarvey 1 Reply Last reply Reply Quote 0
                • ThomasHarvey
                  ThomasHarvey @mypetgiftbox last edited by

                  I'm even more awake than the last time I checked too!

                  Looking at the source of say: https://au.pacapod.com/collections/classic-plain-changing-bags

                  You have the following code:

                  Whereas on https://www.pacapod.com/collections/classic-plain-changing-bags you have:

                  and https://us.pacapod.com/collections/classic-plain-changing-bags being:

                  In short, looks like your AU site is setup incorrectly to just reference the homepage.

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

                    Hi Tom, many thanks for getting back to me.  I've updated the href lang tags now.  I've also used the Google fetch tool in search console this morning and I'm getting a re-direct message (https://www.pacapod.com was re-directed to us.pacapod.com).  The developers of the website implemented some country targeting a few weeks ago which seems to coincide with this issue.  I've asked them for a response without success so far!

                    ThomasHarvey 1 Reply Last reply Reply Quote 0
                    • mypetgiftbox
                      mypetgiftbox last edited by

                      Hi, I haven't managed to resolve this issue unfortunately and wondered if anyone could provide some assistance please.  The hreflang tags look to be set-up correctly but when I use the fetch and render as Google tool in search console I'm getting a re-direct from https://www.pacapod.com/ to https://us.pacapod.com/. I'm waiting on a response from the developers but any help or advice would be much appreciated:-) Many thanks Eddie

                      1 Reply Last reply Reply Quote 0
                      • ThomasHarvey
                        ThomasHarvey @mypetgiftbox last edited by

                        When you say country targeting, do you mean ip redirects?

                        mypetgiftbox 1 Reply Last reply Reply Quote 0
                        • mypetgiftbox
                          mypetgiftbox @ThomasHarvey last edited by

                          Hi Tom, I'm not too sure what the developers have done but the issue is that the UK website doesn't appear to be getting indexed in Google.co.uk but their US website is.  When you visit the site you are prompted to select which country site you would like to visit and I'm not sure if this is causing the issue.  I've also used the fetch as Google tool in search console and it's returning a re-direct message from https://www.pacapod.com/ to https://us.pacapod.com/.

                          Thanks Eddie

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • Tags problem I need help
                            contatofluo
                            contatofluo
                            0
                            3
                            64

                          • Country and Language tags-Running an SEO audit on a site that definitely has more than one language, but nothing is pulling up. I don't quite understand href lang or how to go about it. HELP HELP!
                            Mindgruver
                            Mindgruver
                            0
                            2
                            26

                          • We need a bit of help from someone to fix the following issues causing speed issues on our website.
                            Andy.Drinkwater
                            Andy.Drinkwater
                            0
                            4
                            71

                          • Need Urgent Help
                            MiriamEllis
                            MiriamEllis
                            0
                            6
                            131

                          • I need help compiling solid documentation and data (if possible) that having tons of orphaned pages is bad for SEO - Can you help?
                            danatanseo
                            danatanseo
                            0
                            15
                            726

                          • Need help with Joomla duplicate content issues
                            jgower
                            jgower
                            0
                            2
                            633

                          • Is the Sandbox Real? Need Help!
                            mrsmelmitch
                            mrsmelmitch
                            0
                            3
                            507

                          • I need some HTACCESS help (Magento)
                            ShaMenz
                            ShaMenz
                            0
                            6
                            938

                          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