Title: Upload directory
Last modified: August 20, 2016

---

# Upload directory

 *  [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/)
 * I often change the upload directory and noticed that in 3.5 the option is gone.
   I see it must be defined now in the config.php. With that said, once I upgrade,
   will I have to define this in every site that is updated if it is not using the
   default directory?
 * Or is there some WordPress magic that will automatically detect the current directory
   and do it for me?

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281013)
 * The upload directory for media? It is set in the dashboard/settings/media.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281014)
 * Yes and that option is no longer available in 3.5. It must be defined in the 
   config file from what I understand. So my question is, after updating, does it
   default back to wp-content/uploads or will it save your current directory?
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281016)
 * No, that option is where I said in 3.5.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281017)
 * Actually, I just downloaded 3.5 and tested it. The option to define a different
   upload directory is no longer available in dashboard/settings/media. You now 
   only have the option to organize it by month/year.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281018)
 * Weird. On 2 of my sites it is as you say. On my main site it is still there and
   all are running 3.5!
 * [edit] Computers! You can’t even trust what you SEE.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281019)
 * Indeed strange, but I know that is an option they removed in 3.5. You now have
   to define it in the config file like so.
 * `define( 'UPLOADS', 'wp-content/'.'files' );`
    would look like wp-content/files
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281021)
 * Yeah… gone in my 3.5 too. Hmmm… why would that be removed??
 * I don’t see any “magic”, unfortunately.
 * How could we do this? If there is a constant file in the uploads directory, we
   could run a while loop until we found it… and associate that location as the 
   uploads constant??
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281022)
 * Yes, they did remove it. The site that still has it has been running 3.5 since
   beta.
 * [http://codex.wordpress.org/Function_Reference/wp_upload_dir#Folder_Name](http://codex.wordpress.org/Function_Reference/wp_upload_dir#Folder_Name)
   has information.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281024)
 * The “magic” was wishful thinking :). I do agree with Josh and see no reason for
   it being removed.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Upload directory’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/fectio1/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/upload-directory-2-2/#post-3281024)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
