Link rel=next and prev validator?
-
Can I validate link next and prev markup for paginated content?
-
Update: I checked the rel=next/prev tags in Screaming Frog and they are not implemented correctly. The homepage is identified in all rel=next/prev tags. Not good.
I'm thinking I'll scrap my rel=next/prev efforts and try a view all option with a canonical tag.
-
It does not appear to be working from the pagination testing tool. I get a "previous and next URL does not link back" message.
I do believe the problem involves these links being dynamically created, possibly with Javascript. The reason I think this is causing the problem is because when I view the code in Chrome via "View Page Source" the links are empty (href=""); however, when I view the code in the inspector (Developer Tools) the links appear and are correct.
-
Hi there,
You can use this pagination testing tool to test the mark up on a single page.
Other than that, you can use a web crawler like Screaming Frog to pull all your rel= next/prev tags and check those manually. If you are unsure if these were implemented correctly, feel free to leave an example in this post and I will happily take a look. Alternatively, you can direct message me if you prefer.
I would also recommend checking out Search Console Help's article on paginated content, it will show you how to properly set up these tags.
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
-
Internal Linking
Hi, I'm doing internal anchor text links. Relative path. if I use /destination-page instead of https://website.com/destination-page will I still receive a transfer of internal Google trust to the destination page? Does google treat just the / url the same as full url??
Intermediate & Advanced SEO | | Scotty_Wilson0 -
How would you link build to this page?
Hi Guys, I'm looking to build links to a commercial page similar to this: https://apolloblinds.com.au/venetian-blinds/ How would you even create quality links (not against Google TOS) to a commercial page like that? Any ideas would be very much appreciated. Cheers.
Intermediate & Advanced SEO | | spyaccounts140 -
Is this the correct way of using rel canonical, next and prev for paginated content?
Hello Moz fellows, a while ago (3-4 years ago) we setup our e-commerce website category pages to apply what Google suggested to correctly handle pagination. We added rel "canonicals", rel "next" and "prev" as follows: On page 1: On page 2: On page 3: And so on, until the last page is reached: Do you think everything we have been doing is correct? I have doubts on the way we have handled the canonical tag, so, any help to confirm that is very appreciated! Thank you in advance to everyone.
Intermediate & Advanced SEO | | fablau0 -
Link Building for E-Commerce
Hi, Our on page optimization, albeit for a few dupe content issues, is ok - We have good keyword rich URL's, Titles, H1's and unique product descriptions. So now I want to look at building links that will boost our DA and PA's. We have over 2000 products on the store and around 130 categories/subcategories -and I would appreciate any views on where to start - My initial view is to get backlinks from the relevant manufacturer websites to the "shop by brand" page on our site related to these manufacturers - What other strategies should I look at? Thanks, Ben
Intermediate & Advanced SEO | | bjs20100 -
Indirect SEO boost from links
I have 2 ecommerce sites, each with a blog. I am increasing my linkbuilding efforts, but I don't want to build too many links directly to my 2 sites over a short period of time. I have decided that I will add a certain number of links to sites/pages that are already linking to my main sites (for example, a blog post on my blog, guest post on another blog, article submission, etc.). How much of a benefit can I expect in terms of rankings? Has anyone tested this out or experimented with something like this? What are the pros and cons? I appreciate thoughtful comments.
Intermediate & Advanced SEO | | inhouseseo0 -
My site links have gone from a mega site links to several small links under my SERP results in Google. Any ideas why?
A site I have currently had the mega site links on the SERP results. Recently they have updated the mega links to the smaller 4 inline links under my SERP result. Any idea what happened or how do I correct this?
Intermediate & Advanced SEO | | POSSIBLE0 -
Flow of internal link equity
I've recently come across this: A site changes the URL of one internal page to something more search friendly, and 301's the old to the new as you would expect. They don't change the link on the homepage in the navigation. Instead they keep it to the old URL so they go through the 301 to get to the page even though it's internal. They say if they change the URL it will reset the internal flow of link equity to that page. I've not come across this before and so am not sure what to think. I mean I can see what they're saying but I would have though that it being internal would mean it's different and that the flow to internal pages would just kind of resume as-was quite soon afterwards. Any views?
Intermediate & Advanced SEO | | SteveOllington0 -
Sitewide blog link and Article links
Hi Guys I just wanted to give you all a heads up on something I adjusted recently that worked really well and wanted to ask for your own experiences on this. 1. We have a blog that adds regular content and within the blog we link from the keyword we are targeting. Standard stuff right ! We were struggling for movement on a keyword so I removed the links from the articles and added a link on the site wide blogroll. The link on the blogroll included the keyword but was a longer descriptive link. Low and behold we got a first page listing when the changed it.The change in ranking was made a few days later. I have always been given the impression that site wide isn't that great ? So explain this one . Of course there are many other factors etc 🙂 What are your experiences and thoughts on what happened here ?
Intermediate & Advanced SEO | | onlinemediadirect0