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. Set Canonical for Paginated Content

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.

Set Canonical for Paginated Content

Technical SEO
3
10
1.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.
  • jeeyer
    jeeyer last edited by May 5, 2015, 6:21 PM

    Hi Guys,

    This is a follow up on this thread: http://moz.com/community/q/dynamic-url-parameters-woocommerce-create-404-errors#

    I would like to know how I can set a canonical link in Wordpress/Woocommerce which points to "View All" on category pages on our webshop.
    The categories on my website can be viewed as 24/48 or All products but because the quanity constantly changes viewing 24 or 48 products isn't always possible.

    To point Google in the right direction I want to let them know that "View All" is the best way to go.
    I've read that Google's crawler tries to do this automatically but not sure if this is the case on on my website.

    Here is some more info on the issue: https://support.google.com/webmasters/answer/1663744?hl=en
    Thanks for the help!

    Joost

    1 Reply Last reply Reply Quote 0
    • evolvingSEO
      evolvingSEO @jeeyer last edited by May 20, 2015, 1:10 PM May 20, 2015, 1:10 PM

      Joost - that's correct! Yes, I assume woocommerce, since they are product pages.

      1 Reply Last reply Reply Quote 0
      • jeeyer
        jeeyer @evolvingSEO last edited by May 20, 2015, 11:55 AM May 20, 2015, 11:55 AM

        Hi Dan,

        Thanks for the explanation. 
        Ok so I block 24 and 48 for Google but users can still use them to navigate through the site. 
        I assume this is woocommerce related because Woocommerce creates the output for the productpages right?

        Thanks again!

        Joost

        evolvingSEO 1 Reply Last reply May 20, 2015, 1:10 PM Reply Quote 0
        • evolvingSEO
          evolvingSEO @jeeyer last edited by May 20, 2015, 11:54 AM May 19, 2015, 8:53 PM

          Joost

          I think you'll need to get a developer or someone involved to help execute, but here's the ideal scenerio:

          1. Add meta "noindex" tags to ?show_products=24 and 48
          2. Make your 'view all' URL ideally just /product-category/t-shirts/ - with no parameter - or if you have to, maybe /t-shirts/all/ - your goal here is to keep it consistent and NOT the same parameter as the other pages
          3. Then, whatever consistent URL you have for the 'all' - don't add "noindex" to that (keep it indexable).
          4. Wait for Google to remove 24/48 URLs from the index (you have to just check every week or two with site: searches)
          5. Once they are noindexed, block crawling with robots.txt with this line:

          Disallow: /?show_products= <---but ONLY use that if you've changed your 'view all' URLs to something else! You ideally want a different URL structure for 'view all' vs. not view all to control crawling and indexation more easily.

          jeeyer 1 Reply Last reply May 20, 2015, 11:55 AM Reply Quote 1
          • jeeyer
            jeeyer @evolvingSEO last edited by May 19, 2015, 4:28 PM May 19, 2015, 4:28 PM

            Hi Dan,
            Thanks for your reply.
             For the category t-shirt I've got this:

            /product-category/t-shirts/?show_products=24 (24)
            /product-category/t-shirts/?show_products=48 (48)
            /product-category/t-shirts/?show_products=41 (when All selected)

            Let me know! And thanks again for your time! Really apreciate it!Joost

            evolvingSEO 1 Reply Last reply May 19, 2015, 8:53 PM Reply Quote 0
            • evolvingSEO
              evolvingSEO @jeeyer last edited by May 18, 2015, 11:26 AM May 18, 2015, 11:26 AM

              Hi Joost

              Can you provide examples of how all your URLs are setup? What does the URL look like for view all, 24 items etc etc?

              jeeyer 1 Reply Last reply May 19, 2015, 4:28 PM Reply Quote 1
              • jeeyer
                jeeyer @evolvingSEO last edited by May 15, 2015, 12:53 PM May 15, 2015, 12:53 PM

                Wow Dan!

                Thanks for looking in to this!

                I assume you are totally right but have no idea how I should implement this strategy on my site. It just a plain wordpress install with woocommerce. I use Yoast (ofcourse) but never went in-depth with robot.txt.

                How can I provide you with more info? Or better; myself 😉

                Thanks again,

                Joost

                evolvingSEO 1 Reply Last reply May 18, 2015, 11:26 AM Reply Quote 0
                • evolvingSEO
                  evolvingSEO last edited by May 15, 2015, 11:17 AM May 15, 2015, 11:17 AM

                  Hi Joost

                  It would be better to just "noindex" anything except view all. Then once they are gone from the index, set a block in robots.txt so they can't be crawled anymore. That fixes the issue at the source, the canonical is more of a bandaid. So:

                  1. Add a meta "noindex" tag to everything except view all (I am not 100% sure how in your wordpress setup - there's no one way, it depends on your setup).

                  2. Monitor the indexation of these pages in Google and wait for them to be removed (you can check with just searching for the URL in the search bar).

                  3. Once they are all gone from the index, block crawlers from accessing them by adding a line to your robots.txt file blocking the 24/48 URLs - again, I don't know the exact code for your robots.txt because I am unsure of your URL setup, but a dev or someone can help - or feel free to write back with these details and I'll try to help further.

                  jeeyer 1 Reply Last reply May 15, 2015, 12:53 PM Reply Quote 1
                  • topic:timeago_earlier,9 days
                  • jeeyer
                    jeeyer @PatrickDelehanty last edited by May 6, 2015, 5:25 AM May 6, 2015, 5:25 AM

                    Hi Patrick,

                    Thanks for helping out. I've read a lot about the theory behind View All and why & when it's better to set canonicals on page 2 and 3 to View All.
                    But I can't seem to find any information how to implement the rel canonical in wordpress/woocommerce.

                    I know that Google will try to sort it out by itself (if View All) is available but helping them with a canonical will solve a lot of 404 crawls on our site.
                    Any ideas?

                    Joost

                    1 Reply Last reply Reply Quote 0
                    • PatrickDelehanty
                      PatrickDelehanty last edited by May 5, 2015, 10:16 PM May 5, 2015, 10:14 PM

                      Hi Joost

                      Did you happen to take a look at SEO Guide to Google Webmaster Recommendations for Pagination? There are some great tips in there that can help you implement this.

                      Also, View-all in search results & 5 common mistakes with rel=canonical from Google also has some tips.

                      Hope these help a bit! Let me know if you have any questions or comments! Good luck!

                      jeeyer 1 Reply Last reply May 6, 2015, 5:25 AM Reply Quote 1
                      • 1 / 1
                      1 out of 10
                      • First post
                        1/10
                        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

                      • znotes

                        Duplicate Content Issues with Pagination

                        Hi Moz Community, We're an eCommerce site so we have a lot of pagination issues but we were able to fix them using the rel=next and rel=prev tags. However, our pages have an option to view 60 items or 180 items at a time. This is now causing duplicate content problems when for example page 2 of the 180 item view is the same as page 4 of the 60 item view. (URL examples below) Wondering if we should just add a canonical tag going to the the main view all page to every page in the paginated series to get ride of this issue. https://www.example.com/gifts/for-the-couple?view=all&n=180&p=2 https://www.example.com/gifts/for-the-couple?view=all&n=60&p=4 Thoughts, ideas or suggestions are welcome. Thanks

                        Technical SEO | Jul 10, 2017, 12:31 PM | znotes
                        0
                      • TIM_DOTCOM

                        Handling of Duplicate Content

                        I just recently signed and joined the moz.com system. During the initial report for our web site it shows we have lots of duplicate content. The web site is real estate based and we are loading IDX listings from other brokerages into our site. If though these listings look alike, they are not. Each has their own photos, description and addresses. So why are they appear as duplicates – I would assume that they are all too closely related. Lots for Sale primarily – and it looks like lazy agents have 4 or 5 lots and input the description the same. Unfortunately for us, part of the IDX agreement is that you cannot pick and choose which listings to load and you cannot change the content. You are either all in or you cannot use the system. How should one manage duplicate content like this? Or should we ignore it? Out of 1500+ listings on our web site it shows 40 of them are duplicates.

                        Technical SEO | Apr 26, 2015, 10:21 PM | TIM_DOTCOM
                        0
                      • sidstar

                        The Mysterious Case of Pagination, Canonical Tags

                        Hey guys, My head explodes when I think of this problem. So I will leave it to you guys to find a solution... My root domain (xxx.com) runs on WordPress platform. I use Yoast SEO plugin. The next page of root domain -- page/2/ -- has been canonicalized to the same page -- page/2/ points to page/2/ for example. The page/2/ and remaining pages also have this rel tags: I have also added "noindex,follow" to page/2/ and further -- Yoast does this automatically. Note: Yoast plugin also adds canonical to page/2/...page/3/ automatically. Same is the case with category pages and tag pages. Oh, and the author pages too -- they all have self-canonicalization, rel prev & rel next tags, and have been "noindex, followed." Problem: Am I doing this the way it should be done? I asked a Google Webmaster employee on rel next and prev tags, and this is what she said: "We do not recommend noindexing later pages, nor rel="canonical"izing everything to the first page." (My bad, last year I was canonicalizing pages to first page). One of the popular blog, a competitor, uses none of these tags. Yet they rank higher. Others following this format have been hit with every kind of Google algorithm I could think of. I want to leave it to Google to decide what's better, but then again, Yoast SEO plugin rules my blog -- okay, let's say I am a bad coder. Any help, suggestions, and thoughts are highly appreciated. 🙂 Update 1: Paginated pages -- including category pages and tag pages -- have unique snippets; no full-length posts. Thought I'd make that clear.

                        Technical SEO | Jan 26, 2013, 11:50 AM | sidstar
                        0
                      • danatanseo

                        We have set up 301 redirects for pages from an old domain, but they aren't working and we are having duplicate content problems - Can you help?

                        We have several old domains. One is http://www.ccisound.com  - Our "real" site is http://www.ccisolutions.com  The 301 redirect from the old domain to the new domain works. However, the 301-redirects for interior pages, like: http://www.ccisolund.com/StoreFront/category/cd-duplicators  do not work. This URL should redirect to http://www.ccisolutions.com/StoreFront/category/cd-duplicators  but as you can see it does not. Our IT director supplied me with this code from the HT Access file in hopes that someone can help point us in the right direction and suggest how we might fix the problem: RewriteCond%{HTTP_HOST} ccisound.com$ [NC] RewriteRule^(.*)$ http://www.ccisolutions.com/$1 [R=301,L] Any ideas on why the 301 redirect isn't happening? Thanks all!

                        Technical SEO | Aug 14, 2012, 8:52 PM | danatanseo
                        0
                      • hawkvt1

                        Duplicate content and http and https

                        Within my Moz crawl report, I have a ton of duplicate content caused by identical pages due to identical pages of http and https URL's. For example: http://www.bigcompany.com/accomodations https://www.bigcompany.com/accomodations The strange thing is that 99% of these URL's are not sensitive in nature and do not require any security features.  No credit card information, booking, or carts.  The web developer cannot explain where these extra URL's came from or provide any further information. Advice or suggestions are welcome!  How do I solve this issue? THANKS MOZZERS

                        Technical SEO | May 28, 2018, 11:47 PM | hawkvt1
                        0
                      • surveygizmo

                        Does Google pass link juice a page receives if the URL parameter specifies content and has the Crawl setting in Webmaster Tools set to NO?

                        The page in question receives a  lot of quality traffic but is only relevant to a small percent of my users. I want to keep the link juice received from this page but I do not want it to appear in the SERPs.

                        Technical SEO | May 5, 2014, 1:01 PM | surveygizmo
                        0
                      • CPLDistribution

                        Duplicate Content issue

                        I have been asked to review an old website to an identify opportunities for increasing search engine traffic. Whilst reviewing the site I came across a strange loop. On each page there is a link to printer friendly version: http://www.websitename.co.uk/index.php?pageid=7&printfriendly=yes That page also has a link to a printer friendly version http://www.websitename.co.uk/index.php?pageid=7&printfriendly=yes&printfriendly=yes and so on and so on....... Some of these pages are being included in Google's index. I appreciate that this can't be a good thing, however, I am not 100% sure as to the extent to which it is a bad thing and the priority that should be given to getting it sorted. Just wandering what views people have on the issues this may cause?

                        Technical SEO | Jun 15, 2011, 9:01 AM | CPLDistribution
                        0
                      • Firestarter-SEO

                        How to set up a rel canonical in big commmerce?

                        I have no clue how to set this up in the Bigcommerce store platform

                        Technical SEO | Nov 7, 2012, 4:28 PM | Firestarter-SEO
                        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.