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?
CodePudding user response:
try https
download links
https://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
CodePudding user response:
For some reason deleting and re-uploading the same files made it work.