Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
We sell a food product that comes in multiple flavours. The customer facing side of this is a product page that lists all the product variants where a customer chooses the flavours they want.
Due to certain integrations (e.g. Klaviyo, Facebook) we need to have these flavour variants exist as actual standalone products too. Shopify ends up creating a page for each of these standalone flavours when we don't want them, and never want a customer being able to view them.
On woocommerce we just 301'd these to the flavour-list page with the variants, but Shopify won't let us 301 a page that exists. We found this possible workaround -> https://diginauts.io/setting-up-redirects-in-shopify-for-pages-that-exist/
Is there a better, more manageable, way of doing this, or is that link our best bet? Thanks.
That is nothing to do with my query.
The javascript method will give you a redirect, but not a 301. For 301's, you can manage your NS records through a third-party like Cloudflare and set up redirects at the DNS level.
User | RANK |
---|---|
42 | |
42 | |
31 | |
9 | |
9 |