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. SEO and Digital Marketing Forum
    2. Categories
    3. Research & Trends
    4. Algorithm Updates
    5. Should my canonical tags point to the category page or the filter result page?
    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.

    Should my canonical tags point to the category page or the filter result page?

    Algorithm Updates
    5 4 5.3k
    • 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.
    • DA2013
      DA2013 last edited by

      Hi Moz,

      I'm working on an ecommerce site with categories, filter options, and sort options – teacherexpress.scholastic.com.

      Should I have canonical tags from all filter and sort options point to the category page like gap.com and llbean.com? or have all sort options point to the filtered page URL like kohls.com?

      I was under the impression that to use a canonical tag, the pages have to have the same content, meaning that Gap and L.L. Bean would be using canonical tags incorrectly. Using a filter changes the content, whereas using a sort option just changes the order.

      What would be the best way to deal with duplicate content for this site?

      Thanks for reading!

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

        Hi Daniel,

        You've gotten some good responses to your question. Do you have any additional questions or comments you would like to add?

        1 Reply Last reply Reply Quote 1
        • MichaelC-15022
          MichaelC-15022 @TommyTan last edited by

          I agree, that's a great approach.  I think you mean Javascript, not Java though (that's a different language).  The only thing that might make this approach a challenge would be if you had so much product data before filtering that it caused a performance problem, i.e. let's say you had 50 pages of results...if you filter server-side, you're only sending down 1 page of results, whereas if you're filtering with client-side Javascript, you've got to send all 50 pages down and then filter it in the browser.

          1 Reply Last reply Reply Quote 1
          • TommyTan
            TommyTan @MichaelC-15022 last edited by

            Hi Daniel,

            Another option may be use java on your filter page so that however customers filter the product, the URL will remain the same with extra parameters in the URL to filter out the products.  I find this the best way as you have the same URL for all sort of customization/filter and able to avoid duplicate content.

            For example: Macys

            MichaelC-15022 1 Reply Last reply Reply Quote 2
            • MichaelC-15022
              MichaelC-15022 last edited by

              Hi Daniel,

              You're going to have to walk a fine line between having a page for every possible combination of filtered results that a user might search for AND appearing to have a ton of pages that are really almost identical....and suffering the wrath of Panda upon seeing what it thinks is duplicate content.

              The easy way out is to have 1 page for each category, and no matter what filters are applied, rel=canonical to that category.  Dupe content problem solved.

              So why isn't this the ideal solution?

              #1 You may be missing out on targeting combinations of categories and filters that users will commonly search for.  Let's say you were selling clothing, and a category was shirts, and you had a filter for men/women/boys/girls.  By making all shirts list pages rel=canonical to the overall shirts list page (with no filters), you'd be missing an opportunity to target "boys shirts".

              #2 You may be missing opportunities to pour more link juice to the individual product pages.  It's unclear (to me, anyway) whether Google adds the link juice from all pages rel=canonical'ed to a page, or whether Google simply treats rel=canonical as "oh ya, I've already seen & dealt with this page".  Certainly in my testing I've seen places where pages rel=canonical'ed to another page actually still show up in the search results, so I'd say rel=canonical isn't as solid as a 301.

              So what do you do?  I'd recommend a mix.  Figure out what combinations you think you can get search traffic from, and find a way to break down the complete set of combinations of filters and categories to target those, and to rel=canonical every page to one of your targeted pages.

              It's entirely possible (likely, even) that you'll end up with a mix.  For instance, going back to my earlier example, let's say you had another filter that was, let's say, price range.  You might want to target "boys shirts", but not "boys shirts under $20".  So, while "boys" was a filter value, and "under $20" was a filter value, you might rel=canonical all pages in the category "boys" with a filter value of "shirts" to your page that has just that category and that 1 filter set, regardless of setting of the price filter.

              Clear as monkey poop?

              TommyTan 1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                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


              Explore more categories

              • Moz Tools

                Chat with the community about the Moz tools.

                Getting Started
                Moz Pro
                Moz Local
                Moz Bar
                API
                What's New

              • SEO Tactics

                Discuss the SEO process with fellow marketers

                Content Development
                Competitive Research
                Keyword Research
                Link Building
                On-Page Optimization
                Technical SEO
                Reporting & Analytics
                Intermediate & Advanced SEO
                Image & Video Optimization
                International SEO
                Local SEO

              • Community

                Discuss industry events, jobs, and news!

                Moz Blog
                Moz News
                Industry News
                Jobs and Opportunities
                SEO Learn Center
                Whiteboard Friday

              • Digital Marketing

                Chat about tactics outside of SEO

                Affiliate Marketing
                Branding
                Conversion Rate Optimization
                Web Design
                Paid Search Marketing
                Social Media

              • Research & Trends

                Dive into research and trends in the search industry.

                SERP Trends
                Search Behavior
                Algorithm Updates
                White Hat / Black Hat SEO
                Other SEO Tools

              • Support

                Connect on product support and feature requests.

                Product Support
                Feature Requests
                Participate in User Research

              • See all categories

              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

              Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

              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

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