Change default uploads folder in WordPress

To change the default folder where uploads are stored on your webserver when using WordPress as your CMS, open wp-config.php and add the following line of code:

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

In this case, the folder where uploads are stored is called ‘uploads’ and can be found at example.org/uploads/ and are then, based on your settings, saved in a per year and month basis.

The default folder would be example.org/wp-content/uploads/.

Nothing needs to be change in your WordPress database, one single line of code is added to your config file. The power of WordPress :)

 

Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.

 

Leave a Reply

Your e-mail address will not be published. Required fields are marked *