You specify the primary URL as the online search engine can have issues pinpointing which one particular should be the key URL. The subsequent tutorial will explain to you ways to allow Canonical URLs in Prestashop 1.5. The JS redirect sounds like a certain amount of a messy condition, https://addons.prestashop.com/en/seo-natural-search-engine-optimization/31857-automatic-google-rich-snippets-json-ld-open-graph-seo.html