Cleaning up and streamlining your blog will help you become a more efficient blogger. As WordPress is database-driven, your database’s efficiency affects your performance closely. Filtering and deleting unused images is an effective way to free up disk space.
Most bloggers know it’s surprisingly easy to accumulate multiple copies of images, and these images aren’t deleted automatically after removing a page or a post. There are many good reasons to routinely remove unused images from your WordPress blog. Some of the most important reasons include minimising the server’s load and reducing the amount of disk space used.
Removing Unused Images Manually
Does your blog use loads of photographs and graphics? Over time, you may accumulate quite a large amount of useless image files on your server. If you are looking for a good way to cut down on excess image files, here’s how to do it manually.
1. Log in to an FTP client like FileZilla, and navigate to your WordPress installation folder afterwards.
2. Click on the folder labelled wp-content. Once you open it, start looking for a directory named “uploads.”
3. Open the “uploads” folder. All the images you have uploaded should be arranged in folders and stacked by month.
4. You need to click on all those folders and browse for unused images. When you find one, delete it. Repeat the process until you find and delete all unused image files.
5. This task can be cumbersome and time-consuming. Check out the tutorial below for deleting images with plug-ins for an easier and faster method.
Removing Unused Images with Plug-ins
Using plug-ins can help you identify and delete all unused images that accumulate on your WordPress blog. These files are best removed because they serve no actual purpose, other than to waste more valuable space.
The root of this problem stems from the fact that WordPress can create four images of a single upload file. A plug-in like DNUI (Delete Not Used Images) can help you identify these images, delete your selections, and ultimately save on space.
The first thing you should do is upload the zip file from the WordPress plugin interface. This plugin will scan your database, find the files you don’t use, and allow you to delete it. After you click on the delete option, refresh your browser.
Want to learn more tips and tricks on managing WordPress blogs? Check out our other posts to find out.