You can change the default WordPress media upload directory without a plugin (for further security reason). By default, WordPress saves all your images and media files in the wp-content/uploads directory. There used to be an option in WordPress to change this path but after WordPress 3.5, this option has been removed. You can still change the path though without the use of a plugin by modifying the wp-config.php file of your WordPress installation.

Modifying wp-config to change upload directory

Step 1: Using ftp or your hosting file manager, open the file wp-config.php to edit.

Step 2: Add the following line of code just after the line: define(‘WP_DEBUG’, false);

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

This will create a folder named “media” in the wp-content folder and all your newly uploaded files will be saved there. If you wish to save the images outside the wp-content folder, you may also modify the code as follows for example:

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