Canonical tag for product pages of (eleczo).
I need solution how to add a canonical tag for product pages as domainname.com/category/subcategory/product.html in MAGENTO 22.214.171.124.
Because, the same product page is getting listed with two diff URLs as "1. domainname.com/product.html", "2. domainname.com/category/subcategory/product.html"
Now, I am worried about copied content though there nothing copied or duplicate content.
Yes, I can avoid it by enabling canonical tag for product at the backend. But, this will as canonical as domainname.com/product.html. But, I want full path including category and subcategory. So, how can I achieve it?