Skip to content Are you an AI agent? QIO facts, prices and requests are here

10 min read

Pagination: what it is and how to set it up for SEO

Pagination divides a long list of products or articles into pages. We look at the problems it creates for search, how to set it up today and what to check in the 1C-Bitrix CMS (a popular CMS in Russia).

Chrome plates fanned out like pages of page-by-page navigation

Pagination is the division of a long list of products, articles or search results into several numbered pages. It exists in almost every catalogue and blog, and this is often where technical errors hide: duplicates, empty pages, products that the robot cannot reach. We look at what pagination is, how search engines treat it now and how to check it.

What pagination is, in plain terms

Pagination, or page-by-page navigation, divides a large list into parts and provides links for moving between them. The paginator is the block with page numbers and the Back and Forward buttons.

The closest everyday analogy is a book: the text is not printed as one continuous strip but divided into numbered pages. An online store catalogue works the same way, with 24 products on the first page and the rest available via links 2, 3, 4. Pagination on a site speeds up loading and helps users avoid getting lost in a long list.

Pagination in programming is the same idea at the data level: the server or API returns a selection in portions, and the client requests the next portion by page number or offset.

The main types of pagination

Chrome tiles, a button and a long ribbon as three types of pagination
Numbering, a Show more button and an endless feed

Sites use three main types: classic page numbering, a "Show more" button and infinite scroll. For search they are not equivalent: what matters is whether each portion of content has its own address.

TypeHow it worksWhat matters for SEO
Page numberingLinks 1, 2, 3 and "Next"Each page has its own URL, and the robot can easily follow the links
"Show more"A button loads the next portion onto the same pageThe robot does not click buttons; ordinary links to pages are needed
Infinite scrollContent loads as you scrollWithout separate URLs, part of the list may remain invisible to search

For the user, convenience depends on the task. Numbering is good in catalogues where it matters to return to the right place; an endless feed is good in media and social networks.

What problems pagination creates for SEO

Pagination creates many similar pages, spends the robot's crawl resources and can hide part of the products. It is not harmful in itself; problems appear because of poor implementation.

Similar pages and duplicates

Pages 2, 3 and 4 of one category have the same title, description and introductory text. If, on top of that, the same page opens at different addresses, for example with and without a parameter, the search engine gets genuine duplicates.

Empty and non-existent pages

The products have run out but the link to the fifth page remains. If the site responds at such an address with code 200 ("page exists") and shows an empty list, junk gets into the index. Non-existent page numbers should return 404 ("page not found").

Crawl load

Hundreds of pagination pages, multiplied by sortings and filters, turn into thousands of addresses. On large sites this takes crawl resources away from product pages.

Content the robot cannot reach

If the next portion is loaded only by a script when a button is clicked, the search robot will not see it: according to Google's documentation, its crawlers do not "click" buttons.

How search engines treat pagination pages now

Google recommends giving each pagination page its own URL, linking pages with ordinary links and not marking the first page as canonical for all the others. Google no longer uses the rel="next" and rel="prev" attributes.

The key rules from Google's pagination guide:

  • each page has its own address, for example with the parameter ?page=2, rather than a number after a # symbol, which Google ignores;
  • each page links to the next through an ordinary <a href> tag;
  • the canonical address of a page is the page itself, not the first page. The canonical address is a note in the page code telling the search engine which address to treat as the main one. For the second page of a catalogue the main address is ?page=2, because it holds a different set of products; a link to the first page would tell the search engine that the main version is there;
  • identical titles and descriptions across a series of pages are acceptable;
  • to remove an already known sorting or filter address from the results, put a noindex meta tag on the page and allow it to be crawled. The robot must open the page again and read the ban. If the goal is to reduce crawling of many filter combinations, set a rule in robots.txt. An address already known to the robot may still remain in the results.

Yandex has no separate rule for pagination in its help, and its representatives' recommendations have changed over the years. The safe practice for both systems is the same: pages are open to crawling, each has a correct canonical address, and junk variants are closed.

How to set up pagination correctly: three approaches

In practice three approaches are used: leave pagination pages open with a canonical address pointing to themselves, close them from indexing, or provide a page with the whole list. The choice depends on the size of the catalogue and how the navigation is built.

Pages open, canonical to themselves

