

- #BEST IMAGE CLEANER WORDPRESS HOW TO#
- #BEST IMAGE CLEANER WORDPRESS INSTALL#
- #BEST IMAGE CLEANER WORDPRESS PRO#
- #BEST IMAGE CLEANER WORDPRESS CODE#
- #BEST IMAGE CLEANER WORDPRESS FREE#
Since the deletion is final, this feature prevents accidental deletion of all copies of the image. We can click directly on the alert or go to Media → Manage Duplicates.
#BEST IMAGE CLEANER WORDPRESS INSTALL#
Then we install and activate the plugin.Īs soon as we activate the plugin a warning tells us that we need to generate the media list. From the bulletin board of our WordPress site, we click on Plugin → Add New and look for “media deduper”.
#BEST IMAGE CLEANER WORDPRESS FREE#
The free version prevents this from happening only with featured images.įirst, we need to install the plugin.
#BEST IMAGE CLEANER WORDPRESS PRO#
Media Deduper Pro alerts us in case we are deleting images in posts and pages so that there is no missing media. You can use the free version of Media Deduper or the premium version. This way, the disk space limit on your WordPress hosting or shared hosting will no longer be an issue! The advantage of this plugin is to find duplicates without taking into account the file names or date of upload, but comparing the different images with each other by comparing the unique hashes of each image. Often it can happen to upload the same image two or more times, maybe even renaming it differently from the first time. Media Deduper is a WordPress plugin that allows us to identify duplicate images in our WordPress library. Delete duplicate images with Media Deduper In the worst-case scenario, you will have to resort to restoring a backup. To prevent this from happening it is useful to activate the recycle bin and always do a check before deleting everything. When you want to delete unused images, it can happen that you accidentally delete important images such as site logos. Select the image you are interested in and click on Recover entries.


If, however, we realize that we have deleted an important file, we can restore it. After checking for errors we can click on Trash and then delete the files in the trash by clicking on the Empty Trash button. This gives us the possibility to check the site and verify that no important images have been deleted. At this point, if we delete the scan result files, instead of being permanently deleted they will be moved to the recycle bin. Media Cleaner allows you to activate the trash automatically, just click on Automatically and write this line in the alert you’ll see when you access the plugin dashboard (Media → Cleaner).Īfter doing this it reloads the page.
#BEST IMAGE CLEANER WORDPRESS CODE#
If you want to enable the trash function you can add this code to the wp-config.php file: define( 'MEDIA_TRASH', true ) By default, in fact, WordPress does not use the recycle bin for media files but deletes them permanently. The plugin reminds us that deleting the images is permanent. If instead, we want to delete all the files in the list we click on the Delete All button. We also have the possibility to delete only some files in the list, we just have to select them and then click on Delete entries. If in the list we find one or more files we don’t want to delete we can check the boxes next to the files and click on Ignore entries. Once the analysis is finished, the plugin returns a list of files that are not currently in use in any post or page.īefore going ahead and deleting unused images, it is better to make sure that there are no files in the list that we want to keep. In our case, we have the possibility to analyze only the media so we click directly on Scan to start the analysis of the library files.Īfter that, we wait for the scan to complete, depending on the number of files in the library it may take some time. From the WordPress dashboard, we click on Plugin → Add New. In this case, we will use the free version of the plugin to delete unused images.įirst, we need to install the Media Cleaner plugin. The pro version not only detects and allows you to delete unused images among those in the WordPress library, but it also analyzes the files allowing you to remove even those that do not appear in the library. Media Cleaner is available in a free and paid version. Use Media Cleaner to delete unused images
#BEST IMAGE CLEANER WORDPRESS HOW TO#
We will then see how to use Media Deduper to find duplicated images and free up space on WordPress. In this guide, we’ll see how to use Media Cleaner to locate unused images on WordPress. If, however, you want to be sure to delete only unused media, without having to search for them one by one, the best solution is to proceed with a plugin. Moreover, to follow this method it is presumed that you already know which images are used and which are not within the posts and pages of the site. In a site with hundreds or thousands of images, it is unimaginable to proceed by manually deleting unused images and it also becomes difficult to identify any duplicate images. Then click on the images we want to delete and finally on the button at the top Delete permanently.

If, on the other hand, we want to delete more than one file at a time, click on Bulk select.
