How to change Upload folder path in WordPress

Sometimes you need to change the uploads folder path or you want to use another folder for this. It’s also a cool solution to stop hacking your WordPress website. It’s Just a one line code for your wp-config.php. Just open and paste the below code for this:

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

Leave a Reply

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