If your WordPress website has been around for awhile then we suspect that it’s in need of some Spring cleaning. Is your website a bit slow? Are you updating plugins and themes that you aren’t using? What about all those post revisions in the database? Get out your broom and let’s start cleaning up this mess!
Start your website cleanup with these 5 steps
Step 1: Backup
Step 2: Updates
Update WordPress and all plugins and themes—you should be doing this on a regular basis!
Step 3: Plugins
Delete any plugins that you don’t need. If there are plugins that you tried but didn’t stick with, deactivate and delete them. Do you have multiple plugins installed that do the same thing? Confirm which plugins are in use and then get rid of those extra plugins that you aren’t using.
Some plugins only need to be used once, then they can be deactivated and deleted. This includes WordPress Import and Regenerate Thumbnails. Great plugins but, once you’ve used them you don’t need to keep them around.
Step 4: Themes
Remove extra themes. Make sure that if your active theme is a child theme that you don’t delete the parent theme. Keep the latest WordPress default theme as a fallback.
Step 5: Media Library
Clean up your media library. Try to get in the habit of deleting those oops images right away—you know, those images that weren’t cropped quite right or were too dark. It may be hard to do this now but you can remove any you see in the media library that you know you definitely don’t need.
Optimize all the images in your WordPress Media library for the Web with KRAKEN, a robust, ultra-fast image optimizer and compressor. The Kraken WordPress Plugin will optimize your entire Media library and improve your website performance. Read more here about optimizing WordPress images.
The easy way to clean up your WordPress Database
Now that you’ve cleaned up the files, it’s time to address the mess hiding in the closet. WordPress websites store content in database tables. We keep putting stuff into the database but we rarely think about cleaning it up.
Your WordPress database will be filled with— Post Revisions, Transient Options, Comment Meta, Orphaned Terms — stuff you didn’t even know was there! A cluttered database will slow down your website’s performance.
Use the WP Sweep Plugin for your Database cleanup
- Install and activate The WP Sweep Plugin
- Head over to Tools → Sweep
- The plugin will show you what it is cleaning up and prompt you with warnings but it is basically a one-click cleanup.
This plugin cleans up:
- Auto drafts
- Deleted comments
- Unapproved comments
- Spammed comments
- Deleted comments
- Orphaned post meta
- Orphaned comment meta
- Orphaned user meta
- Orphaned term meta
- Orphan term relationships
- Unused terms
- Duplicated post meta
- Duplicated comment meta
- Duplicated user meta
- Duplicated term meta
- Transient options
- Optimizes database tables
- Embed caches in post meta
The results of your work
Once you’ve done your Spring cleaning, you’ll have fewer WordPress updates and your website performance may improve. Leave us a comment. Let us know how clean up has helped your WordPress site.