Fluid

Force PDF downloads from a website rather than view in browser window

Sometimes you want files in certain format like PDF to be downloaded instead of opened in new browsers. Because such files normally have very large size and may cause your browser run out of memory. With Apache .htaccess file force download can’t be easier. See the example below:

<Files *.pdf*>
ForceType applicaton/octet-stream
</Files>

This example will download all .pdf files when directly linking to them.

Exit mobile version