Skip to content
AE DIGITAL
Technical SEOBy 6 min read

Pagination and infinite scroll in ecommerce: SEO impact and correct implementation

How Google handles pagination on ecommerce category pages and how to build infinite scroll and load more buttons without hiding products from search engines.

Article cover: the word “Canonical” next to a glowing icon on a violet space background

The problem with very long categories

A category with 400 products cannot show them all on one page. There are three options: classic numbered pagination, a "load more" button, or infinite scroll. To the shopper they are design variants. To Google the difference is real: if products beyond the first 24 cannot be reached through a link, the crawler may never find them, and those products depend only on the sitemap or on internal links from other pages.

The underlying rule applies to all three options: every group of products must live on its own URL, connected by an ordinary HTML link.

How Google handles pagination today

Google Search Central's guide on pagination and incremental loading sets out some clear points:

  • Googlebot follows URLs in the href attribute of <a> links; each page in the series should link to the next.
  • Google no longer uses rel="next" and rel="prev". Other search engines may still read them, so keeping them does no harm, but they are not enough.
  • Each page needs a unique URL, for example with a ?page=n parameter.
  • Do not use fragments such as #page=2: Google ignores everything after the hash.
  • Pages may share titles and descriptions; Google tries to recognise the sequence.
  • Each page should also link to the first one, a hint that it is the best landing page.

Canonicals, titles and noindex on later pages

Self-referencing canonical

The most common mistake is pointing every page's canonical to page one. Google advises against it: page 3 contains different products from page 1, so it is not a duplicate. Each page should have a canonical to itself. If Search Console reports "Duplicate, Google chose different canonical than user" on paginated pages, first check that the theme is not generating alternative URLs for the same page.

Titles and meta descriptions

Different titles are not required, but adding "Page 2" to the title helps anyone reading reports and makes browser tabs clearer. If the category description is long, it can appear on page one only, so later pages do not repeat the same text.

Noindex on later pages

Some plugins offer to add noindex from page 2 onwards. Google's documentation does not ask for this, and it makes discovery of products that only appear on those pages more fragile. Use noindex instead on sort and filter variants such as ?order=price, which Google suggests keeping out of the index. We covered filters and collections on Shopify in SEO for collections and product filters.

Crawlable infinite scroll

Back in 2014 Google described the model that still works today: split infinite scroll into component pages, each with its own URL that also opens on its own and shows the same group of products. Scrolling serves the shopper; component pages serve the crawler.

In practice:

  1. the category exists as a series of pages ?page=1, ?page=2 and so on, each working without JavaScript;
  2. at the bottom of each page there is an <a href="?page=2"> link to the next one;
  3. as the user scrolls, the script loads the next block and updates the URL with history.pushState(), which according to MDN adds a history entry without reloading the page;
  4. if the user opens a product and goes back, they return to the right position.

Point 4 is about experience rather than SEO: infinite scroll that jumps back to the top after every product page loses customers. If the site is built on a JavaScript framework, the rendering rules from our article on JavaScript SEO with React and Next.js also apply.

A load more button done right

Google states that its crawlers do not click buttons and generally do not run JavaScript that needs a user action. A <button> that loads products through fetch is therefore invisible for product discovery. The fix is progressive enhancement:

  • the "load more" control is an <a href="/collections/shoes?page=2"> link styled as a button;
  • without JavaScript, the link opens page 2 like normal pagination;
  • with JavaScript, the script intercepts the click, appends the products below the existing ones and updates the URL;
  • the next link then points to ?page=3, and so on until the last page.

Also check that the button does not disappear before the end: some themes hide it after a certain number of loads, leaving the rest of the catalogue without links.

Shopify and WooCommerce: what changes

On Shopify, collection pagination uses the Liquid paginate tag and the ?page= parameter. According to the developer documentation, page size ranges from 1 to 250 items and the tag reaches up to the 25,000th item. Many themes add infinite scroll or load more through apps or scripts: check the page source to confirm that a link to the next page still exists. The basics are collected in our Shopify technical SEO guide.

On WooCommerce, category pages use WordPress URLs such as /product-category/shoes/page/2/. Products per page are often set under Appearance, Customize, WooCommerce, Product Catalog, depending on the theme. The main risk here is an SEO plugin that points later pages' canonical to page one, or adds noindex automatically.

Checking that every product is reachable

After implementation, run these checks:

  1. Open ?page=2 and the last page with JavaScript disabled: products must appear and the link to the next page must be there.
  2. Crawl the site with a crawler that only follows HTML links and compare the products found with the catalogue. Missing products are the ones reachable only through scripts or the sitemap.
  3. In Search Console, use URL Inspection on a paginated page and check the rendered HTML and the canonical Google selected.
  4. Check depth: if a product sits ten clicks from the home page only because it is at the end of a long category, add subcategories or links from other pages, as explained in our guide to ecommerce internal linking.

The sitemap helps Google learn product URLs, but it does not replace links: a product that only appears in the sitemap gets few internal signals. If you want pagination, canonicals and collection structure checked on your store, we can do it as part of our Shopify ecommerce setup service.

Frequently asked questions

Should pages 2, 3 and beyond of a category be indexed?

They should be crawlable and carry a canonical to themselves. Google recognises them as a sequence and usually shows page one in results. Later pages exist so products get discovered, not to rank on their own.

Can later pages use page one as their canonical?

No. Google's documentation explicitly advises against it: later pages hold different products, so they are not duplicates of page one. Each page should have its own canonical URL.

Is infinite scroll bad for SEO?

Not in itself. The problem arises when further products only appear after JavaScript scrolling, with no URL reachable through a link. If each block maps to a page with its own URL, linked with a normal HTML link, Google can discover every product.

How many products per page should I show?

Google gives no number. More products per page reduce crawl depth but make the page heavier. On Shopify the paginate tag accepts 1 to 250 items per page: choose based on image weight and mobile load times.

Sources

  1. Pagination, incremental page loading, and their impact on Google Search — Google Search Central
  2. Infinite scroll search-friendly recommendations — Google Search Central Blog
  3. Liquid tags: paginate — Shopify Developers
  4. History: pushState() method — MDN Web Docs

Related articles

Tell us what isn't working.

We reply within one business day with a first opinion and, if it makes sense, a quote.

Write to us