How to Change the Default Media Uploads Folder in WordPress

By default, WordPress stores all uploaded media file in uploads folder within the wp-content directory. However you can easily change this to a custom location.

To change the default upload folder copy the following code and paste it inside your wp-config.php located. Also, don’t forget to change ‘media’ with your own desired folder name.

//Change Default Uploads Folder
define('UPLOADS', 'wp-content/media');

Note: Renaming the existing uploads folder may cause unexpected results. Use it at your own risk.

Useful Read: How to Set a Minimum Comment Length in WordPress

0 Comments

Leave a Comment.