• majorAlexa

        See all notifications

        Skip to content
        Moz logo Menu open Menu close
        • Products
          • Moz Pro
          • Moz Pro Home
          • Moz Local
          • Moz Local Home
          • STAT
          • Moz API
          • Moz API Home
          • Compare SEO Products
          • Moz Data
        • Free SEO Tools
          • Domain Analysis
          • Keyword Explorer
          • Link Explorer
          • Competitive Research
          • MozBar
          • More Free SEO Tools
        • Learn SEO
          • Beginner's Guide to SEO
          • SEO Learning Center
          • Moz Academy
          • MozCon
          • Webinars, Whitepapers, & Guides
        • Blog
        • Why Moz
          • Digital Marketers
          • Agency Solutions
          • Enterprise Solutions
          • Small Business Solutions
          • The Moz Story
          • New Releases
        • Log in
        • Log out
        • Products
          • Moz Pro

            Your all-in-one suite of SEO essentials.

          • Moz Local

            Raise your local SEO visibility with complete local SEO management.

          • STAT

            SERP tracking and analytics for enterprise SEO experts.

          • Moz API

            Power your SEO with our index of over 44 trillion links.

          • Compare SEO Products

            See which Moz SEO solution best meets your business needs.

          • Moz Data

            Power your SEO strategy & AI models with custom data solutions.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          Learn more
        • Free SEO Tools
          • Domain Analysis

            Get top competitive SEO metrics like DA, top pages and more.

          • Keyword Explorer

            Find traffic-driving keywords with our 1.25 billion+ keyword index.

          • Link Explorer

            Explore over 40 trillion links for powerful backlink data.

          • Competitive Research

            Uncover valuable insights on your organic search competitors.

          • MozBar

            See top SEO metrics for free as you browse the web.

          • More Free SEO Tools

            Explore all the free SEO tools Moz has to offer.

          NEW Keyword Suggestions by Topic
          Moz Pro

          NEW Keyword Suggestions by Topic

          Learn more
        • Learn SEO
          • Beginner's Guide to SEO

            The #1 most popular introduction to SEO, trusted by millions.

          • SEO Learning Center

            Broaden your knowledge with SEO resources for all skill levels.

          • On-Demand Webinars

            Learn modern SEO best practices from industry experts.

          • How-To Guides

            Step-by-step guides to search success from the authority on SEO.

          • Moz Academy

            Upskill and get certified with on-demand courses & certifications.

          • MozCon

            Save on Early Bird tickets and join us in London or New York City

          Unlock flexible pricing & new endpoints
          Moz API

          Unlock flexible pricing & new endpoints

          Find your plan
        • Blog
        • Why Moz
          • Digital Marketers

            Simplify SEO tasks to save time and grow your traffic.

          • Small Business Solutions

            Uncover insights to make smarter marketing decisions in less time.

          • Agency Solutions

            Earn & keep valuable clients with unparalleled data & insights.

          • Enterprise Solutions

            Gain a competitive edge in the ever-changing world of search.

          • The Moz Story

            Moz was the first & remains the most trusted SEO company.

          • New Releases

            Get the scoop on the latest and greatest from Moz.

          Surface actionable competitive intel
          New Feature

          Surface actionable competitive intel

          Learn More
        • Log in
          • Moz Pro
          • Moz Local
          • Moz Local Dashboard
          • Moz API
          • Moz API Dashboard
          • Moz Academy
        • Avatar
          • Moz Home
          • Notifications
          • Account & Billing
          • Manage Users
          • Community Profile
          • My Q&A
          • My Videos
          • Log Out

        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. Home
        2. SEO Tactics
        3. Technical SEO
        4. Broken canonical link errors

        Moz Q&A is closed.

        After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

        Broken canonical link errors

        Technical SEO
        4
        7
        2651
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question 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
          • 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
            • 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
              • 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
                • 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
                  • 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://a-moz.groupbuyseo.org/learn/seo/canonicalization

                    More references

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

                    I hope that helps,

                    Tom

                    1 Reply Last reply Reply Quote 0
                    • 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://a-moz.groupbuyseo.org/learn/seo/canonicalization

                      Hope this information will answer your question

                      1 Reply Last reply Reply Quote 3
                      • 1 / 1
                      • First post
                        Last post

                      Browse Questions

                      Explore more categories

                      • Moz Tools

                        Chat with the community about the Moz tools.

                      • SEO Tactics

                        Discuss the SEO process with fellow marketers

                      • Community

                        Discuss industry events, jobs, and news!

                      • Digital Marketing

                        Chat about tactics outside of SEO

                      • Research & Trends

                        Dive into research and trends in the search industry.

                      • Support

                        Connect on product support and feature requests.

                      • See all categories

                      Related Questions

                      • andrew-mso

                        Canonical or hreflang?

                        I have four English sites for four different countries, UK, Ireland, Australia and New Zealand and I want to share some content between the sites. On the pages that share the content, which is essentially exactly the same on all 4 sites, do I use the hreflang tags like: or do I add a canonical tag to the other three pointing to the "origin", which would be the UK site? I believe it is best practice to use one or the other, but I'm not sure which make sense in this situation.

                        Technical SEO | | andrew-mso
                        0
                      • bill369

                        Do Canonical Tags Pass Link Juice?

                        I have an ecommerce website where some pages link to a product page with a different URL. EXAMPLE: 1: /category/product1.html (not indexed by Google) with canonical pointing to product1.html Other page link to the product like below. 2: product1.html (indexed by Google) Now the question is, does 1: pass any link juice to product1.html or not? Is it worth to change everything and link only to one URL? My site is running on Magento!

                        Technical SEO | | bill369
                        0
                      • ReSEOlve

                        404 errors

                        Hi I am getting these show up in WMT crawl error any help would be very much appreciated | ?escaped_fragment=Meditation-find-peace-within/csso/55991bd90cf2efdf74ec3f60 | 404 | 12/5/15 |
                        | | 2 | mobile/?escaped_fragment= | 404 | 10/26/15 |
                        | | 3 | ?escaped_fragment=Tips-for-a-balanced-lifestyle/csso/1 | 404 | 12/1/15 |
                        | | 4 | ?escaped_fragment=My-favorite-yoga-spot/csso/5598e2130cf2585ebcde3b9a | 404 | 12/1/15 |
                        | | 5 | ?escaped_fragment=blog/c19s6 | 404 | 11/29/15 |
                        | | 6 | ?escaped_fragment=blog/c19s6/Tag/yoga | 404 | 11/30/15 |
                        | | 7 | ?escaped_fragment=Inhale-exhale-and-once-again/csso/2 | 404 | 11/27/15 |
                        | | 8 | ?escaped_fragment=classes/covl | 404 | 10/29/15 |
                        | | 9 | m/?escaped_fragment= | 404 | 10/26/15 |
                        | | 10 | ?escaped_fragment=blog/c19s6/Page/1 | 404 | 11/30/15 | |   |

                        Technical SEO | | ReSEOlve
                        0
                      • greenfoxone

                        Dofollow and Nofollow links

                        What is the difference between dofollow and nofollow links? I know that some sites/blogs only let you post nofollow links. In such a case how do I know if a comment I posted on a certain site will be a nofollow or dofollow? How about big traffic sites such as Huff Post. Do they only allow nofollow links?

                        Technical SEO | | greenfoxone
                        0
                      • Uds

                        Links from the same server has value or not

                        Hi Guys, Sometime ago one of the SEO experts said to me if I get links from the same IP address, Google doesn't count them as with much value. For an example, I am a web devleoper and I host all my clients websites on one server and link them back to me. Im wondering whether those links have any value when it comes to seo or should I consider getting different hosting providers? Regards Uds

                        Technical SEO | | Uds
                        0
                      • potpiegirl

                        4XX Errors - Adding %5c%5c to Links

                        Hi all  😃 Hope someone can help me with this. The internal links on my hubby's business site occasionally break and add %5c%5c%5c endlessly to the end of the url - like this: site.com/about/hours-of-operation/\\\\\\\\% I cannot for the life of me figure out why it is doing this and while it has happened to me from time to time, I can't recreate it. My crawl diagnostics here in my SEOMox campaign show 19-20 urls doing this - it's nuts. Any insight? Thank you!! Jennifer ~PotPieGirl

                        Technical SEO | | potpiegirl
                        0
                      • EugeneF

                        404 crawl errors from "tel:" link?

                        I am seeing thousands of 404 errors.  Each of the urls is like this: abc.com/abc123/tel:1231231234 Everything is normal about that url except the "/tel:1231231234" these urls are bad with the tel: extension, they are good without it. The only place I can find this character string is on each page we have this code which is used for Iphones and such.  What are we doing wrong? Code: Phone: <a href="[tel:1231231234](tel:7858411943)"> (123) 123-1234a>

                        Technical SEO | | EugeneF
                        0
                      • amit.ganguly

                        How to remove the 4XX Client error,Too many links in a single page Warning and Cannonical Notices.

                        Firstly,I am getting around 12 Errors in the category 4xx Client error. The description says that this is either bad or a broken link.How can I repair this ? Secondly, I am getting lots of warnings related to too many page links of a single page.I want to know how to tackle this ? Finally, I don't understand the basics of Cannonical notices.I have around 12 notices of this kind which I want to remove too. Please help me out in this regard. Thank you beforehand. Amit Ganguly http://aamthoughts.blogspot.com   - Sustainable Sphere

                        Technical SEO | | amit.ganguly
                        0

                      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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy

                      Looks like your connection to Moz was lost, please wait while we try to reconnect.