post icon

How to make files download or load in the browser

This is how to make a file, (.mov, .pdf or in my case a vCard .vcf) download to your desktop instead of loading into the browser window. The problem I had was that my vCard was opening as text in the browser window, which is not useful to anyone. To fix this all you have to do is add a “mime type” to your server using your hosts tools in the control panel. You could also add the “AddType” line to your .htaccess file as well. I deleted my mime type for .mov files and my .mov files now load into the browser window instead of downloading to my desktop. Again here is the resource list for all mime types and more.

No comments yet.

Leave a comment