Title: changing directorys
Last modified: July 2, 2025

---

# changing directorys

 *  [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/)
 * Is there anyway to change where downloads are stored?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/changing-directorys/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/changing-directorys/page/2/?output_format=md)

 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18537162)
 * Hello [@infernoprime](https://wordpress.org/support/users/infernoprime/),
 * Hope you are well. Do you want to change `download-manager-files` folder to another?
   Please kindly check and let me know.
 * Thank you and regards
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18538735)
 * Yes, if possible. I don’t like having a single folder and just dumping all the
   files in there.
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18538801)
 * For upload file directory you can use this code in yourt theme’s `functions.php`
   file:
   `if (!defined('UPLOAD_DIR')) { $upload_dir = wp_upload_dir(); define('UPLOAD_DIR',
   $upload_dir['basedir'] . '/my-custom-downloads/');}please kindly check if it 
   woeks for you. Please kindly check.
 * Thank you and regards
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18542770)
 * First, I want to make sure of something. This is to change the location not the
   name, correct?
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18542785)
 * Yes, it is upload location download manager files. You can try and check if it
   works for you. Please kindly check.
 * Thank you
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18542788)
 * Give me a day or two and ill check back.
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18542823)
 * Ok, sure. Please kindly check.
 * Thank you
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18543474)
 * I’m sorry I forgot to ask but what directory is this relative to?
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months, 1 week ago](https://wordpress.org/support/topic/changing-directorys/#post-18543549)
 * Those files you are attaching for download, that upload folder. Please kindly
   let me know if you have more queries. Please kindly check.
 * Thank you
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months ago](https://wordpress.org/support/topic/changing-directorys/#post-18548617)
 * Is there no easy way to add sub folders?
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months ago](https://wordpress.org/support/topic/changing-directorys/#post-18548713)
 * `if (!defined('UPLOAD_DIR')) {
   $upload_dir = wp_upload_dir();define('UPLOAD_DIR',
   $upload_dir['basedir'] . '/download-manager-files/subfolder-name/');}you can 
   try this too if you want subfolder of download-manager-files , Please kindly 
   check.
 * Thank you
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [11 months ago](https://wordpress.org/support/topic/changing-directorys/#post-18553338)
 * 1.I just want to make sure I understand this correctly. This code below will 
   allow me to change the location where the downloads are stored OUTSIDE of the
   wp-content directory?
 * 2.The other code that you gave me. I wanted to use multiple sub folders for a
   category like structure if possible.
 *     ```wp-block-code
       if (!defined('UPLOAD_DIR')) {$upload_dir = wp_upload_dir();define('UPLOAD_DIR', $upload_dir['basedir'] . '/my-custom-downloads/');}
       ```
   
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [11 months ago](https://wordpress.org/support/topic/changing-directorys/#post-18553348)
 * For your requiremt 1, Yes
   For your requirement 2, it may require to take customization
   services, you may knock here with your requirement, [https://www.wpdownloadmanager.com/download/custom-upgrade-service/](https://www.wpdownloadmanager.com/download/custom-upgrade-service/).
   Please kindly check.
 * Thank you
 *  Thread Starter [infernoprime](https://wordpress.org/support/users/infernoprime/)
 * (@infernoprime)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/changing-directorys/#post-18557020)
 * Could I use the external link feature to specify that and use it for sub folders?
 *  Plugin Support [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * (@nriddhi)
 * [10 months, 4 weeks ago](https://wordpress.org/support/topic/changing-directorys/#post-18557151)
 * For any custom requirements implementation, you may please knock here with your
   requirements, [https://www.wpdownloadmanager.com/download/custom-upgrade-service/](https://www.wpdownloadmanager.com/download/custom-upgrade-service/).
   Please kindly check.
   Thank you

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/changing-directorys/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/changing-directorys/page/2/?output_format=md)

The topic ‘changing directorys’ is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [Nayeem Hyder](https://wordpress.org/support/users/nriddhi/)
 * Last activity: [10 months, 3 weeks ago](https://wordpress.org/support/topic/changing-directorys/page/2/#post-18559075)
 * Status: not resolved