The blog of Jafar Aliyev


Creation date:

Download instruction in .htaccess

For HTML .htaccessIf you want to force the download of a word document and a PDF files instead of opening them in a web browser when user clicks on them you can add the following lineto .htaccess file:

AddType application/octet-stream .doc .pdf

Author: Jafar N.Aliyev (Jsoft)

Read also

HTML tips
Here I listed some useful HTML tips

© Copyright

All articles in this site are written by Jafar N.Aliyev. Reproducing of any article must be followed by the author name and link to the site of origin(this site). This site also keeps the same rules relative to the articles of other authors.