I am trying to create a page on my site such that when a user lands on the page a audio file download is initiated.
I attempted putting the following code in between my header tag
<meta http-equiv="refresh" content="1; url=MyAudioFile.mp3">
However, this doesn't start an automatic download after 1 second, rather it simply redirects the user to www.mywebsite.com/MyAudioFile.mp3. Essentially, this will result in the audio being streamed as opposed to being downloaded.
How can I modify this code to make the mp3 file automatically download as opposed to having it streamed?
Note: the reason why this is being done is because there is an email that goes out with a "download audio file" button. I want the URL of that button to point to this page that will automatically download the audio file without the user having to click on another download button.