Thursday 16 April 2020

Pagination

Most setups that use rel=prev/next also use self-referencing canonical tags. For this setup, don’t change anything at all. Treat the pages as you would any other indexable page on your site and make sure to internally link to other pages in the pagination set.


You can also canonicalize paginated pages so that they point to a view-all page that displays all the content. In this way, the content can still be broken up into pages for users, but the indexed version is going to contain all of the content.

How people are hurting their sites

This is how a typical setup looks where each page is crawled and discovered:

But there are a few common mistakes people make when handling pagination that hurt their site. 

These are:
  • Canonicalizing to the first page
  • Noindexing pages
  • Nofollowing links
  • Blocking crawling

Code Block

URL: http://www.ecolalift.com/inventory/

<link rel="next" href="http://www.ecolalift.com/inventory/page/2/" />

URL: http://www.ecolalift.com/inventory/page/2/

<link rel="prev" href="http://www.ecolalift.com/inventory/" />
<link rel="next" href="http://www.ecolalift.com/inventory/page/3/" />

URL: http://www.ecolalift.com/inventory/page/3/

<link rel="prev" href="http://www.ecolalift.com/inventory/page/2/" />