Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

The option to change the upload folder for images is gone on version 3.5, any way to make it visible again or a workaround ?

From this core ticket:

Changing the upload_path and upload_url_path options are pretty dangerous. They have the potential to break quite a bit of things, not to mention they have the potential of simply not working.
[...]
There's really no good reason to show upload_path or upload_url_path in the UI unless the values are other than the default (wp-content/uploads or '' for upload_path, and '' for upload_url_path). With that, most of a section disappears, leaving just year/month folder organization.

share|improve this question

3 Answers 3

In addition to what Joseph suggested, you can also define the upload path in the wp-config.php file like this:

define( 'UPLOADS', 'wp-content/'.'files' );

If you'd like it outside the wp-content folder, specify path like this:

define( 'UPLOADS', ''.'uploads' );

For uploading to a folder like example.com/images, use this code:

//Custom upload path
define( 'UPLOADS', ''.'images' );
share|improve this answer
    
Leo, can you in your answer include an example ? I will like to have the images uploaded to: example.com/images . Thanks –  user983248 Jan 9 '13 at 21:02
    
@user983248 I've updated my answer. –  Leo Jan 9 '13 at 21:13
    
Any particular reason you're using ''.'images', which is just appending 'images' to an empty string? –  Chris Krycho May 6 '13 at 15:40

You can find it at /wp-admin/options.php, which lists all options alphabetically. It'll be near the bottom.

share|improve this answer

You can rename your uploads directory in two ways:

  1. by defining the new directory name on your wp-config.php
  2. by writing a small function to change the directory dynamically.

Here I explained both the ways. Just take a look at here. Also you can rename wp-content directory.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.