Rest API Redirects for partial url match

New Member
3 0 0

Is there any way of creating one redirect that will work not only for
but also for  (ie for product links from collection pages)
We are creating redirects for unpublished products and send site visitor to site Home. This is for SEO reasons.

Reply 1 (1)
Shopify Partner
123 12 56

No, even if you had server access it would be difficult to make a rule to match that sort of patterns - and with Shopify you don't.

But why would you make such redirects - when product is unpublished? I can't see any valid SEO reasons for this. For SEO as well as conversions it's better either to change the content - and explain to users why the product is no longer available (this preserves your rankings) or redirect to a matching alternative. 

SEO Geek since 1996, consultant author and public speaker. Admin of the Shopify SEO Facebook Group

Was your question answered? Kindly mark it as an Accepted Solution 🙂