Skip to main content
Home / Code Snippets / HTAccess / Force Files to Download (Not Open in Browser)

Force Files to Download (Not Open in Browser)

AddType application/octet-stream .csv
AddType application/octet-stream .xls
AddType application/octet-stream .doc
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .mov
AddType application/octet-stream .pdf
icon-link icon-logo-star icon-search icon-star