I have a product which is accessible using 2 URLs in frontend:
domain.com/catalog/product/view/id/9068/s/url-key/ and domain.com/url-key.html
I want to redirect default product url (/catalog/product/view/id/9068/s/url-key/ ) to URL I specified on product page (/url-key.html) to avoid duplicated content.
I know I can add a redirect in magento for this specific product, but this needs to be done for all products in the store.
Search engines optimization is enabled.
If there is no way to enable these redirects for all product, maybe there is way to disable /catalog/product/view/... URLs?