I was trying to add the facebook like button to my product pages but then I noticed that the like counter has different numbers depending on where the page was accessed from and the URL it has.
Magento by default creates 3 URL rewrites for each new product automatically.
- If I access a product from my home page it has the URL
mysite/product-name.html
. - If I access a product from a base category it has the URL
mysite/base-category/product-name.html
- If I access a product from a sub-category it has the URL
mysite/base-category/sub-category/product-name.html
all of the above have different like counts and are treated as different pages. is there a way to merge the like counts while still keeping the SEO friendly URLs? what are the best practices in this regard?
Thank you.