Hreflang tags make sure that the best Variation within your site show up in front of the proper end users in search engine results, based mostly on their language and site. The JS redirect sounds like some a messy scenario, but to answer your dilemma: If you established a canonical https://addons.prestashop.com/en/seo-natural-search-engine-optimization/31857-automatic-google-rich-snippets-json-ld-open-graph-seo.html