I am facing the same issue. The URL is https://www.eeplindia.com/Electromagnetic-Flow-Meters.html
Help required
A Shopify store owner encountered poorly formatted product URLs containing variant parameters (e.g., ?variant=24921424167012) that were being crawled by Google, negatively impacting SEO.
Problem identified:
| within: collection code to improve URL readabilitySolution provided:
A community member suggested modifying the product template code by changing enableHistoryState: true to enableHistoryState: false in the Shopify OptionSelectors JavaScript. This prevents variant parameters from appearing in the URL.
Outcome:
The original poster successfully implemented the fix, resulting in clean URLs without variant parameters. The solution was confirmed working with a provided example link.
Note: This approach removes the ability to create direct links to specific product variants, as only the main product URL will be accessible.
I am facing the same issue. The URL is https://www.eeplindia.com/Electromagnetic-Flow-Meters.html
Help required