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. Intermediate & Advanced SEO
    4. Why isn't the rel=canonical tag working?

    Why isn't the rel=canonical tag working?

    Intermediate & Advanced SEO
    3 3 446
    • 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.
    • Inevo
      Inevo last edited by

      My client and I have a problem: An ecommerce store with around 20 000 products has nearly 1 000 000 pages indexed (according to Search Console).

      I frequently get notified by messages saying “High number of URLs found” in search console. It lists a lot of sample urls with filter and parameters that are indexed by google, for example:

      https://www.gsport.no/barn-junior/tilbehor/hansker-votter/junior?stoerrelse-324=10-11-aar+10-aar+6-aar+12-aar+4-5-aar+8-9-aar&egenskaper-368=vindtett+vanntett&type-365=hansker&bruksomraade-367=fritid+alpint&dir=asc&order=name

      If you check the source code, there’s a canonical tag telling the crawler to ignore (..or technically commanding it to regard this exact page as another version of the page without all the parameters) everything after the “?”

      Does this url showing up in the Search Console message mean that this canonical isn’t working properly?

      If so: what’s wrong with it?

      Regards,
      Sigurd

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

        Hi Sigurd,

        Your implementation of canonicals is almost there. You're currently using the relative URL, when you should be using absolute URLs. As per Google Search Console guidelines, relative URLs here can cause issues.

        1 Reply Last reply Reply Quote 2
        • GlobeRunner
          GlobeRunner last edited by

          Logan is correct--if you look at the canonical tag in your example in the source code you're not using the full URL, you're only using a snippet (the relative) URL. So, rather than /barn-junior/tilbehor/hansker-votter/junior you need to change it to https://www.gsport.no/barn-junior/tilbehor/hansker-votter/junior.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • My crawl can't find ANY product pages. The links to product pages aren't links, they're script. :(
            Joe.Robison
            Joe.Robison
            0
            8
            247

          • Is a Rel Canonical Sufficient or Should I 'NoIndex'
            LesleyPaone
            LesleyPaone
            0
            5
            210

          • - Truth ? ''link building isn't considered a suitable way of promotion as per recent search engine updates''
            JaneCopland
            JaneCopland
            1
            4
            89

          • How do I get rel='canonical' to eliminate the trailing slash on my home page??
            AlanMosley
            AlanMosley
            0
            8
            3.5k

          • Is this all that is needed for a 'canonical' tag?
            infinart
            infinart
            0
            5
            157

          • Should we use the rel-canonical tag?
            Dr-Pete
            Dr-Pete
            1
            6
            330

          • Pagination Question: Google's 'rel=prev & rel=next' vs Javascript Re-fresh
            nicole.healthline
            nicole.healthline
            0
            3
            793

          • Rel Alternate tag and canonical tag implementation question
            Amiee
            Amiee
            0
            4
            7.5k

          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