I need to create a download link, but I'm a little confused as how to do this and my research online is making me more confused.
I setup the following:
<a href="/downloads/filename.pdf" download="filename.pdf">Download Resume</a>
Do I have this right? Is there anything else I need to do?
I was also reading that to force a file to download to the users computer, instead of opening in the browser, you need to add some lines of code to your htaccess file or content type to your header?
I don't know what an htaccess file is and as far as adding content types to the header, do I just need to add some lines to the header or is there another piece to that?