Executive intent.
Large WordPress installs age like attics: screenshots from six redesigns ago, elementor/cached thumbnails in duplicate sizes, backup zips parked in /uploads/
, ghost attachments no post links to, and retina variants no one needs. The result: bloated backups, slow media queries, creeping bills on S3/CDN, and red Core Web Vitals when galleries bite. This operator-first guide shows how to use Media Cleaner Pro – Clean your WordPress (short: Media Cleaner Pro) as a forensic tool—not a delete button—to safely reclaim storage, tighten queries, and keep editorial life boring (in the best way).
Media bloat isn’t only about disk space. It touches:
srcset
, slow /attachment/
queries, sluggish Media Library pagination.background-image
cause broken UI, phantom 404s that clutter logs.Media Cleaner Pro helps by mapping references before removal: posts, custom fields, widgets, menus, builders (Elementor, Gutenberg blocks), and even the file system. But the win is not the plugin—it’s the process you run around it.
1) Inventory — establish counts and classes of media (attachments, physical files, generated sizes, builder caches).
2) Identify — scan for unused or unreferenced items across DB and file system; mark suspects, not culprits.
3) Verify — sample and validate across templates, shortcodes, CSS, and dynamic sources; create exclusions.
4) Remove — trash in phases, with reversible checkpoints; update DB references where needed.
5) Recover — one-click restore if something breaks; document patterns to avoid regressions.
Principle: You’re not cleaning pictures. You’re stabilizing systems (content model + theme + plugins + storage).
wp-content/uploads
. Verify the theme/plugins match prod.Exclude lists (seed):
/uploads/backups/
and any folder holding zips/exports.Q: Will Media Cleaner Pro catch images used in CSS backgrounds?
A: It can’t parse your custom CSS in every theme/plugin combo. Keep pattern-based exclusions (e.g., hero-*.jpg
) and verify via staging.
Q: We offload to S3/CDN. Safe to delete locally?
A: Yes if your offload plugin mirrors deletes remotely and you have bucket versioning. Test on staging; confirm 404 behavior after purge.
Q: Can we automate monthly?
A: Yes—schedule a scan on staging, email the report, and require a human to approve deletes. Automation stops at the Trash step.
Q: What if editors keep uploading 5MB PNGs?
A: Enforce server-side conversion to WebP/AVIF; cap upload dimensions; educate with a 10-minute workshop and a pinned SOP.
Media Cleaner Pro is at its best when treated as instrumentation first, removal second. Inventory your assets, identify with skepticism, verify with sampling, remove in phases, and recover on rails. Pair that with clear image policies and a lean size registry, and your WordPress stays fast, cheap to back up, and pleasantly boring for editors.