Skip to content

How To Change WordPress Media Uploads Folder

Before WordPress 3.5 you used to be able to change the upload directory path from the Settings menu in the dashboard. Still you can move the media upload directory path anywhere in the directory with wp-config.php file.. And much more is possible with wp-config.php file, but we’ll discuss on this lesson on this article.

Open wp-config.php and add following code before the line that says require_once(ABSPATH.’wp-settings.php’);.

define( 'UPLOADS', 'wp-content/custom-path' );

Save the file & that’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *