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
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025