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. Broken canonical link errors

    Broken canonical link errors

    Technical SEO Issues
    7 4 607
    • 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.
    • GhillC
      GhillC last edited by

      Hello,

      Several tools I'm using are returning errors due to "broken canonical links". However, I'm not too sure why is that.

      Eg.
      Page URL: domain.com/page.html?xxxx
      Canonical link URL: domain.com/page.html
      Returns an error.

      Any idea why? Am I doing it wrong?

      Thanks,
      G

      1 Reply Last reply Reply Quote 1
      • Roman-Delcarmen
        Roman-Delcarmen last edited by

        A canonical tag (aka "rel canonical") is a way of telling search engines that a specific URL represents the master copy of a page. Using the canonical tag prevents problems caused by identical or "duplicate" content appearing on multiple URLs. Practically speaking, the canonical tag tells search engines which version of a URL you want to appear in search results.

        So if you have a page such as

        www.mywesbite.com you should have a canonical tag on that page like this one
        on your header

        So you should check your source code to check if the URL is ok or it's missing

        These are some links you should read

        • https://yoast.com/rel-canonical/
        • https://moz.com/learn/seo/canonicalization

        Hope this information will answer your question

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

          If you need anyone to back up what Roman said he's exactly right.

          You need to add the canonical to your site so it is self-referencing I would not add it to any URLs that have parameters/query strings or any URL that you want to be in Google's index.

          In your example you show the same page twice I added https:// just to make it a full URL for the example and please do that when you add the canonical's

          With the rel canonical, you're telling Google that your parameter is not something you want to rank for

          You want https://domain.com/page.html to rank

          ** not**

          **Page URL: https://domain.com/page.html?xxxx **

          So as Roman said you would add a rel canonical like this below. Please keep in mind when you add these you must add HTTP or HTTPS depending on what your site is up for as well as www. or non-www. & always use absolute URLs

          For example, search crawlers might be able to reach your homepage in all of the following ways:

          • http://www.example.com

          • https://www.example.com

          • http://example.com

          • http://example.com/index.php

          • http://example.com/index.php?r...

          Cite: https://moz.com/learn/seo/canonicalization

          More references

          • https://support.google.com/webmasters/answer/139066?hl=en
          • https://moz.com/blog/rel-canonical
          • https://varvy.com/rel/canonical.html

          I hope that helps,

          Tom

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

            Thanks both.
            Though I do believe that I get a good enough understanding of the canonical tag structure.
            What I don't understand is why some SEO tools are returning an error with few of these tags.

            Here is the page URL:
            https://www.domain.com/ae/products/shopby/product-type-accessories.html?___store=en_ae

            And here is the canonical tag that returns the error:

            As per your comment, I want the URL without the query string to rank and the traffic associated to the URL above to benefit "accessories.html".

            At first I thought it was due to "itemprop" which technically should not be combined with a rel attribute (source: https://stackoverflow.com/questions/31621308/itemprop-and-rel-attributes-on-same-element)
            But since all the pages of the website I'm working on contains canonical tags with both elements and only a handful of them returns a canonical tag error, I guess it comes from something else.

            BlueprintMarketing 1 Reply Last reply Reply Quote 0
            • ThompsonPaul
              ThompsonPaul last edited by

              Your understanding of canonical tags is correct, GhillC.

              If Tools are showing errors for those canonical tags you've listed, then the tools are wrong.

              As long as the protocol and subdomain prefix (or not) exactly match and the only difference is the exclusion of the parameters (the "?" and the stuff after it) then the canonicals are correct.

              Any tool's reports have to be filtered through your own understanding and knowledge. They often get things wrong. That's on eof the key differences between experienced SEOs and less-experienced. They kow when to question what an automated tool is telling them. So good on ya for questioning the results!

              Paul

              GhillC 1 Reply Last reply Reply Quote 1
              • BlueprintMarketing
                BlueprintMarketing @GhillC last edited by

                I would us a different rel="canonical" only url for the canonical & kee the microdata link as just a link. 

                I agree it is  probably Just the tool but from what I can see  mixing  microdata & the canonical is not the best way to go.

                <link rel="canonical" href="http: example.com="" "=""></link rel="canonical" href="http:>

                you want a free way to test  up to 500 pages  https://screamingfrog.co.uk/seo-spider/  like Paul said any  tool can be wrong but it looks like you should not mix the  canonical something  the end Users  can click on

                tom

                1 Reply Last reply Reply Quote 0
                • GhillC
                  GhillC @ThompsonPaul last edited by

                  Great, thanks for your note Paul, I will filter through as you suggest!

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • On our site by mistake some wrong links were entered and google crawled them. We have fixed those links. But they still show up in Not Found Errors. Should we just mark them as fixed? Or what is the best way to deal with them?
                    GlobeRunner
                    GlobeRunner
                    0
                    3
                    177

                  • How to fix broken links?
                    evolvingSEO
                    evolvingSEO
                    0
                    13
                    332

                  • Finding Broken Back Links
                    JonathanRolande
                    JonathanRolande
                    0
                    4
                    366

                  • 404 error - but I can't find any broken links on the referrer pages
                    IainReloadMedia
                    IainReloadMedia
                    0
                    12
                    2.0k

                  • Are my Canonical Links set up correctly?
                    PartyStore
                    PartyStore
                    0
                    3
                    384

                  • Broken LInks Tool?
                    KeriMorgret
                    KeriMorgret
                    0
                    5
                    1.1k

                  • Why would you remove a canonical link?
                    SparkplugDigital
                    SparkplugDigital
                    0
                    2
                    727

                  • If you add a no follow to a time sensitive link, will it get picked up as broken link 404 in WMT report?
                    RyanKent
                    RyanKent
                    0
                    2
                    718

                  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