The approach matches Google's recommendations and suits most catalogues. Advantage: the robot moves freely through all pages and finds every product. Disadvantage: second and third pages may get into the index, so their title (the page heading in the results) is worth supplementing with the page number. Google allows identical titles, but the number helps tell pages apart in the results and in duplicate reports. Keep the category's SEO text on the first page only.

Close pages from the second one onwards

This route is chosen when the lists themselves are not needed in the results and the robot has other paths to all product pages: a sitemap and links from other sections. A noindex meta tag removes pages from the index but leaves them available for crawling. Blocking in robots.txt is riskier: the robot stops visiting these pages and finds products worse when the only links to them come from there. If you choose this route, be sure to keep all product pages in the sitemap (the file listing site pages for search robots).

A "Show all" page

For example, in a small category the whole range loads quickly at /catalog/divany/. Put the full list there with an ordinary link to each product page. Such a catalogue needs neither a second page nor a page-number switcher. For a large range, first check how quickly the full list loads.

Pagination in 1C-Bitrix

In 1C-Bitrix (a popular CMS in Russia), page-by-page navigation is rendered by the system component system.pagenavigation, and the page number is passed in the address by a parameter such as PAGEN_1. These specifics are worth taking into account when setting up a catalogue for SEO.

What is important to know about the platform:

  • The PAGEN_N parameter. In the navigation template from the documentation, links are built as ?PAGEN_ + navigation number. If a page has several lists with page-by-page output, PAGEN_2 and PAGEN_3 appear. The digit after PAGEN is the number of the list, not the page: ?PAGEN_1=3 means the third page of the first list. So it is easy to get different addresses for the same category.
  • The "All" link. List components, such as news.list, have a PAGER_SHOW_ALL parameter: it adds an "All" link that outputs every item (with the SHOWALL_N parameter in the address). If you do not need this mode, disable it so as not to create yet another page variant.
  • Remembering the page in the session. According to the documentation for the NavPrint method, the last opened page is remembered in the session by default. As a result, the same address can show different content depending on previous visits, and the robot or user sees the wrong page. This is disabled by calling CPageOption::SetOptionString("main", "nav_page_in_session", "N").
  • The base link. The PAGER_BASE_LINK_ENABLE and PAGER_BASE_LINK parameters set the address from which navigation links are built. This helps when, with human-readable URLs (such as /catalog/divany/), extra GET parameters (the tail of the address after "?") get into the links.
  • The navigation template. The appearance and markup of links are changed in a copy of the system.pagenavigation template in the site template folder, without touching the core.

After setup, check that the first page is available at a single address without ?PAGEN_1=1, and that a non-existent page number does not return code 200 with an empty list. More on working with the platform is on the page about SEO promotion of sites on 1C-Bitrix.

Pagination checklist

For a catalogue with numbering, go through the whole list. If a category fits entirely on one address, skip the points about moving between pages and the titles of subsequent pages. Check that the whole range is visible at the main address and that links to every product page are available.

  • Each page of the list has its own URL without a # symbol.
  • Links between pages are ordinary <a href> links, not only JavaScript buttons.
  • The canonical of each page points to the page itself.
  • The first page opens at a single address, and the variant with number 1 redirects to it.
  • Non-existent page numbers return 404.
  • The title of the second and subsequent pages contains the page number.
  • At sorting addresses that need to be removed from the results, the robot can read noindex.
  • All products and articles are in the sitemap.
  • Yandex Webmaster and Search Console show no mass duplicates on pagination pages.

If pagination in a catalogue has already produced duplicates and junk in the index, it is better to fix it together with filters and canonical addresses: this is what technical SEO for a site covers.

Sources

Questions and answers

What is page pagination on a site?

It is the division of a long list of products, articles or search results into numbered pages with links for moving between them.

Should pagination pages be closed from indexing?

Usually not: Google advises leaving them open with a canonical address pointing to themselves. Closing via noindex is acceptable, but then all products must be reachable by the robot through the sitemap and other links.

What is page flipping called?

Page-by-page navigation, pagination or a pager. The block with page numbers itself is often called the paginator.

How is pagination implemented?

The server selects a portion of records from the database by page number and outputs links to neighbouring pages. The page number is passed in the address, for example by the page parameter or PAGEN_1 in 1C-Bitrix.

Do rel next and prev work?

Google no longer uses these attributes. Other search engines may take them into account, so it is not necessary to remove existing markup.

Follow the journal

New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.

Read next

How can we help?
Discuss a project