For documents like PDFs, there’s no way to place canonical tags from the webpage header simply because there is no site segment. In such situations, you’ll must use HTTP headers to established canonicals. The JS redirect sounds like a little a messy circumstance, but to reply your problem: For those https://mnobookmarks.com/story18717544/getting-my-hreflang-not-using-canonical-to-work