undefined
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
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • 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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    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
    • 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.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • 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
  • 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
2.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • GhillC
    GhillC last edited by Nov 19, 2018, 7:35 AM

    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 Nov 22, 2018, 8:05 AM Nov 22, 2018, 8:05 AM

      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 Nov 21, 2018, 6:02 PM Nov 21, 2018, 6:00 PM

        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 Nov 22, 2018, 8:04 AM Nov 21, 2018, 4:45 PM

          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 Nov 22, 2018, 8:05 AM Reply Quote 1
          • GhillC
            GhillC last edited by Nov 20, 2018, 6:58 AM Nov 20, 2018, 6:58 AM

            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 Nov 21, 2018, 6:00 PM Reply Quote 0
            • BlueprintMarketing
              BlueprintMarketing last edited by Nov 19, 2018, 9:28 PM Nov 19, 2018, 9:24 PM

              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
              • Roman-Delcarmen
                Roman-Delcarmen last edited by Nov 19, 2018, 4:43 PM Nov 19, 2018, 4:43 PM

                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
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                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

                • JH_OffLimits

                  Should we Nofollow Social Links?

                  I've been asked the question of whether if we should nofollow all of our social links, would this be a wise thing to do? I'm not exactly getting a clear answer from search results and thought you guys would be best to ask 🙂 Thanks in advance.

                  Technical SEO | Apr 17, 2024, 5:26 PM | JH_OffLimits
                  0
                • GhillC

                  Trailing slash URLs and canonical links

                  Hi, I've seen a fair amount of topics speaking about the difference between domain names ending with or without trailing slashes, the impact on crawlers and how it behaves with canonical links.
                  However, it sticks to domain names only.
                  What about subfolders and pages then? How does it behaves with those? Say I've a site structured like this:
                  https://www.domain.com
                  https://www.domain.com/page1 And for each of my pages, I've an automatic canonical link ending with a slash.
                  Eg. rel="canonical" href="https://www.domain.com/page1/" /> for the above page. SEM Rush flags this as a canonical error. But is it exactly?
                  Are all my canonical links wrong because of that slash? And as subsidiary question, both domain.com/page1 and domain.com/page1/ are accessible. Is it this a mistake or it doesn't make any difference (I've read that those are considered different pages)? Thanks!
                  G

                  Technical SEO | Feb 6, 2019, 8:09 AM | GhillC
                  0
                • O2C

                  Find all external 404 errors/links?

                  Hi All, We have recently discovered a site was linking to our site but it was linking to an incorrect url, resulting in a 404 error. We had only found this by pure chance and wondered if there was a tool out there that will tell us when a site is linking to an incorrect url on our site? Thanks 🙂

                  Technical SEO | Sep 20, 2016, 12:42 PM | O2C
                  0
                • SeaCandyTackle

                  Rel=canonical Weebly

                  My problem is with my website as it says I have duplicate page titles and contents because of a /index.html. It says the duplicate content is due to the fact that my homepage on my website is www.seacandytackle.com but it is also www.seacandytackle.com/index.html because I use weebly. How can I use the tag to fix this? It won't let me do a 301 redirect because it is a home page. How can I fix this? What code would I have to use and which url? Also it says that I have duplicate page content between http://www.seacandytackle.com/index.html and http://www.seacandytackle.comhttp://www.seacandytackle.com but I don't recall having any page that looks like http://www.seacandytackle.com http://www.seacandytackle.com from weebly. How can I fix this issue as well? Thank you for any help. Step by step implementation would be particularly helpful in using the rel= tags to fix these duplicate issues.

                  Technical SEO | Oct 30, 2015, 7:00 PM | SeaCandyTackle
                  0
                • Liggins

                  Updating inbound links vs. 301 redirecting the page they link to

                  Hi everyone, I'm preparing myself for a website redesign and finding conflicting information about inbound links and 301 redirects. If I have a URL (we'll say website.com/website) that is linked to by outside sources, should I get those outside sources to update their links when I change the URL to website.com/webpage? Or is it just as effective from a link juice perspective to simply 301 redirect the old page to the new page? Are there any other implications to this choice that I may want to consider? Thanks!

                  Technical SEO | Jun 13, 2014, 11:18 AM | Liggins
                  0
                • RikkiD22

                  Best free tool to check internal broken links

                  Question says it all I guess. What would your recommend as the best free tool to check internal broken links?

                  Technical SEO | Jul 9, 2017, 3:33 PM | RikkiD22
                  5
                • jwdesign

                  Is link cloaking bad?

                  I have a couple of affiliate gaming sites and have been cloaking the links, the reason I do this is to stop have so many external links on my sites. In the robot.txt I tell the bots not to index my cloaked links. Is this bad, or doesnt it really matter? Thanks for your help.

                  Technical SEO | Sep 23, 2011, 2:33 AM | jwdesign
                  0
                • Leighm

                  Should there be a canonical tag on my 404 error page?

                  In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's? Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page? Thanks.

                  Technical SEO | Nov 20, 2012, 2:05 PM | Leighm
                  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
                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.