You are here: / / forbid browser to display a PDF file download
Tagged: download pdf not diplay it
I’m using un button (not the sdm_download button feature but a theme Avada button) using that link:
All browsers are displaying the PDF instead of the download box. Is there a way to force the browser to not open the file?
Thanks for any help
put an .htaccess file inside the folder containing the pdf to be downloaded using sdm_download plugin. Files offered to download must be in their own specific folder.
Content of the .htaccess is:
Header set Content-Disposition attachment
works like a charm!
You must be logged in to reply to this topic.