Support » Fixing WordPress » How to Define Media Upload Location

  • Resolved Alkorr

    (@alkorr)


    Hi, I just realized an option is missing in the latest version (5.4.2) of WP: I would like to change the default Media Upload location and it used to be in:

    Settings > Media > Uploading Files > Store uploads in this folder

    I want the upload directory to be outside wp-content: http://www.mydomain.com/images/

    Since the field is not showing anymore (I don’t know if it was done on purpose but now it’s way more difficult to set when you’re not WP-savvy) I have to add some code in the wp-config.php. So I checked on the WP Forums (here) and on the internet and I found several suggestions. I don’t code so I would like to check which one is the best because I don’t really get the difference between both:

    define( 'UPLOADS', 'images' );

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

    Or maybe there’s better than these ones? Thanks for your help! 🙂

    • This topic was modified 3 years, 8 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Define Media Upload Location’ is closed to new replies.