For files like PDFs, there’s no way to position canonical tags while in the webpage header due to the fact there isn't any website page portion. In these kinds of situations, you’ll ought to use HTTP headers to established canonicals. You'll find 3 ways to add hreflang tags to webpages https://addons.prestashop.com/en/seo-natural-search-engine-optimization/31857-automatic-google-rich-snippets-json-ld-open-graph-seo.html