I’m not sure why, but on my latest WordPress post, where I have some media files linked with the “download” attribute, when they are downloaded they append .html to the file name. (i.e. file name.pdf.html).
I am using siteground and Cloudflare caching, and my initial instinct is that this is the root cause. Older posts and media do work fine.
Any thoughts on how to fix this?
2
Answers
For some reason deleting and re-uploading the same files made it work.
try
https
download linkshttps://file name.pdf
I had the same problem, my download links were http and were not followed when clicked. I replaced them with ssl links and the problem was solved