If you run a Shopify store, you’ve probably noticed how quickly your product catalogue can start looking messy in search engines. Merchants who work hard to fix product URLs often find themselves drowning in duplicate collection pages, endless tag‑filtered results, and confusing pagination issues.
Left unchecked, these “extra” URLs clutter up your index, waste crawl budget, confuse search engines, and hold your rankings back.
The solution? A clean collection structure in Shopify — one that keeps search bots focused on your core collection pages, avoids duplication, and makes your store easier to navigate for customers.
In this guide, we’ll break down exactly how Shopify handles collection URLs, the common pitfalls that create duplicate pages, and the step‑by‑step fixes you can implement with canonical tags, robots.txt optimisation, and theme edits.
By the end, you’ll have a clear roadmap to ensure every collection in your store has one canonical version — helping you rank more efficiently and keep your site cleaner in Google’s eyes.
1. Why Shopify Collection Structure Matters for SEO
Shopify is a powerful ecommerce platform, but like many out‑of‑the‑box solutions, its default handling of collections can create Shopify SEO headaches.
Key reasons why clean collection structure is critical:
- Duplicate content risks: The same collection can be accessed via multiple URLs (with tags, sorting parameters, or pagination). This confuses search engines about which URL is the “main” one.
- Crawl efficiency: Googlebot and other crawlers have a limited budget. If they waste time crawling hundreds of duplicate or low‑value pages, your core products and collection pages may not get the attention they deserve.
- Ranking focus: When links, signals, and authority are split across duplicates, it weakens the ability of any one URL to rank well.
- Better user experience: A consistent and logical URL structure makes navigation easier and reduces issues with broken links or content discovery.
If you want your store to scale, getting your collection URLs under control isn’t optional — it’s essential.
2. How Shopify Creates Collection URLs
Before fixing problems, it’s important to understand how Shopify structures URLs by default. Shopify uses “collections” as the core category system. Each collection typically has:
- Base collection URL:text
/collections/collection-name
- With tags applied (filters):text
/collections/collection-name/tag
Shopify allows stacking multiple tags:text/collections/collection-name/tag1+tag2
- With sorting parameters:text
/collections/collection-name?sort_by=price-ascending
- Pagination URLs:text
/collections/collection-name?page=2
- Products within collections:
Many stores also generate product pages with collection paths, e.g.:text/collections/collection-name/products/product-handle
This duplicates the standalone product URL at:text/products/product-handle
This flexibility seems useful for customers, but for SEO it creates multiple versions of the same content.
3. The Most Common Shopify Collection SEO Problems
Let’s break down the issues store owners typically encounter.
a. Duplicate Collection URLs
If a collection is browsed with tags, filters, or sort orders, it creates near‑identical pages. For example:
/collections/shoes
/collections/shoes/red
/collections/shoes?sort_by=best-selling
Each URL shows largely the same set of products but dilutes SEO value.
b. Pagination Issues
Pagination (?page=2
, ?page=3
, etc.) can lead to duplicate titles and confusion if canonicalisation isn’t implemented correctly.
Without handling, Google may waste time indexing deep paginated pages instead of prioritising your main collection landing page.
c. Filtered and Tag Pages Indexing
Some Shopify stores generate thousands of tag‑based pages automatically. A fashion brand with dozens of filters (size, colour, style, material) can quickly create unmanageable combinations, many of which have low or zero search value.
d. Product URLs Duplicated via Collections
If products can be accessed both via /products/product-handle
and /collections/collection-name/products/product-handle
, you end up with unnecessary duplicates unless you enforce one canonical version.
e. Link Equity Dilution
If internal links (menus, breadcrumbs, etc.) point inconsistently to different URL variants, link signals are diluted, making it harder for core pages to rank.
4. Shopify SEO Best Practices: How to Create a Clean Collection Structure
Now that we know the main issues, let’s work through practical solutions to implement in your Shopify store.
Step 1: Audit Your Current Collection URLs
- Use a crawler like Screaming Frog, Sitebulb, or Ahrefs Site Audit to pull out all
/collections/
URLs. - Identify duplicates caused by filters, tags, parameters, or pagination.
- Review which collections are most important for ranking (focus pages).
Step 2: Enforce One Canonical Collection URL
The goal is for every collection to have one official (canonical) URL regardless of filters, sorting, or pagination.
Shopify allows you to control canonicalisation within your theme’s theme.liquid
.
Add or confirm the following in your <head>
section:
text<link rel="canonical" href="{{ collection.url }}">
This ensures that whether a visitor lands on /collections/shoes?sort_by=best-selling
or /collections/shoes/red
, the page signals that /collections/shoes
is the canonical version.
Step 3: Handle Paginated URLs
For collections with multiple pages, you don’t want every paginated result fighting for visibility.
Options:
- Canonical all paginated URLs back to the main page (simplest approach).
- Alternatively, use rel=”next” / rel=”prev” (deprecated by Google but still useful for UX).
- Keep page 1 as the primary ranking page, but allow deeper pages for crawling (with self‑referencing canonical).
Recommended setup:
- Page 1 = canonical to itself.
- Page 2, 3, etc. = canonical back to Page 1, unless unique optimisation is needed.
Step 4: Manage Tag and Filter Pages
For most stores, tag‑based collection URLs should not be indexed. They dilute SEO and rarely carry meaningful search demand.
Two approaches:
- Block with robots.txt
Shopify now allows robots.txt customisation. Inrobots.txt.liquid
, disallow tag paths like:textDisallow: /collections/*+*
- Noindex via theme edits
In your collection template, apply:text{% if collection.tags.size > 0 %} <meta name="robots" content="noindex, follow"> {% endif %}
Choose your rule based on whether you want them crawlable or not.
Step 5: Fix Product URL Duplication
Decide whether you want your products indexed under:
/products/product-handle
(recommended: clean, short, universal URL).
Then ensure all in‑collection product pages set their canonical to this primary version:
text<link rel="canonical" href="{{ product.url }}">
This removes duplication and ensures all authority consolidates to the clean product URL.
Step 6: Optimise Internal Linking
- Update navigation menus to always point to the canonical URL version.
- Adjust breadcrumbs to resolve to
/products/product-handle
instead of/collections/.../products/...
. - Check blog links, recommended products, and cross‑links.
Step 7: Use Robots.txt for Extra Control
Since June 2021, Shopify allows robots.txt.liquid editing. This is powerful for excluding unnecessary crawl paths. Typical rules include:
textDisallow: /collections/*+*
Disallow: /collections/*?*
Disallow: /search
This ensures search engines don’t waste resources crawling endless tag and filter combinations.
Step 8: Monitor and Test
- Use Google Search Console → Coverage to check for excluded or duplicate pages.
- Track index counts of collection pages over time.
- Re‑crawl your site after changes to confirm canonicalisation and robots.txt are behaving correctly.
5. Advanced Collection SEO Tips for Shopify Developers
For developers working on larger, more complex stores, here are extra points to refine your structure:
- Facet controls: Build custom filtering with JavaScript (AJAX) so filter interactions don’t generate indexable URLs.
- Server‑side redirects: If old tag URLs have acquired backlinks, set 301 redirects to the most relevant collection instead of relying purely on canonical.
- Schema markup: Add structured data (e.g.
ItemList
) to collection templates so Google understands product relationships. - Sitemaps: Keep Shopify’s sitemap clean by avoiding unnecessary tag URLs. Only canonical collections should be included.
- Performance optimisation: Ensure that collection pages load quickly, especially if they’re the main landing hub for high‑intensity keywords.
6. Real‑World Example: Cleaning Up a Fashion Store’s Collection URLs
Let’s imagine a Shopify fashion retailer selling trainers.
Before cleanup:
- Indexed pages: 3,200.
- 90% are duplicates due to
/collections/trainers/size-9
,/collections/trainers/red
,/collections/trainers?sort_by=price-descending
. - Crawl budget wasted on near‑identical pages.
After cleanup:
- Indexed pages: 280 (core collections + products).
- Canonical tags enforce one URL per collection and one per product.
- Robots.txt blocks filter/tag multipliers.
- Internal links updated to point to clean URLs.
Result:
- Better crawl efficiency (Search Console impressions improve by 35%).
- Main “men’s trainers” collection jumps from page 3 to page 1 for competitive keywords.
- Organic traffic to collections increases 45% in three months.
7. Common Mistakes to Avoid
- Letting Shopify automatically index tag pages when they don’t add SEO value.
- Forgetting to update internal links after applying canonicalisation.
- Blocking too aggressively in robots.txt, which can prevent Google from discovering important products.
- Not testing theme edits — a misplaced canonical can canonicalise every page to the homepage (a disaster for rankings).
- Over‑reliance on apps — some Shopify SEO apps add excessive scripts without truly solving duplication issues.
8. The Future of Shopify SEO
Shopify continues to evolve. With more customisation over robots.txt and greater flexibility in themes, the platform is becoming more SEO‑friendly.
However, collection URL management will always need manual oversight. As product catalogues grow, filter options expand, and customer demands for flexible browsing increase, you will need to balance user experience with search engine efficiency.
Merchants who master clean collection structure will consistently outperform competitors stuck with cluttered, duplicate‑ridden setups.
One Collection, One Canonical URL
A messy collection structure in Shopify is one of the most common SEO issues we see at Better Ranking (along with issues around store internationalisation). But it’s also one of the easiest to fix once you know where to look.
To recap:
- Shopify collections create duplicate pages by default (tags, filters, sorting, pagination).
- Use canonical tags to enforce one main URL per collection and per product.
- Block unnecessary tag combinations with robots.txt.
- Update internal linking so users and bots are guided to the clean version.
- Continuously monitor Search Console to ensure duplicates are under control.
The end goal is simple: every product has one clean URL, every collection has one clean URL, and search engines waste no time on unnecessary duplicates.
Take a weekend to audit your Shopify store and apply these fixes. You’ll make your site leaner, faster, and far more competitive in search results.