How to optimize Shopify collection pages: search engine listing, descriptions, filter and sort URLs, pagination, robots.txt and a checklist.
Quick answer: To optimize a Shopify collection page, give it its own page title, meta description and descriptive URL handle in the collection’s Search engine listing, write a useful description for shoppers, keep it within a few clicks of the homepage and linked from your menus, and decide deliberately how filtered, sorted and paginated URLs should behave. Shopify’s default robots.txt already blocks some filtered collection URLs, but it does not cover everything, so check your own store. Google’s guidance for the rest is specific: give each paginated page a unique URL and its own canonical, and keep filter and sort variations out of the index.
Collection pages are the “category” pages of a Shopify store, and they often target your most valuable commercial searches. This guide covers the settings, the URL traps, and a checklist you can run on one collection in about fifteen minutes. For the wider picture, see the Shopify SEO checklist and my guide to Shopify product schema.
Where collections sit in your site structure
Shopify’s SEO documentation describes the basic hierarchy as Homepage > Collections > Products. It also advises that pages shouldn’t be more than 3 clicks away from the home page wherever possible, and that each page should have a link in your online store menus. Source: Shopify Help Center, Optimizing site structure for search engines. In practice that means your main collections belong in the main menu, not buried behind a filter or a search box.
Set the title, meta description and handle
Shopify’s help page for collection settings describes the steps: open the collection, find the Search engine listing section, and use the edit icon to set the Page title, the Meta description and, optionally, the URL handle. If you change the handle you can choose to create a redirect from the old URL to the new one. Use that option, because otherwise the old URL breaks.
On length, Shopify’s own pages give different numbers. Its SEO overview says a title tag should be less than 60 characters and a meta description less than 160. The collection settings page says text might be cut off if a title is over 70 characters or a description over 320. Because the figures differ, I would aim for the shorter numbers. Google also recommends descriptive words in URL paths, so a handle like /collections/cotton-kurtas says more than /collections/summer-2. Source: Google Search Central, URL structure for ecommerce sites.
Write a collection description that helps shoppers
Shopify lets you edit a collection’s description from the collection page (“Edit the description of a collection”). Google doesn’t publish a word count for it, and I won’t invent one. What works better than a number is answering the questions a shopper has on that page: what is in this collection, how to choose between the products, sizing or material notes, delivery and returns, and links to related collections or guides. Put a short intro above the product grid and longer help below it if your theme allows. Avoid repeating the keyword in every sentence.
Filters and sorting: control the duplicate URLs
Storefront filtering on Shopify builds URLs from parameters such as /collections/all?filter.p.product_type=shoes&filter.v.option.color=red, and the documentation says you can create up to 25 filters. Source: Shopify developer docs, Storefront filtering. Every combination is a different URL showing a subset of the same products.
Google describes the risk plainly: faceted navigation based on URL parameters can create effectively infinite URL spaces, causing overcrawling and slower discovery of new, useful URLs. Its guidance offers two routes. If you don’t need filtered URLs indexed, prevent crawling, for example with robots.txt disallow rules. If you do need them indexed, follow its best practices, including using the standard & separator and returning a 404 for filter combinations with no results. Google also says rel="canonical" pointing to the unfiltered page may reduce crawling over time but is generally less effective in the long term than the first approach. Source: Google, Managing crawling of faceted navigation URLs.
What Shopify blocks by default
Shopify’s help page on editing robots.txt lists key default rules including /collections/*+* and /collections/*sort_by*, and explains that the first “keeps filtered collection pages from being crawled, because they duplicate content”. The page does not say that every ?filter. parameter URL is blocked, so do not assume it. Open yourstore.com/robots.txt, then test a real filtered URL with the URL Inspection tool in Search Console.
If you decide to customize the file, Shopify says you must add a robots.txt.liquid template to your theme, which replaces Shopify’s generated output. It describes this as an unsupported customization and says Shopify Support can’t help with edits to it. Shopify’s developer documentation advises saving a copy of your current /robots.txt output and comparing it with the rendered template before you publish. That is a good habit regardless of who makes the change.
Pagination: one URL per page, each with its own canonical
For collections with many products, Google’s pagination guidance says to:
- Link pages sequentially using
<a href> tags, so Googlebot can find later pages.
- Give each page a unique URL, for example with a
?page=n parameter.
- Not use the first page of a sequence as the canonical for the others. Each page gets its own canonical URL.
- Not use URL fragments (the part after
#) for page numbers, because Google ignores fragments.
- Avoid indexing filter and alternative sort-order URLs, using
noindex or by discouraging crawling.
Google also says it no longer uses rel="next" and rel="prev", although other search engines may. Source: Google, Pagination and incremental page loading. Shopify says auto-generated canonical tags are added to pages to prevent duplicate content, but it is still worth viewing the source of page 2 of a large collection and confirming its canonical points to itself, since themes can change this.
If your theme loads more products with “infinite scroll” or a “load more” button, check that real paginated URLs still exist for crawlers to follow. A button that only runs JavaScript can leave later products with no crawlable path.
Empty and retired collections
Google’s ecommerce URL guidance says to avoid linking to, or at least indexing, pages without useful content, and that if a category has no items you should use a noindex robots meta tag. If your site automatically removes empty categories, it suggests returning a 404. A collection for a seasonal range that is permanently gone is a candidate for a redirect to the closest live collection instead.
Internal links and anchor text
Google advises including meaningful text between <a href> tags, such as the name of the thing being linked to, and not using generic phrases like “click here”. Link to collections from your menu, from related collections, and from blog posts and buying guides, using the collection name or a close description as the anchor.
One-collection checklist
| Check |
Where |
| Unique page title, shorter than about 60 characters, main keyword included |
Collection, Search engine listing |
| Meta description written for shoppers, shorter than about 160 characters |
Collection, Search engine listing |
| Handle uses descriptive words; a redirect was created if it changed |
Collection, URL handle |
| Collection is in a menu and within about 3 clicks of the homepage |
Online Store navigation |
| Description answers real shopper questions and links to related pages |
Collection description |
| Filter and sort URLs: you know whether they are crawled or indexed |
/robots.txt and URL Inspection |
| Page 2 and beyond have unique URLs and self-referencing canonicals |
View source on page 2 |
| Load-more or infinite scroll still has crawlable page links |
Theme behavior |
| Empty or retired collections are noindexed, redirected or removed |
Collections list |
Frequently Asked Questions
Should I noindex filtered collection pages on Shopify?
Google offers two options: prevent crawling of filtered URLs if you don’t need them in search, or follow its best practices if you do. For most stores the filtered combinations add little value, so keeping them out of the index is usually the simpler path. Check what your store does today before changing anything.
Can I edit robots.txt on Shopify?
Yes, by adding a robots.txt.liquid template to your theme. Shopify labels this an unsupported customization and says Shopify Support can’t help with edits to it, so test carefully and keep a copy of the original output.
How long should my collection title and meta description be?
Shopify’s SEO overview recommends less than 60 characters for titles and less than 160 for meta descriptions. A collection settings page warns that text over 70 and 320 characters might be cut off. Staying near the shorter limits is the safer choice.
Do collection pages need a description?
Google gives no minimum. A collection page works better when it explains what the shopper is looking at and how to choose, rather than being only a grid of products.
What is the correct canonical for page 2 of a collection?
Page 2 should have its own canonical URL. Google specifically says not to use the first page of a paginated sequence as the canonical for every page.
Next step
Collections are where most stores either win or lose commercial search traffic. If you want your main collections reviewed against this checklist, see my Shopify SEO services or contact me for a free store audit. Shopify’s and Google’s documentation was checked on 2 December 2026 and may change.