Adding rel=next / prev to pagination that uses Ajax?
-
Hi
I have just been informed that I should be using the rel=next / rel=prev markup on my category pages and search results pages that use pagination.
How do i add these in? Is it just the simple case of adding rel=next in the<a href="" for="" item="" in="" the="" pagination?<="" p=""></a>
<a href="" for="" item="" in="" the="" pagination?<="" p="">Also does this work if your are using AJAX - on page load it displays the search / category pages then uses AJAX for additional pages so there is no page refresh</a>
<a href="" for="" item="" in="" the="" pagination?<="" p="">Many Thanks</a>
-
It's tricky - these are http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html
To steal their example, page 2 of search results is going to need 2 tags, like this:
If there's no page refresh and you're using AJAX, it's possible your paginated search isn't being indexed at all. It depends on what you're showing to bots. Unfortunately, that's nearly impossible to tell without seeing the site.
-
Yeah its simple enough to add.. Just the previous page to the one you are on with the rel tag "prev" and the next page with the rel tag "next".. As for your ajax issued im not too sure sorry, i dont see why it wouldnt work though.
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
-
Using a Sub Domain as a Main Domain?
Hi, I'm working on a site at the moment and the sub domain is acting as the main domain. This occurred when the site was redesigned and built on a sub domain for testing but it was never moved to the main domain when it went live (a couple of years ago). So little or no pages are live on domain.com but all on sub.domain.com. It's a large company but they have very poor rankings. Would you recommend that they move the sub domain back into the root folder? Does this involve renaming/re-pointing URLs? Thanks Louise
Intermediate & Advanced SEO | | MVIreland1 -
Has anyone used Wildshark?
Just stumbled across a company called Wildshark SEO (http://www.wildshark.co.uk). Has anyone used them? Any feedback? Please and thank you!
Intermediate & Advanced SEO | | seoman100 -
Rel canonical or redirect
Hi, my client has the following links pointing to the home page http://www.weddingrings.com/index.cfm http://www.weddingrings.com In this case would I use rel canonical or redirect?
Intermediate & Advanced SEO | | alexkatalkin0 -
Article/ Blog Post submissions
Hello All, I'm looking to perform a 'Standard' guest blog post link building tactic, but i'm a little unsure as where to start. Does anybody have a list/ guide to websites that accept guest posts? Preferably ones that are useful for SEO purposes, I have been link building for about 3 months now, but to be honest, most of these links are NoFollow, which isn't too great! Paul
Intermediate & Advanced SEO | | Paul_Tovey0 -
Rel Author markup for a Book Product?
Hi mozzers, I'm writing up some recommendations for a rebuild of a large bookstore E-commerce site which includes a section on structured data. I'm looking through schema markup and specifically the Product, Thing, CreativeWork and Book schemas. I'm confused however as to whether rel author is applicable/suitable to a book product page? The author of the page is the website, but the author of the book is the Author. The author's name within the product will be linked to their Author Profile page on the website which could potentially include a link to their Google+ page (if they have it... probably <0.01% of Authors, but should be enough for Google to connect the dots). It could work but I don't want to attribute authorship of the page to the book author - I just want to markup the product page to indicate who the author of a book product is. My concern is also that I want the product image to be displayed in SERPs, not the Author photo. Does anybody have any experience or advice regarding this? Cheers Andrew
Intermediate & Advanced SEO | | Gloyns0 -
Using the right Schema.org - & is there a penalty in using the wrong one?
Hi We have a set of reviewed products (in this case restaurants) that total an average rating of 4.0/5.0 from 800 odd reviews. We know to use schema/restaurant for individual restaurants we promote but what about for a list of cities, say restaurants in boston for example. For the product page containing all of Boston restaurants - should we use schema.org/restaurant (but its not 1 physical restaurant) or schema.org - product + agg review score? What do you do for your product listing pages? If we get it wrong, is there a penalty? Or this just simply up to us?
Intermediate & Advanced SEO | | xoffie1 -
Rel canonical issues on wordpress posts
Our site has 500 rel canonical issues. This is the way i understand the issues. All our blog posts automatically include a rel=canonical to themselves.
Intermediate & Advanced SEO | | acs111
eg a blog about content marketing has: Should this tag point to one of the main pages instead so the link juice is sent back to our home page?0 -
Bing/Yahoo! Updates
On March 27th I noticed a huge rankings drop across the board on a client site in Bing and Yahoo! After some research, I found this article on SEOroundtable (it also links back to a Webmaster World discussion). For this particular site we're talking a few dozen of keywords dropping off the first page, or even from the first page dropping out of the top 50. The only thing not affected were brand keywords. The site was recently relaunched, and has a fairly weak backlink profile right now. It doesn't use keywords in the domain (which was one of the things identified in the SEOroundtable article). Has anyone else noticed changes? If so, what do you attribute them to and how are you combating them?
Intermediate & Advanced SEO | | BedeFahey0