You specify the main URL as the search engine could possibly have issue identifying which one needs to be the primary URL. The next tutorial will provide you with how to enable Canonical URLs in Prestashop one.5. The JS redirect appears like some a messy problem, but to answer https://addons.prestashop.com/pl/seo-pozycjonowanie-naturalne/31857-automatyczne-google-rich-snippets-json-ld-opengraph-seo.html