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
-
Benefit of internal link in content
Hi, Is there a real benefit to having internal links in content other than at the bottom of a page for example and not surrounded by content. Would the benefit be 1 to 10 or 1 to 1.5 ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Canonical page 1 and rel=next/prev
Hi! I'm checking a site that has something like a News section, where they publish some posts, quite similar to a blog.
Intermediate & Advanced SEO | | teconsite
They have a canonical url pointing to the page=1. I was thinking of implementing the rel=next/ prev and the view all page and set the view all page as the canonical. But, as this is not a category page of an ecommerce site, and it would has more than 100 posts inside in less than a year, It made me think that maybe the best solution would be the following Implementing rel=next/prev
Keep page 1 as the canonical version. I don't want to make the users wait for a such a big page to load (a view all with more than 100 elements would be too much, I think) What do you think about this solution? Thank you!0 -
Link Building with a Scholarship
One of my clients is using a scholarship to build links. We have a nofollow PR campaign getting ready to start and are doing some social marketing for the scholarship page on the site. We are also trying to get backlinks from highschools and colleges that link to scholarship opportunities. So far this has been a slow process. Does anybody have any advice for speeding any of this up? Has somebody ever done a campaign like this before? Is there some kind of database with financial aid contact info for a lot of schools? I contact a lot of schools and always tend to get put on the backburner.
Intermediate & Advanced SEO | | Atomicx0 -
Link Building
We have just recently launched a new website in Australia and as l am new to the SEO community, l was looking for a little advice on link building. Where is best to start? There are not many authorative websites for our industry. Are there specific websites that are good to link to? Are there any good tools to assist with this? Any help would be great. Thank you.
Intermediate & Advanced SEO | | RobSchofield0 -
Is this link SEO-Friendly?
Hi Mozzers, Was wondering if someone could tell me if this link is SEO-friendly? class = "sl">name="sc" type="checkbox" value="1449"><a <span="">href</a> <a <span="">="</a>http://www.example.com/" onclick = "Javascript: return dosc(2);">src="imsd/coff.gif" id="cbsc2"/>Keyword It has some Javascript that makes the link work like a filter. Cheers, Carlos
Intermediate & Advanced SEO | | Carlos-R0 -
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 -
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 -
Footer sitewide links
Here's a question - does having a "website designed by" reference in the footer of every page of one of your clients help or hurt? I have a major university .edu that I designed a site for one of their departments and it is just about to launch and they've allowed me to put a reference in the footer. I've had pretty good luck with this on my other clients' sites, but didn't know if this practice is seen as spammy. Thanks
Intermediate & Advanced SEO | | Chas-2957210