This Magento1 website has 5 different URL's for each product that are indexing in Google. Examples below:
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:
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.