2 posts by 2 authors in: Forums > Off Topic / Other
Last Post: May 19, 2014   (RSS)

By Toledoh - May 18, 2014

Hi Guys,

A couple of my clients are reporting issues where their clients cannot open the PDF links on their website.  Normally IE but also Chrome.  

Do you know of any way to force the PDF links to default to "save target as" rather than opening in the browser?

Cheers,



Tim Forrest

Toledoh Enterprises

www.toledoh.com.au

By gregThomas - May 19, 2014

Hi Tim,

This forum thread goes over forcing certain file types download as opposed to displaying them in the browser:

http://www.interactivetools.com/forum/forum-posts.php?postNum=2229265#post2229265

I would try the htaccess method first:

<Files *.pdf>
  ForceType application/octet-stream
  Header set Content-Disposition attachment
</Files>

and if that doesn't work, then I'd try the system I suggested in the thread.

Thanks!

Greg

Greg Thomas

PHP Programmer - interactivetools.com