Hi everyone,
We’ve encountered an issue with our Shopify store. When we create a product, Shopify automatically assigns it a URL in the format: domain/product/product_name. However, once the product is published, Shopify also generates another URL in the format: domain/collection/sub_collection/product.
We only discovered this problem after checking Google Search Console, where we found that these additional URLs cause the product to be marked as canonicalized, which can negatively affect its ranking on Google.
We’re unsure if this is a feature of the Shopify system or if others have experienced this. Does anyone know why this happens or how to prevent it?
Thanks!
This is a normal behavior in Shopify. Shopify generates multiple URLs for a single product, but it should automatically set the canonical URL to avoid duplicate content issues.
To ensure Google sees the correct URL:
-
Canonical Tags: Verify that Shopify is correctly setting the canonical tag on your product pages. This tells Google which URL to index.
-
Google Search Console: Use URL Inspection to check the canonical URL that Google is using.
1 Like
thanks for the replying. we have set :
{% if template == ‘product’ %}
{% elsif template == 'collection' %}
{% elsif template == 'page' %}
{% elsif template == 'blog' %}
{% elsif template == 'article' %}
{% else %}
{% endif %}
in the head tag. and we asked google to verify index many many times. it’s not working. google search console still mark thousands of product as canonical. any idea how?