How To Tagged Page Redirect To Collection Pages

Topic summary

Goal: send Shopify tagged collection/filter URLs to cleaner collection URLs.

Key constraints and clarifications:

  • Shopify admin URL redirects only work for broken URLs (404). Tag pages are valid filtered views, so they won’t 301 via Shopify’s redirect tool, nor can they be deleted to force 404.
  • Third‑party/edge redirects (e.g., Cloudflare) also may not fire for these non‑broken Shopify routes.

Workarounds shared:

  • Canonical override: add a Liquid snippet that rewrites the canonical URL on tag pages to a preferred collection URL. Insert the snippet in theme.liquid via {% render ‘canonical-helper’ %}, mapping specific source→target URLs.
  • Meta refresh redirect: when server‑side redirects aren’t possible, add an instant meta refresh tag in via Liquid. Google treats instant meta refresh as a permanent redirect. Example sets redirect_url based on request.path, then outputs a meta refresh.

Vendor query URLs:

  • Redirecting /collections/vendors?q=Brand to /collections/brand via admin fails. Query strings are limited for redirects, and spaces may be encoded as +, not %20. Use canonical or meta refresh.

Open items:

  • A user’s attempt to normalize multiple trailing slashes via Liquid meta refresh isn’t working; expert requested example URLs for debugging. Discussion remains open.
Summarized with AI on December 22. AI used: gpt-5.

Hi All,

I would be grateful if you could help with setting up a redirect for the query page.

Essentially, product pages contain a link to Vendor name but when I click it it takes me to query string. I’m trying to set a redirect from the query URL to a proper collection for that brand.

For example:

URL that ends with /collections/vendors?q=Agent%20Nateur should be redirected to /collections/agent-nateur.

However, I’m facing two issues here.

  1. For simple brands like for example “Venn” redirect simply does not work and I don’t understand why. Feel like query string cannot be redirected but I haven’t found any information about it on the net.

  2. For multi-word Vendor name like the example (Agent%20Nateur) above, when I’m saving redirect %20 in the URL is being replace with “+” so obviously /collections/vendors?q=Agent%20Nateur and /collections/vendors?q=Agent+Nateur are not the same and redirect does not work either.

Any thoughts on this? I’m kind of stuck.

Thanks

Serje