skip to Main Content

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


  1. Chosen as BEST ANSWER

    For some reason deleting and re-uploading the same files made it work.


  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search