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. White Hat / Black Hat SEO
    4. Sitemap issues

    Sitemap issues

    White Hat / Black Hat SEO
    14 4 258
    • 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.
    • DirkC
      DirkC last edited by

      Hi Justin

      Google doesn't seem to be figuring out (even with the correct hreflang in place) which site should be shown for each country.

      If you look at the cached versions of your .com.au & .com versions it always the .co.nz version which is cached - this is probably also the reason why the meta description is wrong (it's always coming from the .co.nz version) and why the % of url's indexed for each sitemap (for the .com & .com.au version) is so low.

      Try to rigorously eliminate all cross-references in your site - to make it more obvious for Google that these are 3 different sites:

      • in the footer - the links in the second column are pointing to the .co.nz version (latest articles) - change these links to relative ones

      • on all sites there are elements you load from the .com domain (see latest blog entries - the images are loaded from the .com domain for all tld's

      As long as you send these confusing signals to Google - Google will mix up the different versions of your site.

      rgds,

      Dirk

      edward-may 1 Reply Last reply Reply Quote 1
      • edward-may
        edward-may @PatrickDelehanty last edited by

        Thanks so much Patrick! Can you recommend how I would go about finding the urls that are redirecting in the sitemap?  I'm assuming screaming frog?

        PatrickDelehanty 1 Reply Last reply Reply Quote 0
        • PatrickDelehanty
          PatrickDelehanty @edward-may last edited by

          Hi Justin

          Yep! I use ScreamingFrog, here's how I do it:

          • Goto your /sitemap.xml

          • Select all + copy

          • Paste into Excel column A

          • Select column A

          • Turn "Wrap Text" off

          • Delete rows 1 through 5

          • Select column A again

          • "Find and Replace" the following:

          • <lastmod></lastmod>

          • <changefreq></changefreq>

          • daily

          • Whatever the date is

          • Priority numbers, usually 0.5 to 1.0

          • "Replace With" nothing, no spaces, nothing

          • You'll hit "Replace All" after every text string you put in, one at a time

          • With Column A still select, hit F5

          • Click "Special"

          • Click "Blank" and "Ok"

          • Right click in the spreadsheet

          • Select "Delete" and "Shift Rows Up"

          Walla! You have your list. Now copy this list, and open ScreamingFrog. Click "Mode" up top and click "List". Click "Upload List" and click "Paste". Paste your URLs in there and hit Start.

          Your sitemap will be crawled.

          Here are URLs that returned 301 redirects:

          https://www.zenory.com/blog/chat-psychic-readings/
          https://www.zenory.com/blog/online-psychic-readings-private/
          https://www.zenory.com/blog/live-psychic-readings/
          https://www.zenory.com/blog/online-psychic-readings/

          Here are URLs that returned 503 Service Unavailable codes twice, but 200s now:

          https://www.zenory.com/blog/spiritually-love/
          https://www.zenory.com/blog/automatic-writing-psychic-readings/
          https://www.zenory.com/blog/author/psychic-nori/
          https://www.zenory.com/blog/zodiac-signs/
          https://www.zenory.com/blog/soul-mate-relationship-challenges/
          https://www.zenory.com/blog/author/zenoryadmin/
          https://www.zenory.com/blog/soulmate-separation-break-ups/
          https://www.zenory.com/blog/how-to-find-a-genuine-psychic/
          https://www.zenory.com/blog/mind-body-soul/
          https://www.zenory.com/blog/twin-flame-norishing-your-flame-to-find-its-twin/
          https://www.zenory.com/blog/tips-psychic-reading/
          https://www.zenory.com/blog/tips-to-dealing-with-a-broken-heart/
          https://www.zenory.com/blog/the-difference-between-soul-mates-and-twin-flames/
          https://www.zenory.com/blog/sex-love/
          https://www.zenory.com/blog/psychic-advice-break-ups/
          https://www.zenory.com/blog/author/ginny/
          https://www.zenory.com/blog/chanelling-psychic-readings/
          https://www.zenory.com/blog/first-release-cycle-2015/
          https://www.zenory.com/blog/psychic-shaman-readings/
          https://www.zenory.com/blog/chat-psychic-readings/
          https://www.zenory.com/blog/psychic-medium-psychic-readings/
          https://www.zenory.com/blog/author/trinity/
          https://www.zenory.com/blog/psychic-readings-karmic-relationships/
          https://www.zenory.com/blog/can-psychic-readings-heal-broken-heart/
          https://www.zenory.com/blog/guidance-psychic-readings/
          https://www.zenory.com/blog/mercury-retrograde-effects-life/
          https://www.zenory.com/blog/online-psychic-readings-private/
          https://www.zenory.com/blog/psychics-mind-readers/
          https://www.zenory.com/blog/angel-card-readings-psychic-readings/
          https://www.zenory.com/blog/cheating-relationship/
          https://www.zenory.com/blog/long-distance-relationship/
          https://www.zenory.com/blog/soulmate-psychic-reading/
          https://www.zenory.com/blog/live-psychic-readings/
          https://www.zenory.com/blog/psychic-readings-using-rune-stones/
          https://www.zenory.com/blog/psychic-clairvoyant-psychic-readings/
          https://www.zenory.com/blog/psychic-guidance-long-distance-relationships/
          https://www.zenory.com/blog/author/libby/
          https://www.zenory.com/blog/online-psychic-readings/

          I would check on that when you can. Check in Webmaster Tools if any issues have arrived there as well.

          Hope this helps! Good luck!

          edward-may 1 Reply Last reply Reply Quote 1
          • edward-may
            edward-may @DirkC last edited by

            Dirk, thanks so much for your help!

            Could you tell me how to identify with the urls that are cross referencing - I tried using screaming frog and I found under the **external and clicked on inlinks and outlinks.  **But whats really caught my eye, is alot of the links are from the blog with the same anchor text "name" others are showing up as a different name as well. Some are saying NZ NZ or AU AU as the anchor text and I think this has to do with the flag drop down to change the top level domains.

            For eg:

            FROM: https://www.zenory.co.nz/blog/tag/love/

            TO: https://www.zenory.com.au/categories/love-relationships

            Anchor Text: Twinflame Reading

            1 Reply Last reply Reply Quote 0
            • edward-may
              edward-may @PatrickDelehanty last edited by

              Wow thanks Patrick, let me run this and see how I go, thanks so much for your help!!!

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

                Hi Justin

                Probably the easiest way to eliminate these cross references is to ask your programmer to put all links as relative links rather than as absolute links. Relative links have the disadvantage that they can generate endless loops if something is wrong with the HTML - but this is something you can easily check with Screaming Frog.

                If you check the .com version - example https://www.zenory.com/blog/tag/love/ -it's calling zenory.co.nz for plenty of links (just check the source & search for .co.nz) - both the http & the https version

                You can check all these pages by hand - but I guess your programmer must be able to do this in an automated way.

                It is also the case the other way round- on the .co.nz version - you'll find references in the source to the .com version

                In screaming frog - the links with "NZ" are the only ones which should stay absolute - as they point to the other version

                Hope this clarifies

                Dirk

                edward-may 1 Reply Last reply Reply Quote 1
                • DirkC
                  DirkC @edward-may last edited by

                  Hi Justin

                  The how-to of Patrick is correct - but as you are generating your sitemap using Screaming Frog there is really no need to go through this manual processing.

                  If you only need to create the sitemap:

                  Go to Configuration > Spider -
                  Tab: Basic settings: uncheck everything apart from "Crawl Canonicals" (unchecking Images/CSS/JS/External links is not strictly necessary but speeds up the crawl)

                  Advanced: Check "Always Follow redirects" / "Respect Noindex" / "Respect Canonical"

                  After the crawl - generate the sitemap - it will now only contain the "final" url's - after the redirects.

                  Hope this helps,

                  Dirk

                  PS Try to avoid internal links which are redirected - better to replace these links by links to the final destination

                  PatrickDelehanty 1 Reply Last reply Reply Quote 1
                  • PatrickDelehanty
                    PatrickDelehanty @DirkC last edited by

                    Thanks so much Dirk - this is great. I was speaking to how I found the specific errors. Thanks for posting this for the sitemap - definitely left a big chunk out on my part!

                    DirkC 1 Reply Last reply Reply Quote 0
                    • DirkC
                      DirkC @PatrickDelehanty last edited by

                      Hi Patrick,

                      Your method is a good one - I use more or less the same trick to retrieve url's from a sitemap in xls  (it's even faster if you sort the url's in alphabetical order & delete the rows containing priority / lastmod /.. - then you only need to do a find/replace on the <loc>/</loc> )

                      It's just in this specific case as the sitemap was generated in Screaming Frog that it's easier to eliminate these redirected url's upfront.

                      Dirk

                      PatrickDelehanty 1 Reply Last reply Reply Quote 1
                      • PatrickDelehanty
                        PatrickDelehanty @DirkC last edited by

                        Hey again!

                        ...I can't believe I didn't think of the simplicity of this earlier...

                        "it's even faster if you sort the url's in alphabetical order & delete the rows containing priority / lastmod /.. - then you only need to do a find/replace on the <loc>/</loc> "

                        100,000 spreadsheets and I don't even think of sorting for this task. Unreal. I laughed at myself aloud when I read it.

                        Thank you per usual my friend!

                        1 Reply Last reply Reply Quote 1
                        • edward-may
                          edward-may @DirkC last edited by

                          Awesome response Dirk! Thanks again for your endless help!

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • What are Core Web Vitals Issues? How to improve them?
                            0
                            1
                            72

                          • Crawl anamoly issue on Search Console
                            david-johns-sheetlabels
                            david-johns-sheetlabels
                            0
                            2
                            46

                          • Should I submit a sitemap for a site with dynamic pages?
                            dohertyjf
                            dohertyjf
                            0
                            3
                            5.2k

                          • Sitemap issues 19 warnings
                            Bob_van_Biezen
                            Bob_van_Biezen
                            0
                            13
                            295

                          • Is there any reason to Nofollow Internal Links or XML Sitemap?
                            danatanseo
                            danatanseo
                            0
                            3
                            1.2k

                          • Potential spam issue - back links
                            PaddyDisplays
                            PaddyDisplays
                            0
                            2
                            105

                          • Partial Sitemaps Impact on SERP
                            ReferralCandy
                            ReferralCandy
                            0
                            3
                            166

                          • A client/Spam penalty issue
                            GrumpyCarl
                            GrumpyCarl
                            0
                            11
                            257

                          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