How to Change the Default WordPress Uploads Folder

There are many different reasons why users might want to change the default upload directory in WordPress. In terms of performance, it makes it possible to host images on a subdomain, also making backups more efficient. Changing the directory can also create a different URL structure and organization for media files. Prior to WordPress 3.5, you could change the upload directory path from the Settings menu in the backend, but this is no longer possible. In today’s Weekend WordPress Project, I’ll show you how to easily change your default uploads folder. Change Default Media Folder in wp-config.php.

define('UPLOADS', 'wp-content/myimages');

Make sure you add this code before the line:


Source: How to Change the Default WordPress Uploads Folder – WPMU DEV