View PDF in Browser/Automatically Download | Assets

Standards Based Development

Setting Header set Content-Disposition "attachment" in the .htaccess file will force the browser to download pdfs rather than viewing them; typically prompting the user to allow the download.

This pdf will automatically be downloaded by the browser, while this pdf will be rendered and viewable in the browser.


Header set Content-Disposition "attachment"

The Web Designer's Guide to Adobe Acrobat