How to do WordPress “Spring Cleaning”

How to do WordPress “Spring Cleaning”

Adam Morgan

Are there cobwebs and clutter lurking within your WordPress site? It’s time to get out the duster and give it a spring clean. Here are some tips on how to breathe some fresh air into your site and optimise it at the same time.

Check Your Plugins and Themes

As time goes on your website will have picked up a variety of plugins. Now they may take up space, slow your website down or overlap in their functions.
If plugins and themes aren’t updated they can cause issues, however continually checking and updating 20 or 30 plugins can be time-consuming. Decide which plugins and themes aren’t working for you anymore and deactivate/delete the ones you don’t need.

Hide Unused Shortcodes

One plugin that would be worth installing is one that hides unwanted shortcodes rather than deletes them. This would need risky database queries which best avoided if they can’t be handled properly.

Find and Fix Broken Links

Broken links are bad for business and can turn-off users. A good place to start in your quest to eliminate broken links is to install Broken Link Checker. This will find any links that point toward non-existent pages and once discovered you can edit, delete, unlink the text or dismiss it as not broken. It will also notify you when a broken link is found and prevents search engines from finding them.
Broken Link Manager is still relatively new and a good alternative. It continuously monitors backlinks on your website and can notify you by email when one is detected. This plugin also provides 301 redirects so you will not suffer SEO loss for any broken links.

Delete Old Post Revisions

Once you have completed and published an article on your blog, revisions rarely have much purpose. Multiple revisions take up valuable space, so reducing the amount will help you cut down the size of your database and manage it better.

Better Delete Revision is a handy tool that deletes the old revisions, taking with it the metadata, tags, relationships and more. However, revisions of current scheduled, drafts or published posts will be ignored by the plugin.

RVG Optimise Database offers a good amount of functionality, giving you the option to delete or keep revisions.

Remove Unused Images

It’s easy to generate a collection of images on your WordPress site. Whenever you crop an image, or resize it, the revision will remain on the database. Images will clutter up your content folder, so do a clear out every now and then of the ones you no longer use.
Image Cleanup will find and index unreferenced images and fix incorrect metadata. If you are not sure what to do with the image, you have the option to move it to a temporary location until you have decided its fate.

Get Rid of Redundant Tags

Tags are a useful way of grouping posts together but many people are surprised how many tags aren’t in use. You don’t necessarily need a plugin to undertake this task if you only have a couple of tags to delete. Go to Posts >Tags > sort the number of tags by the post they’re attached to by going to the right-hand column and clicking on ‘Posts’.

If you discover hundreds of unused tags then Mass Delete Plugin will save you some time.