Force download PDF from a website using .htaccess
Sometimes you don't want your pdf/image or whatever to be viewed on the browser, the code below forces all of the types to be downloaded
ForceType application/octet-stream
Header add Content-Disposition "attachment"
Don't forget to clear cache on the browser