# How do you set the canonical URL on paginated product categories?

Compare a numbered category page with page one, inspect its declared canonical URL, and check the fix in your store theme and the next full audit.

Last review: 2026-11-29

## Key takeaways

- Open the two URLs in the finding side by side so you can compare the numbered page with page one.
- Keep the page number in the canonical URL when the page lists different products.

## Short answer

Open the numbered page and page one side by side. If the numbered page lists different products, set its canonical to its full URL including the page number. If you use a view-all page, confirm that it contains the products from the entire sequence.

## Is it always a problem?

When two pages list different sets of products and both declare page one as canonical, review the URL your category template generates.

## What is the issue?

Suppose page 2 of your boots category lists 40 products absent from page one. A theme that declares page one as canonical is asking a search engine to use that page as the preferred version of a different selection.

## Why does it matter?

A separate URL for each page helps a search engine distinguish the parts of the category and reach product links through the sequence [1].

## How does Google handle it?

Google recommends a distinct URL and a separate canonical for each numbered page. It also recommends crawlable navigation links between consecutive pages [1].

A canonical declaration tells Google which version you prefer for similar pages [2]. In Search Console, compare the declared URL with the canonical Google selected in the indexed page data [3].

## How do we detect it?

Rankawy compares a numbered category page with the first page it declares as canonical. It must read both in the same audit and recognize products on each page that are absent from the other. The finding counts the numbered page’s products that were absent from page one.

### What this check does not see

- If the audit misses the first page or cannot identify the products in both listings, it lacks the comparison needed for this finding.
- Inventory or sort order can change after an audit. Open both pages at the same time when reviewing the finding.

## Common causes

- The theme may strip the page parameter when building the canonical, or an SEO plugin may print the same category URL on every page.

## How to check

1. Open the affected URL exactly as it appears in the finding, then open the first-page URL. Pick a product from the numbered page and look for it in the first listing.
2. View the numbered page’s source and look for rel="canonical". Also inspect the HTTP Link response header and record any canonical it declares.

Check the numbered page’s declared canonical, then open page one and compare the product listings.

## How to fix it

Shopify provides the canonical_url object for a theme to read the current page’s canonical URL. Inspect the value sent to the browser after any theme or app changes [4].

### Any site

1. Set each numbered page’s canonical to its full URL, including the page number. If you use a view-all page, check that it lists every product in the category.

### wordpress

1. Check the paginated canonical setting in your WordPress SEO plugin, then inspect the canonical printed by the WooCommerce product archive theme.

### shopify

1. The Shopify theme’s canonical_url object outputs the page’s own URL by default. Check the theme code and any apps that override it with the first-page URL.

### salla

Platform note: Salla or your theme generates the category pagination.

1. Send the affected URL and the first-page URL to Salla support or your theme developer and ask them to review the canonical.

### zid

Platform note: Zid or your theme generates the category pagination.

1. Send the affected URL and the first-page URL to Zid support or your theme developer and ask them to review the canonical.

## Example

### Before

```html
<link rel="canonical" href="https://shop.example/boots">
```

### After

```html
<link rel="canonical" href="https://shop.example/boots?page=2">
```

## How to verify

1. After publishing, open the numbered URL and compare it with the canonical in the source and response header. If you chose a view-all page, look for products from both pages there.
2. Run a full audit that reads the first-page URL and every numbered URL in the previous finding. The action stays pending if the audit misses either side of a pair.

## Common mistakes

- Removing the page number along with tracking parameters when building the canonical URL.
- Choosing page one as the view-all page without checking that it includes products from later pages.

## Frequently asked questions

### Can I keep a navigation link back to page one?

Yes. A navigation link lets a shopper return to the start of the category. The numbered page can still declare its own canonical URL.

### Where can I see which canonical Google selected?

Open URL Inspection in Search Console and review the indexed page data. The Rankawy finding shows the canonical your store declared when the audit read the page.

## A ready prompt for your AI assistant

Use get_issue_pages to read pagination-canonical-to-first-page findings for my store. Show each affected URL, its page number, the first-page URL and the number of products absent from page one. Explain how to inspect the canonical on my platform and check both pages after the change.

## Change log

- 2026-11-29: Published the guide to comparing numbered category pages and setting their canonical URLs.

## Sources

1. [Google Search Central pagination guidance](https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading)

2. [Google guide to specifying a canonical URL](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)

3. [Search Console URL Inspection tool](https://support.google.com/webmasters/answer/9012289?hl=en)

4. [Shopify Liquid canonical_url object](https://shopify.dev/docs/api/liquid/objects/canonical_url)
