What WordPress files can I delete to gain back space?

I’m with IONOS and while I’ve got unlimited storage space for my sites, there’s actually a limit on the number of files I can have. 262,144 apparently.

Earlier this week I hit that limit and it took out my main site for a couple of days. I had to get IONOS to roll things back.

Anyway, since then I’ve deleted one entire WordPress site (of seven) and on the others I’ve deleted any unused themes and deactivated plugins. I’ve been pretty brutal and got myself down to 235,928.

What else can I delete safely? Is there anywhere else I can look?

Thanks in advance!

1 Comment
  1. I would bet a major culprit is unused image thumbnails. It will take some effort (and maybe some code or a plugin) to figure out which thumbnail sizes are actually being used and then clean up unused ones.

    For example, let’s say your theme has a portfolio and generates an image size specifically for the portfolio but it’s not used for anything else. Every time you upload an image that’s bigger than that portfolio thumbnail size, a portfolio image would be created. But if you don’t use the portfolio feature, those images never get used and just accumulate in the Uploads folder. This might be true for multiple image sizes.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer