My names Andy and I am an absolute novice. I'd really really appreciate any help anyone is able to give to help me fix my problem!
I have Wordpress Audio Player and I am uploading all the MP3s to my FTP, and then writing the links back into Wordpress.
I wish to host an MP3 for listening, and then a separate link (Perhaps reading 'Download') where users are able to download the the track without being redirected to another page and having to right click save as.
I'm after a solution for a forced download if anyone has one?
I'm stuck as to what I should open, and where I should put this snippet though? I have no idea about .htaccess!
Sorry for the lack of knowledge... Any ideas?
.htaccess file is Apache server configuration file. It is hidden by default ([.] before file name in Linux means file is hidden). This file can be found at root level of your website. So whatever default directory you log-in via FTP. Most FTP clients by default ignore any file starting with [.]! So make sure your FTP program is configured to display hidden files and you'll see .htaccess file. Then just download it, edit and re-upload overwriting the old one. (Remember to back-up original copy)
Hey guys,
My names Andy and I am an absolute novice. I'd really really appreciate any help anyone is able to give to help me fix my problem!
I have Wordpress Audio Player and I am uploading all the MP3s to my FTP, and then writing the links back into Wordpress.
I wish to host an MP3 for listening, and then a separate link (Perhaps reading 'Download') where users are able to download the the track without being redirected to another page and having to right click save as.
I'm after a solution for a forced download if anyone has one?
Thanks so much guys, really appreciate it.
Andy
In the .htaccess section of "Snippets" check out the title Force Files to Download (Not Open in Browser) and add:
Also, there are WordPress plugins that take care this for you.
Hope that helps, -Alen
That's great Alen! Thank you!
I'm stuck as to what I should open, and where I should put this snippet though? I have no idea about .htaccess! Sorry for the lack of knowledge... Any ideas?
.htaccess file is Apache server configuration file. It is hidden by default ([.] before file name in Linux means file is hidden). This file can be found at root level of your website. So whatever default directory you log-in via FTP. Most FTP clients by default ignore any file starting with [.]! So make sure your FTP program is configured to display hidden files and you'll see .htaccess file. Then just download it, edit and re-upload overwriting the old one. (Remember to back-up original copy)