The module automatically adds a default canonical url to all of your item, category, CMS pages only. By default, the module utilizes The existing url on the website page since the default canonical url. The JS redirect seems like a bit of a messy condition, but to reply your concern: https://www.presta-addons-modules.com/en/seo/prestashop-seo-automatic-google-rich-snippets-json-ld-opengraph-twitter-tags-schemaorg.html