For files like PDFs, there’s no way to position canonical tags inside the website page header since there's no web page area. In such cases, you’ll have to use HTTP headers to set canonicals. Be certain your XML sitemap only contains canonical pages. This helps serps uncover the proper URLs https://addons.prestashop.com/fr/seo-referencement-naturel/31857-seo-automatique-google-rich-snippets-json-ld-open-graph.html