Removing product variant URL ?v=

Highlighted
New Member
2 0 0

@Jason wrote:

What makes you think this url is used in SEO activites?

Do remember that JavaScript is modifying the history state after the page loads. It's not actually loading that url. If you slow down the page load you'll see the change happen.

I doubt that removing this will make any impact on your SEO efforts


One product can be found by different URLs on the website.

For example,
https://charmingjewellerystore.co.uk/collections/best-sellers/products/family-nest-birthstone-neckla...

https://charmingjewellerystore.co.uk/collections/jewellery-for-her/products/family-nest-birthstone-n...

both URLs lead to the same product page and this is an issue for SEO.

The product page should have a unique URL as follows: https://charmingjewellerystore.co.uk/products/family-nest-birthstone-necklace. The same formula should be used for all products. 

0 Likes
New Member
1 0 0

@DerbyshireSEO, while you're correct that search engines should resolve to one URL — you can instruct them to do this by using what's called a Canonical URL, which you add as a metatag — e.g.  

 

<link rel="canonical" href="https://ca.kotn.com/products/mens-essential-crew">

Removing the ?variant= part of the URL is a bad idea, it will break the back button making it harder for users to add products to cart, and making product variants un-shareable. As long as you have canonical URLs specified, you will be covered from an SEO perspective.

Consider collections — your store probably has multiple collections, right? You might be able to get to one by going to yourstore.com/collections/collection-name/product-name … you wouldn't want to delete the collections from the URL, would you? It provides a lot of value to the user – again, this is resolved by the canonical URL!

 

You can read more on canonical URLS & duplicates here: https://support.google.com/webmasters/answer/139066?hl=en

0 Likes
New Member
1 0 0

@DerbyshireSEO This can be easily fixed within the theme by locating the code {{ product.url | within: collection }} and changing it to {{ product.url }}  this way your products will only appear to come from one product page.

0 Likes