Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, I have products with 4 variants each,
example:
example.io/egg/?variant=39494949491 (1 pack)
example.io/egg/?variant=37364648489 (3 pack)
example.io/egg/?variant=487475787589 (6 pack)
example.io/egg/?variant=99388838292 (12 pack)
When I land on:
example.io/egg/
There is eventually a JavaScript redirect to:
example.io/egg/?variant=39494949491
Our SEO agency advises against this and suggests we make it work without the redirect.
Is there any way to do this? and keep variant deep-linking working. I don't have any issue with the other variants being accesible via the links:
example.io/egg/?variant=37364648489 (3 pack)
example.io/egg/?variant=487475787589 (6 pack)
example.io/egg/?variant=99388838292 (12 pack)
But I just don't want any "JavaScript redirect" to occur.
Is this core shopify functionality? Or I can override this behaviour?
Hi, @sdevscotland
I can see my development store works well without redirect.
It might depends on your theme. what theme are you using?
Can you share your store URl and let me have a check? Thanks
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025