Welcome to 10For2 Web Development

An online presence is more than just a website; it’s the face of your company to the world. We specialize in developing that presence for small to medium size businesses.

Full Service Online Solutions

While our main focus is website design and development, we also specialize in marketing material, video production, and email and data hosting. Our goal is to become your one-stop shop for business identity solutions.

Login Panel

web development · content strategy · e-commerce wordpress · site maintenance · social media · seo

Blog Entry » January 29th, 2012

Redirect mp3 Files to Download Instead of Stream

Here’s a quick hit that may prove useful. We had a need to have mp3 files default to offering the ability to save the file rather than stream it using the browser default player. I realize you can right click/save as, but this not the most user friendly solution. When the goal is to make it as easy on the user as possible, you have to minimize clicks, or at least provide simple instructions. In my opinion, nothing is simpler than a popup offering to save the file. So without further ado, the code:

AddType application/octet-stream mp3

Just place this in your .htaccess file and the server will handle the rest!

This entry was posted on January 29th, 2012 @ 1:31am and is filed under Blog, Code. You can follow any responses to this entry through the RSS feed. You can leave a response, or trackback from your own site.

One Response

  1. Syfortress says:


Leave a Reply