title: How to change download path on wordpress?
body: <p>I did a website on WordPress, and it has a lot of pictures and pdf files for visitors, but I realized that when I click on a pdf link, it shows a complete path that I don't know how secure is it to show, and besides it doesn't look clean. It is the typical and by default www.mysite.cl/wp-content/uploads/2018/01/document.pdf</p>
  
  <p>I would like it to be shorter, something like www.mysite.cl/downloads/document.pdf. And I found here something I think is a great answer and a way to do it without using plugins, but I have some doubts since I'm starting at this and don't know where to insert a code.</p>
  
  <p>This is the answer: <a href="https://stackoverflow.com/questions/29105782/how-to-change-download-url-path-in-wordpress-to-www-yoursite-com-download">How to change download url path in wordpress to www.yoursite.com/download?</a></p>
  
  <p>And my questions are:</p>
  
  <ol>
  <li>Where do I put the new code <code>define( 'UPLOADS', 'downloads' );</code>? at the beginning, at the end, it's the same...?</li>
  <li>I use a child theme, so I should move the php file to the child theme right?</li>
  <li>I already have files in the media library, I must move them all to the new created download folder? English isn't my mother language, so I didn't understand quite good what he tried to said in this part of the explanation. By logic I think I must move all the files to the new folder, and I think that the new code "calls" the web to search in the new folder instead of looking in the old uploads folder... doesn't it?</li>
  </ol>