How to Define Media Upload Location
-
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: https://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! ??
- The topic ‘How to Define Media Upload Location’ is closed to new replies.