In WordPress, it is sometimes handy to know where to change the default location of the media library. Especially if you are moving a site out of themMultisite environment. In multisite, the Media Library path is different from a single site install environment.

In a default WordPress install, the uploads usually live in:

To change the default upload location you will need to edit the wp-config.php file located in the root of the WordPress install.

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

If you want the upload path to be outside of the default wp-contentĀ folder, you can do this slightly differently:

define( 'UPLOADS', ''.'files' );
Spread the love