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. Implementation of rel="next" & rel="prev"

    Implementation of rel="next" & rel="prev"

    Technical SEO Issues
    8 5 1.4k
    • 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.
    • NDAY
      NDAY last edited by

      Hi All,

      I'm looking to implement rel="next" & rel="prev", so I've been looking for examples. I looked at the source code for the MOZ.com forum, if anyone one is going to do it properly MOZ are.

      I noticed that the rel="next" & rel="prev" tags have been implemented in the a href tags that link to the previous and next pages rather than in the head. I'm assuming this is fine with Google but in their documentation they state to put the tags in the . Does it matter?

      Neil.

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

        Hey Neil,

        The pagination tags do have to be implemented in the section to be properly recognized by Google. Maile Ohye confirmed this aspect.

        As for an example, here's one I gave to a previous related question: http://moz.com/community/q/pagination-for-product-page-reviews

        Hope this helps!

        NDAY 1 Reply Last reply Reply Quote 1
        • NDAY
          NDAY @mihaiaperghis last edited by

          Very Helpful,

          Thanks Mihal,

          That's what I thought, after reading and watching Maile's video. Does this mean I've spotted a mistake by MOZ??

          Neil.

          mihaiaperghis 1 Reply Last reply Reply Quote 0
          • mihaiaperghis
            mihaiaperghis @NDAY last edited by

            No problem!

            I don't know exactly where Moz uses pagination, so can't really tell.

            However, using rel=next/prev in the anchor tag is allowed as well as defined by w3.org, it's just that Google won't take those into consideration because, as Maile says, "we’re concerned that links in the section make it possible for spammers to find less secure user-generated content (UGC) sites and then inject irrelevant links totally unbeknownst to the webmaster".

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

              You've stumbled into a test we were running! Yes, putting it in the is the methodology recommended by Google - we were testing to see if having it in the anchor would work as well (looks like no, it doesn't). We're often running tests of this type so just because you see us doing something, doesn't necessarily mean it's the 100% best way to do it! You're better off reading the blog and Learn SEO sections for best practices information. Good catch!

              NDAY Jon_bangonline 2 Replies Last reply Reply Quote 2
              • NDAY
                NDAY @RuthBurrReedy last edited by

                Thanks Ruth.

                Good to know I was on the right track.

                1 Reply Last reply Reply Quote 0
                • Jon_bangonline
                  Jon_bangonline @RuthBurrReedy last edited by

                  Hi Ruth,

                  If we currently have rel=canonical tags on our pages but will be implementing rel=”next” and rel=”prev”, should we remove the existing rel=canonical tags?

                  Thanks for your help

                  Freddy

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

                    We have a good post on pagination right now on YouMoz at http://moz.com/ugc/seo-guide-to-google-webmaster-recommendations-for-pagination, which could be a good place to ask that quesiton.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Link rel="prev" AND canonical
                      Everett
                      Everett
                      1
                      12
                      1.8k

                    • SEO question: Need help on rel="alternate" hreflang="x"
                      TruvoDirectories
                      TruvoDirectories
                      0
                      3
                      183

                    • Does using data-href="" work more effectively than href="" rel="nofollow"?
                      Everett
                      Everett
                      0
                      3
                      18.1k

                    • Rel="Follow"? What the &#@? does that mean?
                      irvingw
                      irvingw
                      0
                      9
                      17.6k

                    • Campaign Issue: Rel Canonical - Does this mean it should be "on" or "off?"
                      mrbradleyferguson
                      mrbradleyferguson
                      0
                      4
                      230

                    • Rel = prev next AND canonical?
                      EastEssence22
                      EastEssence22
                      0
                      3
                      668

                    • Any Positive Experiences with Rel=Next Rel=Prev for pagination?
                      Lantec
                      Lantec
                      0
                      2
                      504

                    • Should we use "and" or "&"?
                      IPROdigital
                      IPROdigital
                      0
                      9
                      3.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