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. Shopify Canonicals for Tagged Filters

    Shopify Canonicals for Tagged Filters

    Technical SEO Issues
    1 1 99
    • 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.
    • vgusvg
      vgusvg last edited by

      I've been researching this topic endlessly and thought I had arrived at a solution but Screaming Frog indicates my solution was not successful.

      Problem: I used tags to filter my collections pages. The result, I discovered, was the creation of dozens and dozens, maybe hundreds, of additional collection URLs for each possible permutation of tag filters. I would like to make the collection page URL, with no tag filters, the canonical.

      Proposed Solution:  I found the following code described somewhere as the solution:

      {% if template contains 'collection' and current_tags %}

      {% else %}

      {% endif %}

      However, I crawled my site with Screaming Frog and found that the canonical link element is still listed as the URL with the tags included.  The crawler does recognizes the "noindex" instruction.  Any ideas on what the best move is here?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      • Canonical tag refers to itself (???)
        Masoko-T
        Masoko-T
        0
        5
        329

      • Canonical tag problem
        jesse-landry
        jesse-landry
        0
        4
        116

      • After I 301 redirect duplicate pages to my rel=canonical page, do I need to add any tags or code to the non canonical pages?
        Mike.Goracke
        Mike.Goracke
        0
        2
        125

      • Duplicate Title Tags and Meta Desc even with the correct Canonical Tag
        bhalverson
        bhalverson
        0
        5
        809

      • Canonical tags
        Jake-a-boo
        Jake-a-boo
        1
        6
        1.2k

      • Canonical Tag Here?
        Dr-Pete
        Dr-Pete
        0
        4
        566

      • Do I need to add canonical link tags to pages that I promote & track w/ UTM tags?
        kchandler
        kchandler
        1
        5
        2.8k

      • Using the Canonical Tag
        andresgmontero
        andresgmontero
        0
        3
        1.2k

      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