We recently upgraded to Sitecore 9 and noticed that our PDF links are now downloading rather than opening in a new tab. I have tried changing the forceDownload in the the Sitecore.config to false, and I also uncommented the PDF line in the mime config file. My changes are being reflected in the show config, but the PDF is still being downloaded. Does anyone have any ideas why this would be the case?

  • What do you mean with "uploading"? I cannot imagine that you had a site that uploaded a pdf file by clicking a link...
    – Gatogordo
    Mar 20, 2020 at 15:23
  • 1
    The Sitecore media cache is stored on disk and is valid for 90 days. If anyone has recently accessed these media items, they will not reflect the config changes. Delete the MediaCache folder in the Website directory.
    – x3mxray
    Mar 20, 2020 at 16:44
  • Sorry I meant to say rather than opening a new tab. I was really tired when I posted this question. Mar 20, 2020 at 18:33
  • 1
    Can you confirm that the same issue happens on more than one desktop browser? apemobile.zendesk.com/hc/en-us/articles/… Mar 20, 2020 at 18:47
  • 1
    Okay, so I have figured something out. The two settings did work, but those files are being cached in people's browsers. We have solved the problem by change the file name or adding a url parameter. Thanks for the help everyone. Mar 23, 2020 at 21:48


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.