It makes sense, but clean WordPress themes are always popular. They give you ultra readability, plenty of negative space to fill, and the ability to showcase only what’s necessary about understanding your site. Because of this, there are plenty of themes on hand to choose from. However, don’t make the mistake of thinking that clean themes lack functionality. Sure, some…. Continue Reading
Are you running out of disk space and inodes for your WordPress website?
If you run out of disk space and inodes, then you might see different errors. For example, you won’t be able to upload images, send or receive emails, update blog posts, and more. Your users will also have a hard time accessing your website.
In this article, we will show you how to reduce disk space and inodes on WordPress.
Why Free Up Disk Space and Reduce Inode Usage?
When you purchase WordPress hosting for your website, each service will provide a certain disk space and inode limit.
Inode is where the metadata for files is stored, like the file size and its physical location. Inode usage equals the number of files and folders on your hosting account.
Initially, you don’t have to worry about these limits, as you’ll be just starting out. However, as your WordPress site grows, more files and folders will take up disk space and utilize inodes. Once you reach your WordPress hosting company’s allotted limit, you’ll notice several issues on your site.
For instance, you won’t be able to send or receive emails from your website, have difficulty uploading images and other content to the media library, and update content on pages and posts.
If the disk space is full, then your visitors might also face problems while accessing your website. Besides that, migrating your site to another host might also not work if you don’t have enough disk space.
Reducing disk space and inodes will help resolve these issues. Plus, you will see better website performance and a smooth user experience.
With that, let’s see how you can check disk space usage on your WordPress site.
How to Check Disk Space in WordPress
There are multiple ways you can check the disk space in WordPress. The easiest way is by accessing the cPanel of your hosting service.
All web hosting providers offer statistics on disk usage, file usage, number of email accounts, and more.
For example, if you’re using Bluehost, then you can simply log in to your account. After that, head to the ‘Advanced’ tab from the menu on your left. The column on the right side will show statistics about disk and file usage.
That said, let’s look at ways to increase disk space and free up inodes in WordPress. You can click the links below to jump ahead to your preferred section.
1. Use Image Optimization Tools to Reduce Their Size
A simple way to save disk space is by optimizing your images. You can use different tools to reduce the image size without lowering its quality. Besides that, you can change the file format (PNG, JPEG, GIF) and dimensions to reduce the image size by 80%.
It not only helps save inode usage but also makes your website load faster. You also get faster website backups and improved SEO rankings.
Image optimization tools use compression technology to lower the file size of the picture. You can use photo editing software like Adobe Photoshop, Affinity, or web tools such as TinyPNG or JPEGmini.
There are also different WordPress plugins that automatically compress images when you upload them.
Did you know WordPress creates multiple copies of an image when you upload it to your website?
WordPress automatically generates different image sizes, which include thumbnail, medium, and large sizes in addition to the original picture.
These image sizes will take up disk space and inodes on your website. Besides, the backup size of your site will also become large due to different versions of a single image.
A simple way to prevent WordPress from generating multiple image sizes is using the Stop Generating Unnecessary Thumbnails plugin. It is a free plugin that lets you disable image sizes.
Directly uploading videos to your site means using more bandwidth and disk space. If you have high-quality videos, then it will utilize even more resources. You will also need different plugins to manage and display videos, which means using more disk space.
A better alternative is to upload videos to sites like YouTube or Vimeo and then embed them on your site. This way, you’ll free up disk space and bandwidth. Your videos will also get more exposure since YouTube is the second most popular search engine and the most visited site.
Cleaning your WordPress media library is a great way of incresting disk space and reducing inodes in WordPress.
If you have media files that are not in use, have multiple copies of the same image, or have pictures in the incorrect size, then you can remove them to free up space.
Usually, you can head to Media » Library from the WordPress dashboard and select an image you want to remove. Once the image attachment details open, simply click the ‘Delete permanently’ option.
However, the manual process is time-consuming, and it can be hard to find media files that are not in use.
A more efficient way is to use WordPress plugins that help clean the WordPress media library. For example, Media Cleaner is a free plugin that scans your site for unused media files in the library and posts/pages. You can then decide which files to keep and which to remove.
Do you have WordPress plugins and themes that are inactive and currently not in use?
Having inactive WordPress themes and plugins means they are using inodes and taking up disk space. You should remove these plugins and themes to increase disk space and reduce inode usage.
To remove plugins, simply head to Plugins » Installed Plugins from your WordPress admin panel. Next, click the ‘Delete’ button for any plugin that is not being used.
7. Empty Your Mailbox and Delete Unused Email Accounts
If you’re using email accounts on your hosting service, then they also take up space and utilize inodes on your site.
To reduce inode usage and save disk space, you can check your emails and delete any unwanted emails. These can be spam emails or old emails that are not required anymore.
Similarly, if you have multiple email accounts set up on your WordPress hosting service, then you can delete accounts for inactive users. You can access your mailbox and different email accounts using the cPanel of your hosting provider.
8. Clear Cache and Old Backup Files in WordPress
Cache plugins are super useful in speeding up your WordPress website and providing a better user experience.
However, these plugins can generate a high amount of cache files if left unchecked. As a result, they will utilize inodes on WordPress. That’s why it is a best practice to clear the WordPress cache at regular intervals and reduce inode usage.
Different WordPress hosting services and caching plugins come with a built-in option to clear the cache.
For example, Bluehost allows clearing your cache from the WordPress admin area. Simply select the ‘Caching’ option in the toolbar at the top and click the ‘Purge All’ option to remove the cache.
Similarly, if you’re using WordPress security and backup plugins, then clearing old security reports and backups will also significantly improve your inode usage and disk space issues.
For instance, if you’re using Duplicator for backups, then you can view existing backups and delete the old ones from your WordPress dashboard.
Simply go to the Duplicator Pro » Packages page and select your old backup. After that, click the Bulk Action dropdown menu and select Delete.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.