Indicating paginated content to Google

30/11/2019

If you break a single piece of content into multiple pages, you can help Google understand the ordering of those pages, and the fact that they are all parts of one longer article.

 

Sites paginate content for various reasons. For example:

  • News and/or publishing sites often divide a long article into several shorter pages.
  • Retail sites may divide the list of items in a large product category into multiple pages.
  • Discussion forums often break threads into sequential URLs.

If you paginate content on your site, and you want that content to appear in search results, we recommend one of the following three options.

  • Do nothing. Paginated content is very common, and Google does a good job returning the most relevant results to users, regardless of whether content is divided into multiple pages.
  • Implement a View All page. Searchers commonly prefer to view a whole article or category on a single page. Therefore, if we think this is what the searcher is looking for, we try to show the View All page in search results. You can also add a rel="canonical" link to the component pages to tell Google that the View All version is the version you want to appear in search results.
  • Use rel="next" and rel="prev" links or headers to indicate the relationship between component URLs. This markup provides a strong hint to Google that you would like us to treat these pages as a logical sequence, thus consolidating their linking properties and usually sending searchers to the first page.
Note: You should not use this technique merely to indicate a reading list of an article series; you should use this to indicate a single long piece of content that is broken into multiple pages.

Using rel="next" and rel="prev"

You can use either HTML links or HTTP headers to indicate the next or previous article segment when a long article is broken into separate pages.

  1. Decide whether to use HTTP headers or HTML  tags
  2. The first page should include only a "next" pointer, pointing to the next article segment.
  3. The last page should include only a "prev" pointer, pointing to the preceding article segment.
  4. All intermediary pages should get both "next" and "prev" pointers to the immediate next and preceding article segments.

Example:

Here is a 3-page article that uses HTML links in the tag:

cats_part_1 cats_part_2 cats_part_3
for the next article segment.
  • Link: for the previous article segment.
  • HTML tags:

    Put the appropriate tags inside the page element.

    • for the next article segment.
    • for the previous article segment.

    Notes

    • rel="prev" and rel="next" act as hints to Google, not absolute directives.
    • Google accepts both rel="prev" and rel="previous"
    • If a page includes parameters that don't change the page's content, such as session IDs, then the URLs specified in next and previous links should also contain those parameters.
    • rel="next" and rel="prev" are compatible with rel="canonical" values. You can include both declarations in the same page. For example, a page can contain both of the following HTML tags:
      
      
      
    • If Google finds mistakes in your implementation (for example, if an expected rel="prev" or rel="next" designation is missing), we'll continue to index the page(s), and rely on our own heuristics to understand your content.
    • URLs can be either absolute or relative. If you include a link in your document, relative paths will resolve according to the base URL.

    * Nguồn: Google Search Console