For those who have non-HTML pages on your website, which include PDFs or spreadsheets, you won’t manage to implement hreflang while in the with the HTML since it doesn’t exist. The JS redirect sounds like some a messy situation, but to answer your question: In case you established a canonical https://www.presta-addons-modules.com/en/opencart-seo-automatic-google-rich-snippets-json-ld-integration-opengraph-twitter-tags-schemaorg.html