Important: All scripts hosted on widcraft.googlecode.com don't work anymore because Google has blocked that SVN repository.
I'm really loving all the wp-config.php tricks. We can do so much amazing stuff with just some little codes.
Before WordPress 3.5 you used to be able to change the upload directory path from the Settings menu in the dashboard. However, now you can't do anything like that from the settings option, but it’s still possible.
How to Change The Default WordPress Media Uploads Folder:
Open wp-config.php (located in root of WordPress installation) and add following code before the line that says require_once(ABSPATH.’wp-settings.php’);.
define( 'UPLOADS', 'wp-content/custom-path' );
Change wp-content/custom-path with your custom upload path. For example, you can can change it to wp-content/files. Don't forget to add the code before require_once(ABSPATH.’wp-settings.php’);.
Important: Check our new website TricksPanda.com for WordPress tutorials, plugins and more.