WordPress Code Snippets

A fresh mix of code snippets and tutorials

Force download WMV with .htaccess


Everyone loves WMV! Not! Jokes aside, here’s what finally worked for me when trying to force download Windows Media Video (WMV) files.

The technique is surprisingly simple; just add this snippet of code to the root .htaccess file:

As with many .htaccess tricks, there’s no editing required — just drop it in and done. Cheers!

Learn more

.htaccess made easy

Show Support

Like our new Facebook Page to show support!