Support » Fixing WordPress » Media files are not deleted from server even though I deleted them from backend

  • I am using Siteground as my host.

    I deleted media files from the backend using wp-admin but those files are still there are on the server.

    I also realized that for each image upload there are multiple copies being generated. I am using wocommerce and doing csv product upload with images in the url.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    >> I deleted media files from the backend using wp-admin <<

    How did you delete the media files?

    Thread Starter baldeaglemall

    (@baldeaglemall)

    wp-admin -> dashboard -> Media -> Library then selected those individual files and moved them to trash

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    They are not physically deleted until you empty trash. Stuff in trash can be recovered.

    Thread Starter baldeaglemall

    (@baldeaglemall)

    I am not sure I understand your comment. This is what I get from wordpress website:

    Deleting files from your Media Library
    You can permanently delete any upload from your Media Library. To do so, select the file(s) of your choice and click the Trash icon in the toolbar: Note that unlike posts, pages, and comments, deletions from your media library are permanent and will not be moved to a trash folder.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Before: See https://i.imgur.com/eodSxyM.png

    I do not have a “trash” option: See https://i.imgur.com/RwM0Ydn.png

    After: The files are deleted from wp-content/uploads/2021/01

    As “trash’ is not part of the core media library, what plugin(s) are you using that modify the media features?

    Thread Starter baldeaglemall

    (@baldeaglemall)

    I have multi vendor woocommerce platform so in this case I would say WCFM is only using the media files.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    If you deactivate WCFM, does the “trash” link go away? If so, then this is best asked in their support area.

    Thread Starter baldeaglemall

    (@baldeaglemall)

    So, are you saying some other plugin is controlling whether the deleted files are removed or not and not wordpress ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Yes, that’s what i’m thinking.

    Thread Starter baldeaglemall

    (@baldeaglemall)

    I deactivated every plugin still I don’t see permanently delete option for media files. It still shows up Trash.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Rep

    Can you post a screenshot of what you see?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Media files are not deleted from server even though I deleted them from backend’ is closed to new replies.