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
-
If I use links intag instead of "ahref" tag can Google read links inside div tag?
Hi All, Need a suggestion on it. For buttons, I am using links in tag instead of "ahref". Do you know that can Google read links inside "div" tag? Does it pass rank juice? It will be great if you can provide any reference if possible.
Intermediate & Advanced SEO | | pujan.bikroy0 -
Link Building Strategy?
If I use unique content written from writers & post it to good sites (free blogs, bookmarking, directory, articles sites, etc.) having nice good cache, good PR, different IP's do i still have a chance of get hit by Spam actions of google? Planning to do like just 30-50 a month all with unique content or say 1 unique content then re-written & used not more than 3 times. If not this then What else would you suggest? One more thing to add up, like i have 1000+ pages out of which i have like 80-90 pages that matters to me (important pages) then how do I spin the anchor text between all the pages. Should i spin them between 1000+ pages or use only 80-90 IMP pages. If the content is 300 words let say then how many anchor tags should i have?
Intermediate & Advanced SEO | | welcomecure0 -
Help in Internal Links
Which link attribute should be given to internal links of website? Do follow or No follow and why?
Intermediate & Advanced SEO | | Obbserv0 -
Relevancy of link profile
Hi! I'm doing an audit of http://www.stevesims.com/ at the moment, who has had rankings for 'website designers' plummet recently. Looking at the site, there a few things to do with on-page and on-site optimisation, but nothing major. Instead, I think the link profile is the issue. There's a lot of site wide links from non-relevant sites, but I'm struggling to see anything else. Any thoughts would be much appreciated!
Intermediate & Advanced SEO | | Blink-SEO0 -
Looking for a link builder
Hey guys I'm looking for a freelance link builder to work with my agency. Any suggestions would be great. Thanks Jaime
Intermediate & Advanced SEO | | flemingsteele0 -
Advertising links hurt SEO?
I'm working with a publisher who said that having DFA links on his site will hurt his SEO. He is taking my link and pointing it back to his site and then to mine. Does that sound right to you?
Intermediate & Advanced SEO | | GFTMarketer0 -
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 -
Optimising My Website Link Containers
Hi, I'm looking at my links containers and trying to optimise them. I would be greatful if anyone can give me some feedback on my plan for perfect optimaisation. My links are constructed as follows: I have a two states:
Intermediate & Advanced SEO | | James77
1/. A Non Hover state which contains an Image and Text
2/. A Hover state which contains a bit more text - I do this as containing full text on the non hover state would not be good for users and would look ugly as well. Here's an example block of the HTML - as you can see from the URL, its quite a deep page level. From the URL and Alt / Titles the Page I am Linking to is about: "The Royal Hotel Accommodation New York Holidays". I Just a bit confused on how I should apply ALT and Title (Titles in particular) attributes given the nested DiV's etc - I can apply these to parent level, or apply all levels, or apply them to a mix. Also is there any obvious thinks you can think of I am missing that may help onsite SEO? Thanks in Advance CURRENT UNOPTIMISED CODE:
The Royal Hotel
New York Holidays Accommodation
The Royal Hotel
MY OPTIMISED CODE (Adding Title and Alt attributes):
The Royal Hotel
New York Holidays Accommodation
The Royal Hotel
0