Problem: I have a movie hosted. I can link to it; however, I want people to download the movie, not view it in a browser.
Here’s the paraphrased version I learned from the brilliant folks at Boutell.com. Create a page (in Dreamweaver, or wherever) with the following:
header('Content-disposition: attachment; filename=yourmovietitle.mov');
Save that file as movielink.php, or something more specific. Add that to the same folder (on your host) that your movie is in. Change the name from movie.mpg to the actual name of your file. Finally, write the link as <a href="movielink.php">Download me</a>.
You create a file that forces your browser to save, not open.
Here was my problem:
I wanted to set up a WordPress blog for my EDUC 515 class. I wanted to have a separate navigation, a different color scheme, and a second blog. I already have WordPress set up for my main page (billselak.com), and I couldn’t publish new posts to my EDUC 515 page.
Here is my solution:
I created an empty folder on my server (inside public.html) named educ515, and simply installed another WordPress account inside that folder. Now, I can log in to my main WordPress, or my 515 WordPress. Once I’m logged into my 515 account, I created one (static) page for each week of class, with directions, reminders, and notes from that class session. Disclaimer: I’m not sure if this is how you’re supposed to do it, but it’s working really well so far.
This is yet another reason I’m happy to pay for my own hosting service. So much more control than the free wordpress.com blog, so less hassle (and work) than a web site built from scratch.