The module automatically provides a default canonical url to all your item, group, CMS pages only. By default, the module works by using The present url of your site as being the default canonical url. The JS redirect feels like a certain amount of a messy condition, but to reply https://www.presta-addons-modules.com/en/seo/prestashop-seo-automatic-google-rich-snippets-json-ld-opengraph-twitter-tags-schemaorg.html