What is the best way to handle pagination for SEO, GEO, and AI agents? In this post, I’ll recap some of the main best practices.

Pagination matters for SEO, GEO, AI agent optimization, and overall user experience because it is a point of discovery. Visitors, whether automated or human, use pagination to move through a list of items. Those items might be a list of products, articles, events, stores, and more. The items listed then link to product detail pages, articles, blog posts, or other item detail pages. These internal links to item detail pages are often one of the best ways to help bots and agents find those pages. The following best practices are a way to make it as easy as possible for bots, agents, and other visitors to use pagination to discover all the listed items.

Critical Pagination Best Practices

Let’s start with the critical best practices:

  1. Pagination should use unique pages with unique URLs. That is, Page 1, Page 2, Page 3, etc. should be on their own distinct URLs.

    Each URL must work when opened directly. If somebody goes to the URL for Page 2, then they should see Page 2 immediately.

    The URL format is more variable. It could be /blog?page=2 or /blog/page2 or /blog/2/ and so on. Just don’t use fragments (the text after a # in the URL) since these types of URLs are unreliably handled by bots.
  2. Link to paginated pages using <a href=””> tags. This is the easiest way to expose pagination to bots, making it easier for bots to find every page in the paginated sequence. For example, page 1 has an <a href=””> to page 2, page 2 has an <a href=””> to page 3, and so on.

    To improve the user experience, many sites use infinite scroll, which requires JavaScript. However, even if a bot executes JavaScript, the bot is typically not going to use infinite scroll. The same is true of load more buttons. Agents might be able to use infinite scroll or load more buttons, but links to pagination are still more reliable.

    In short, links are the most reliable way to move bots, agents, and other visitors through a paginated sequence. If you do use infinite scroll or load more, that should be added as an enhancement on top of the pagination sequence, not instead of a traditional pagination sequence. Learn more about how to configure infinite scroll for SEO.
  3. Links to paginated pages should load in server-side code. Loading the links to the page via JavaScript means bots may miss those links if they don’t execute JavaScript.

    The links to the items listed on the paginated pages should also be in the server-side code. Even if a bot can’t execute JavaScript, that bot should still be able to use pagination to discover the links to the item detail pages.
  4. Don’t block crawling for paginated sequences. I’ve seen sites that have gone to great lengths to have links, correct URL structure, etc., and then have a robots.txt disallow blocking pages, which defeats the purpose of having pagination.

Highly Recommended Pagination Best Practices

There are also some ways of handling pagination that are highly recommended or might improve SEO, GEO, and overall UX:

  1. Links to paginated pages should be as understandable as possible. Simply using an arrow or just the page number could lead to some confusion for agents (and for humans listening to the page). Using the anchor text “Next page” or “Page 2” is clearer and will likely result in less confusion.
  2. Each paginated URL should have a self-referencing canonical. This is Google’s official recommendation, though not every site does this.

    I think it makes sense for two reasons. First, page 2 is not a duplicate of page 1. They serve different purposes. So, the canonical doesn’t literally work here. Second, pagination is an important part of the site, so it deserves to be treated like an important page.

    Because it contains a self-referencing canonical, that implies that paginated pages should be indexable. These are typically not very prominent pages, so they likely won’t end up in search results in a way that competes with the main page.
  3. Unique pages should have unique titles. Page 2’s title should include the phrase “Page 2”, Page 3’s title should include “Page 3”, and so on. Again, not every site does this. Google doesn’t officially require this. This can be useful for accessibility, but not a requirement. Plenty of sites do not do this.

    It can help, though, if pagination ends up in rankings or citations. That way people clearly understand they are clicking into the middle of a sequence. This is also typically easy to implement on the template.
  4. Don’t duplicate page 1 on multiple URLs. It is very common for the main page to be duplicated on the first page of the sequence (/blog and /blog?page=1). This creates unnecessary pages for bots to crawl. The best solution is to keep the first page of the pagination sequence as the main URL and prevent bots from accessing the alternative version. For example, you could redirect /blog?page=1 to /blog.

Debatable Pagination Best Practices

And finally, a few that can make sense, but might also be a bit controversial and not universally accepted:

  1. Unique pages should have unique H1.

    For example, page 2 would have a main heading of:
    <h1>All Products, Page 2</h1>

    Argument for: If a visitor (human or agent) jumps directly to ?page=2 from an external link, having “Page 2” included in the main heading immediately establishes that they are not at the start of the list.

    Argument against: Repeating the H1 through the sequence works fine and sufficiently describes the primary content topic of the page. People can use breadcrumbs or links to navigate the list.
  2. Use prefetch for the next page in the pagination sequence.

    For example, on page 2, you would have a prefetch tag like this (learn more about prefetch):
    <link rel="prefetch" href="https://www.somesite.com/category?page=3">

    Argument for: Google suggests using prefetch for the next page in the paginated sequence. This loads the next page more quickly when people click, so this might improve site speed.

    Argument against: People do not always continue to the next page, so this could waste resources.
  3. Use rel=”next” and rel=”prev”.

    For example, on page 4, these tags would be placed in the <head>:
    <link rel="prev" href="https://www.somesite.com/product-list?page=3" />
    <link rel="next" href="https://www.somesite.com/product-list?page=5" />


    Argument for: This could help bots discover paginated pages, even if not officially supported. It is typically easy to add, so what is the harm in adding these?

    Argument against: Google deprecated support for these tags several years ago, and it doesn’t appear Bing supports these any more tags anymore either. It isn’t clear if AI tools would use these.

Have questions about pagination? Need help optimizing your website for SEO and GEO performance? Contact me.