Home:ALL Converter>Permanently delete files with custom upload folder in wordpress, wp-config

Permanently delete files with custom upload folder in wordpress, wp-config

Ask Time:2014-11-03T12:53:13         Author:LosoTheCreator

Json Formatter

So i've noticed that when I moved my uploads folder somewhere else, wordpress no longer deletes the files I upload from that folder. It will delete it from inside Wordpress, but when i go to the folder, the files are still there.

I removed the custom path, reuploaded some files, and tried a "delete permanently" and it removed the files from the folder and from Wordpress. I switch the path again and it only deletes it from Wordpress; files still in custom folder.

Is there a way to have a custom path to the uploads folder and still be able to delete files permanently through Wordpress?

Thanks in advanced. WP 4.0

FYI, I've used this in my wpconfig

/** WordPress uploads directory. */
define( 'UPLOADS', ''.'uploads' );

Author:LosoTheCreator,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/26707963/permanently-delete-files-with-custom-upload-folder-in-wordpress-wp-config
yy