Can't Smush Specific folder

I would like to be able to Smush only a specific folder on my directory, this is a wp-uploads/2015 folder for example, but I see a lock signal on this, and I can’t run the Smush, is there any workaround for that?

Thanks in advance

  • Aditya
    • Staff

    Hi Francois,

    Thank you for contacting WPMU DEV Support. Hope you are doing great today. :slight_smile:

    Currently, there is no way to Smush the images in the “Uploads” folder via ‘Directory Smush’ as these images which are uploaded via the ‘Media Library’ in the WordPress admin dashboard.

    You can perform ‘Bulk Smush’ in order to smush the images of the uploads folder. However, If you wish to smush only specific images, you can manually smush these by going to Media -> Library in the WordPress Dashboard.

    Also, WP-CLI support is in the Roadmap for Smush which will enable an option to smush the images in any folder including the “Uploads” folder. Please check

    Hope I was able to answer your question. Please let me know your views.


    Aditya Shah

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.