This Magento1 website has 5 different URL's for each product that are indexing in Google. Examples below:
- www.url.com/category1/product-name.html
- www.url.com/brands/product-name.html
- www.url.com/product-name.html
etc..
Thought process for best way to resolve is truncate the core_url_rewrite table
Then re-index URL's and allow the table to rebuild from scratch?
How then to ensure that the category's, search pages and brand pages all link to the same product URL?
The chosen ideal structure that the canonical will be on is below:
www.url.com/product-name.html
The site has 1 store, and circa 2000 products, and around 300 categories, and 40 brands.
Really looking to create best practice, and order of events to work through to resolve issue. With the last ones being re-generate sitemap, submit new sitemap to Google Webmaster tools.