Shopify Redirects for Existing Pages: Navigating SEO & Duplicate Content

Hey there, fellow store owners! Let's talk about something that often pops up in our community discussions and can be a real head-scratcher: managing redirects for pages that aren't actually 'broken.' You'd think it would be straightforward, right? But as one of our community members, linia, recently highlighted, it's not always as simple as it seems, especially when it comes to Shopify's auto-generated content.

The Duplicate Content Dilemma: Auto-Generated Collections

Linia brought up a common pain point: Shopify automatically creates pages like /collections/all/[custom tag] whenever you use tags to filter products. These are super useful, but what happens when you want to create a more robust, SEO-optimized page to replace one of these? You know, a custom page with an intro, more detailed text, maybe some unique imagery to really stand out?

The problem is, you can't easily delete or redirect these auto-generated tag pages. So, if you create a shiny new page to serve the same purpose, you end up with two versions of essentially the same content. That, my friends, is a classic duplicate content issue, and Google isn't a fan. It can dilute your SEO efforts and make it harder for your preferred page to rank.

Linia's request was clear: we need the ability to redirect these existing, non-broken auto-generated pages to our custom, enhanced versions. This isn't just a small niche problem; it's a significant SEO hurdle for many stores, especially those with extensive product catalogs and complex tagging structures.

Are These Pages Really Indexed? The SEO Debate

Now, here's where the community discussion got interesting. PaulNewton jumped in, pointing out that Shopify's robots.txt typically disallows crawlers on these auto-generated tag pages. The idea is to prevent duplicates from the get-go. So, theoretically, you shouldn't be seeing them indexed unless you've made changes to your robots.txt or aren't properly using canonical tags.

However, linia countered with real-world experience, stating that these pages do show up in Google Search Console's 'indexed pages' list and are regularly served in search results. This highlights a crucial nuance: while Shopify might try to prevent indexing, Google sometimes finds its way, especially if these pages are linked internally or externally. It proves that relying solely on robots.txt isn't always a foolproof strategy for managing duplicate content, and proactive redirect control is still desired.

Community-Driven Solutions: What You Can Do Now

While a native, one-click solution for redirecting existing pages remains a popular feature request, our community experts offered some actionable workarounds:

1. Create a Custom 'All' Collection (The Native-ish Fix)

tim_1 shared a clever, often overlooked native Shopify feature:

  • You can actually create a collection titled "All".
  • When you do this, it will get a handle all.
  • Crucially, this custom collection will then replace what's shown at the /collections/all URL, giving you much more control.
  • You can then assign a special template to this collection and configure it exactly the way you want, effectively taking over that primary 'all products' landing page.

2. Liquid Code for Client-Side Redirects (A Developer's Trick)

Tim_1 also suggested adding a small Liquid code snippet to implement redirects. While not a true 301 server-side redirect (which is what Google prefers for SEO), it can "do the job nonetheless" for user experience. This usually involves checking the current URL and redirecting with JavaScript or HTML. Here's the general idea, though exact implementation varies based on your theme and specific needs:

{% if page.url == '/collections/all/old-tag-page' %}
  
  
  
{% endif %}

Remember, this is a client-side solution, meaning the browser does the redirect. For optimal SEO, a server-side 301 redirect is always preferred, but this can be a temporary fix or for scenarios where a true 301 isn't possible.

3. Leverage Third-Party Apps

Linia mentioned finding "many custom Shopify apps that allow for redirects from non-broken pages." If you're not comfortable with code or have a large number of complex redirect rules, a dedicated app from the Shopify App Store can be a worthwhile investment. These apps often provide a user-friendly interface to manage redirects that Shopify's native tools don't cover.

4. Prioritize Canonical Tags

Regardless of redirects, PaulNewton stressed the importance of canonical tags. If you're creating custom pages that are meant to be the "source of truth" for content that might exist in other forms (like auto-generated tag pages), ensure your custom page has a self-referencing canonical tag, and ideally, the auto-generated page points to your custom one. This tells search engines which version is the preferred one to index.

The Feature Request Journey

It's clear that many store owners, like linia, would love to see native support for redirecting existing pages. While the community forums are great for peer-to-peer advice, PaulNewton reminded us that for actual feature requests, it's best to contact Shopify support directly via https://help.shopify.com/. It might feel like a "black box" without upvotes, as linia noted, but it's the official channel for getting your voice heard by the Shopify team.

So, while we wait for potential native enhancements, don't let duplicate content drag your SEO down. Take advantage of the "All" collection trick, explore Liquid redirects if you're code-savvy, or lean on a reliable third-party app. And always, always keep those canonical tags in check! Proactive management of your store's URLs is a cornerstone of strong SEO, and it's something we can all work on right now.

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools