Implementation of rel="next" & rel="prev"
-
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.
-
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.
-
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
-
Thanks Ruth.
Good to know I was on the right track.
-
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!
-
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".
-
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.
-
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!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
"Url blocked by robots.txt." on my Video Sitemap
I'm getting a warning about "Url blocked by robots.txt." on my video sitemap - but just for youtube videos? Has anyone else encountered this issue, and how did you fix it if so?! Thanks, J
Technical SEO | | Critical_Mass0 -
How do I "undo" or remove a Google Search Console change of address?
I have a client that set a change of address in Google Search Console where they informed Google that their preferred domain was a subdomain, and now they want Google to also consider their base domain (without the change of address). How do I get the change of address in Google search console removed?
Technical SEO | | KatherineWatierOng0 -
Meta Description: How to Implement It?
I'm pretty new to SEO and am starting to implement the knowledge that I've learned into the websites that I'm working on. The websites have already been created but without Meta-descriptions. My problem is that when I try to implement a Meta Description it moves the whole website text and design. I am using Wordpress to manage and edit the sites. Any help would be great. Thanks!
Technical SEO | | amnistech1 -
Rel=Canonical Help
The site in question is www.example.com/example. The client has added a rel=canonical tag to this page as . In other words, instead of putting the tag on the pages that are not to be canonical and pointing them to this one, they are doing it backwards and putting the same URL as the canonical one as the page they are putting the tag on. They have done this with thousands of pages. I know this is incorrect, but my question is, until the issue is resolved, are these tags hurting them at all just being there?
Technical SEO | | rock220 -
Incorrect rel canonical , impacts ?
Incorrect use of canonical code.. and why have they used the strange code surrounding it. Hi there seo guys, I need some help.. a site I am working on has used the rel canonical tag incorrectly. they have used the code on the cannon page not on the duplicate pages.. there is also some other strange code with it. I will show and hide the url.. However I wanted to know if this would stop google bots crawling this page correctly as they dont seem to rank very well either.. here is the code:
Technical SEO | | ibusmedia0 -
Videos for SEO & Profits
Hello, I'm in the middle of developing a website that will be a tutorial site for SEO, http://universityofseo.com. My plan is to do video tutorials & blog posts to help entry-level SEOs and SMB Owners to help them become familiarized with SEO through quick and easy to watch videos. I eventually want to turn this into a revenue stream through advertisements. I want to know for both SEO and profit reasons, if I should host the videos on youtube and then embed them on my site, or do something like Bits on the Run / Whistia and put ads in the videos that way? I'm not overly obsessed with monetizing the site, but it would be nice to do it, but first and foremost i'm concerned with optimizing the site, having great and actionable content, then monetizing it. I'd appreciate any help on this matter, Zach
Technical SEO | | Zachary_Russell0 -
N/A page rank or "grey bar"
I have a web site that is over 10 yrs old, It also has over 30,000 links to it. Last week it received a N/A or "grey bar" page rank. The site also still is listed in the SERPS for my keywords, in fact for a few they have actually improved. The organic traffic is following the same pattern as last year. Webmaster tools doesnt list any critical issues or errors. Is there anything I can do to remedy the situation, or is this just a wait and see? Website is www.netnanny.com.
Technical SEO | | Court_H0 -
Having both <title>and <meta name="title"...> on a web page?</title>
Hi All, Client of mine using reversed Meta Tags format in their website and Honestly i never saw such Meta Tags formats. In my opinion having 2 Title tags and wrong reversed description tag is not correct and the needs to be removed, and other tags need to be changed,too But they said that it probably doesn't make a difference because weird thing is Search Engines are apparently able to index them ,So they don't think it affects search engine results and won't remove it just based on opinion. So should i persist in correcting them or just hope for the best and ignore it?!?!?! Thanks!
Technical SEO | | DigitalJungle0