Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk4 min

How to Paginate a Category Page

Split a long category listing into usable pages with clear navigation, Shopify Liquid pagination, distinct URLs, and search-friendly links and canonicals.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To paginate a category page, show a manageable slice of its items at a time and provide links to the other pages. On Shopify, wrap the collection’s product loop in Liquid’s paginate tag. For search discovery, give each page a distinct URL, link pages with ordinary crawlable links, and use a self-referential canonical URL on each page.

Choose a pattern for the listing

Pagination is one way to handle a long category listing; load-more controls and infinite scroll are alternatives. The right choice depends on list size, user orientation, and whether each state has a URL that search crawlers can reach. Google’s guidance compares the trade-offs: pagination and incremental page loading.

As an Amazon Associate I earn from qualifying purchases.

Pattern Useful when Trade-off
Pagination The list is large, users benefit from knowing their position, or each segment needs a crawlable URL. Users navigate between pages and the listing is split across page loads.
Load more You want to add items without a full page change and the list is not extremely large. It can be less suitable for very large lists; if loading requires a user-triggered JavaScript action, provide another crawl path for search engines.
Infinite scroll A continuous feed suits the browsing experience. It can obscure how much content remains, cause scrolling fatigue, and be difficult to use for very large lists.

Incremental loading can improve initial page speed, reduce network traffic—particularly on mobile—and reduce the data retrieved by the backend, but those are potential benefits, not guaranteed results for every implementation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set a page size and make navigation clear

There is no universal best number of items per page established by the cited guidance. Choose a size that makes product cards easy to scan without requiring excessive page changes. Consider card weight, network conditions, and what your audience needs; validate the choice on your own category pages rather than treating an example value as a rule.

#1 Best Overall
Sale
HTML and CSS: Design and Build Websites
  • HTML CSS Design and Build Web Sites
  • Comes with secure packaging
  • It can be a gift option

Show understandable navigation, such as numbered links and previous/next controls. Where it helps users orient themselves, indicate the current page or position. Ensure each navigation link leads to the intended segment, not merely a visual state that changes after a click.

Paginate a Shopify collection with Liquid

Shopify documents collection.products as an array that can be paginated. Put the product loop inside the paginate block, then render navigation from the paginate object or use the default_pagination filter:

{% paginate collection.products by 24 %}
  {% for product in collection.products %}
    
  {% endfor %}

  {{ paginate | default_pagination }}
{% endpaginate %}

The 24 here is only an example. Shopify’s Liquid paginate tag documentation specifies a page-size range of 1–250. The tag can reach the 25,000th item; if a collection has more items, filter the array before paginating. The Shopify collection theme guidance also recommends paginating collection products so they remain accessible.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The paginate object provides details such as the current page, page size, total items, total pages, and previous/next navigation parts. Use those values when building custom controls; check that the rendered links and states work at the beginning, middle, and end of a collection.

Make each page discoverable to search engines

  1. Give every page a distinct URL. A query parameter such as ?page=2 is one example. Do not identify pages only with URL fragments: Google ignores fragment identifiers for pagination.
  2. Link pages sequentially with standard links. Use HTML <a href> links between pages so crawlers can discover later segments. Google generally finds URLs in links and generally does not activate controls that require a user-triggered JavaScript action.
  3. Canonicalize each page to itself. Use a self-referential canonical URL for every page in the sequence. Do not point every later page’s canonical tag to page one.
  4. Plan crawl access for JavaScript loading. If a load-more or infinite-scroll interface does not expose ordinary links to subsequent items, provide an appropriate discovery path, such as crawlable links, a sitemap, or a Google Merchant Center feed.

These recommendations follow Google’s pagination and incremental page loading guidance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Decide how filters and sorting affect URLs

Filters and alternate sort orders can create many URL variations of the same category. Decide which variants should be crawled or indexed before exposing large combinations of parameters. For unwanted URL patterns, Google identifies noindex or robots.txt as possible controls; choose deliberately based on whether you want those pages excluded from search results, crawling, or both, and test the effect on your site’s discovery needs.

Quick Recap

SaleBestseller No. 1
HTML and CSS: Design and Build Websites
HTML and CSS: Design and Build Websites
HTML CSS Design and Build Web Sites; Comes with secure packaging; It can be a gift option
$14.94
SaleBestseller No. 3
SaleBestseller No. 4
Web Design with HTML, CSS, JavaScript and jQuery Set
Web Design with HTML, CSS, JavaScript and jQuery Set
Brand: Wiley; Set of 2 Volumes
$35.05
Rank #4
Sale
Web Design with HTML, CSS, JavaScript and jQuery Set
  • Brand: Wiley
  • Set of 2 Volumes
  • A handy two-book set that uniquely combines related technologies Highly visual format and accessible language makes these books highly effective learning tools Perfect for beginning web designers and front-end developers

Check the finished category page

  • Only the intended number of items appears on each page, and the next page contains the next segment.
  • Navigation works in both directions where applicable and identifies the current position clearly.
  • Every segment has a distinct, stable URL and links to adjacent pages with ordinary links.
  • Each paginated URL has its own self-referential canonical rather than canonicalizing to the first page.
  • Filter and sort URL variants follow the crawl and indexing policy you intended.
  • On Shopify, the page size is within the documented 1–250 range and the collection is within the paginate tag’s reach, or is filtered before pagination.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.