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. Is this the correct way of using rel canonical, next and prev for paginated content?

    Is this the correct way of using rel canonical, next and prev for paginated content?

    Intermediate & Advanced SEO
    15 4 6.9k
    • 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.
    • fablau
      fablau @Andy.Drinkwater last edited by

      Another question: what about links on those pages that can take the crawl to possible duplicate because of parameters added to the URL like:

      http://www.mysite.com/category/?cp=4&orderby=title

      http://www.mysite.com/category/?cp=4&orderby=title&view=list

      etc.? That's probably why we added the canonical I talked about above.... your thoughts?

      1 Reply Last reply Reply Quote 0
      • fablau
        fablau @Andy.Drinkwater last edited by

        I am sorry, but I haven't received an answer to my last inquiry above, I can't close this thread.

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

          Yes, you only need the canonical tag on the root (as a self-referring canonical) and on page=1 of your paginated URLs. Regarding your recent question about links, a self-referring canonical on those pages will handle that.

          Example:

          On this URL- http://www.mysite.com/category/?cp=4&orderby=title&view=list

          Canonicalize to- http://www.mysite.com/category/

          Hope that's helpful!

          fablau 1 Reply Last reply Reply Quote -1
          • fablau
            fablau @LoganRay last edited by

            Thank you Logan.

            So, even if I am on page 4, the canonical must points always to the root? I think I read somewhere that it should point to the page URL without the extra parameters like this:

            http://www.mysite.com/category/?cp=4

            Am I wrong?

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

              No, you do not need a canonical on any page other than page=1. Refer to Andy's set of examples above. What he laid out is exactly how I markup for pagination.

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

                Thank you for your reply, but I am sorry Logan,  I am confused, you said:

                Regarding your recent question about links, a self-referring canonical on those pages will handle that.

                So, if I had to follow what you said above, I should add the following canonicals on these pages:

                Page 1:

                http://www.mysite.com/category/

                Page 2:

                http://www.mysite.com/category/?cp=2

                Page 3:

                http://www.mysite.com/category/?cp=3

                But then you said that I don't have to put any canonicals except for the first page... so, I am confused... sorry!

                Fact is, all pages may have extra parameters that could cause duplicates, therefore, how can I tackle that without adding a canonical on each page pointing to the "clean" URL without extra parameters? I hope you understand what I mean...

                ThompsonPaul 1 Reply Last reply Reply Quote 0
                • ThompsonPaul
                  ThompsonPaul @fablau last edited by

                  You want to have each of your paginated category pages include a self-referential canonical tag, Fabrizo, for exactly the reason you mention - to protect the paginated pages from additional variables creating more dupe indexed pages.

                  Paul

                  fablau 1 Reply Last reply Reply Quote 0
                  • fablau
                    fablau @ThompsonPaul last edited by

                    Thank you Paul, so, what I have been doing so far is correct, right? Here it is again, please, confirm so I can close this thread:

                    On page 1:

                    On page 2:

                    On page 3:

                    And so on, until the last page is reached:

                    Is this the correct way to do it then?

                    ThompsonPaul 1 Reply Last reply Reply Quote 0
                    • ThompsonPaul
                      ThompsonPaul @fablau last edited by

                      Yup, that's exactly correct - just the way you first proposed.

                      And if you want it straight from the horse's mouth, here's Google's own description of implementation best practice for your exact situation:

                      rel="next" and rel="previous" on the one hand and rel="canonical" on the other constitute independent concepts.Both declarations can be included in the same page.

                      For example, http://www.example.com/article?story=abc&page=2&sessionid=123 may contain:

                      Note the canonical for the page is self referential to the version of the page including the basic variable that defines the actual page, leaving out the more dynamic variable of sessionID - the same way you'd want to leave out the dynamic size or colour variables, for example, which are specific to only that visit.

                      From https://webmasters.googleblog.com/2011/09/pagination-with-relnext-and-relprev.html
                      With a big whack of followup confirmation in this discussion with Google Engineer Maile Ohye https://productforums.google.com/forum/#!msg/webmasters/YbXqwoyooGM/0XTh-gIxS7YJ

                      Don't forget you can also use the tools in GSC to help GoogleBot understand which of your URL variables are indexable and which should be ignored. Only helps Google itself, but hey, every little bit counts 🙂

                      Good luck!

                      Paul

                      fablau 1 Reply Last reply Reply Quote 2
                      • fablau
                        fablau @ThompsonPaul last edited by

                        Fantastic, thank you Paul! Those links are very useful, and I might have already read those when I setup those canonicals (I jut forgot after a few years to have worked on that!)

                        I'll check them out carefully again 🙂

                        Appreciated your help and prompt reply 🙂

                        All the best,

                        Fabrizio

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • Canonical page 1 and rel=next/prev
                          Keszi
                          Keszi
                          0
                          2
                          510

                        • Blog tags are creating excessive duplicate content...should we use rel canonicals or 301 redirects?
                          evolvingSEO
                          evolvingSEO
                          0
                          5
                          307

                        • Rel=next/prev for paginated pages then no need for "no index, follow"?
                          khi5
                          khi5
                          0
                          5
                          1.0k

                        • Using unique content from "rel=canonical"ized page
                          Dr-Pete
                          Dr-Pete
                          0
                          4
                          149

                        • RSS and rel = prev/next for pagination
                          touristips
                          touristips
                          0
                          3
                          262

                        • Pagination, Canonical, Prev & Next
                          Dr-Pete
                          Dr-Pete
                          0
                          5
                          2.0k

                        • Pagination: rel="next" rel="prev" in ?
                          beck398
                          beck398
                          1
                          5
                          4.0k

                        • Adding rel=next / prev to pagination that uses Ajax?
                          Dr-Pete
                          Dr-Pete
                          0
                          3
                          2.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