How can you put the download link of a song just like in other websites?

1 answer


Hmm, the most straight forward answer for this would be link straight to the file.

<a href="/songs/somesong.mp3">Download</a>

But can you be a little more specific or provide an example? I have a feeling that might not be what you're getting at.

Answered over 8 years ago by Matt Milburn
  • what you are asking to do is called hotlinking and it's generally frowned upon as you are using someone else's bandwidth to deliver content on your own site. link to their site, or host the files yourself. Tony Crockford over 8 years ago