New WP-Optimize Plugin – Optimizing Your WordPress Just Got Better

Almost 5 years before, I made a small plugin for WordPress called WP-Optimize. The very basic nature of this plugin was as simple as click and clean the junk data from WordPress databases.

It was to the point – straight forward tool for WordPress administrators. I have used it in all my WordPress projects and It did what it was supposed to do.

But eventually I realized, this plugin can be a very helpful tool for the people who manages and uses WordPress sites on a daily basis. So I decided to put it on the plugins repository. Since then, it has almost half a million downloads and an average of 4.6 rating.


I wasn’t always able to upgrade the plugin due to my heavy day time job. Regardless, it never actually stopped working. Lately I motivated myself to do some good changes that will help out others.

Of course one big part of that was to listen to the community forums. I listened and tried to make their needs about this plugin come true.

I just release a moderately major changes to this plugin. I am going to show you, WP-Optimize just got better and more efficient in cleaning your WordPress sites.

Before anything else, you should remember that many features of this plugin is still in experimental stage. It is released under GPL and does not come with Warranty.

It is highly advised to keep a proper database backup before implementing it.

Here are the list of things that has changed in this plugin:

1. Optimization code enhancement

WP-Optimize is now cleans tables with much more performance enhanced process. It may require more memory but overall the performance of optimization has been improved.

2. More options for cleanup

WP-Optimize Optimizer Options

More cleanup options added. Cleanup of orphaned post meta tags, unused tags and transient options in wp_options table. In addition to that, it also cleans up your items in trash, both for Posts and Comments.

3. Better admin interface

WP-Optimize Better Admin Interface

Admin interface has been re-organized and added tabbed interface for more cleaner approach. Independent Settings page and additional Information pages added.

4. Automatic cleanup and optimization schedules

WP-Optimize Auto Cleanup Schedules

Scheduler was one of the most important upgrade for this plugin. It has been asked so many times in the forum. I tried to keep things simple. Scheduler supports 3 recurring schedules – Weekly, Bi-Weekly and Monthly.

5. Ability to retain selected number of weeks data

WP-Optimize General Settings and Retention

This was also an important feature. This option allows you to turn on a retention period to keep that last number of weeks data in the database. It is very effective when you want to clean your database but you do not want to lose some of the elements due to the cleaning process.

6. Translation strings cleanup

Previously, translation strings were combined together with spaces, and other characters. It wasn’t so easy for the translators to translate the plugin. Now strings are cleaner and all sort of spaces and extra characters are removed.

7. Selective auto optimization switches

WP-Optimize Auto Cleanup Settings

I am sure not everyone wants to clean everything automatically. Hence, there are enough switches for the auto optimization at the Settings page.

8. Settings to enable admin bar link

This admin tweak will allow you to add a quick access link to the WordPress admin bar and it will only be visible to the administrator. You can turn this on and off from the settings page.

9. Integrated development log from WordPress TRAC

WP-Optimize Development Log

Integrated updates from the plugin code commit trac. This enables you to see the development log for changes that were submitted. This was added to the Info page.

10. Status report

WP-Optimize Status

Status report basically shows you – When was the last optimization, What is the Status of auto optimization, How much space can you save. It’s helpful in many context. It also shows you when is the next automatic optimization will be performing.

11. Ability to clean up all Trackbacks and Pingbacks

I have seen a lot of trackback and pingback spams before and I found out there was no easy way to get rid of those. You will be surprised how much database space they consume. There are some SEO values to these entries, so I do not directly encourage you to use those clean up options. But the options are there if you need ’em.

Bottom-line is; WP-Optimize keeps your database and tables tidy and clean. If you run a moderately large WordPress site, this plugin will help you clean up your tables and database periodically.

It is as simple as “Set it and Forget it”.

If you do not prefer the automatic optimization, you can always do the manual clean up process.

Thanks everyone who have been using this plugin for a long time. Thanks to the Donors and the Translators who have spend their time translating the plugin.

There are much more things to come in future. So stay tuned.

In Category: Wordpress
Show 14 Comments
  • Tuan Vo January 11, 2014, 12:45 pm

    Thank you for your working, very apperciate it.

  • thejeffmatson December 5, 2013, 4:19 am

    I absolutely love it. Incredible work.

  • joe November 19, 2013, 5:14 pm

    Hi, i’ve been using this plugin for a while and when i updated it recently and cleared some of my old drafts….it wiped out my entire database….any help restoring would be greatly appreciated

    • Ruhani Rabin November 19, 2013, 5:59 pm

      Hi, the plugin does not contain any commands to wipe out tables or database. I can’t help restoring, this is not an issue with the plugin. All features in this plugin is experimental and you still need to create a backup first. Sorry about the trouble but I can’t replicate this problem. I am using it on over 5 websites without any problem.

    • Tom McGee November 26, 2013, 12:03 am

      We may have found a conflict with WPMU’s “Subscribe By Email” plugin.

      Wp-optimize has a setting to remove “transient” options from the database, and when I first installed it I ran it with that box checked. Looking through the backups, I see that there are options labelled _transient that have to do with subscribers. For example:


      So, when those options — which seem to have to do with deleting subscribers — were removed something triggered all the subscribers disappearing.

      At least that’s my theory. Any ideas?

      • Ruhani Rabin November 26, 2013, 12:15 am

        Tom, yes it would remove anything which begins with “_transient” and in your case .. you can’t use the “remove transient options” at all. It’s almost impossible to check conflict with all other plugins.

        Your theory seems to be correct.

        Honestly though, a plugin should not keep permanent settings in a transient options. It should have a permanent place for those options.

  • Richzendy November 15, 2013, 10:04 am

    Thank you, your plugin is very usefull

  • E-TARD The LifeCaster November 12, 2013, 1:18 am

    one thing I have found out about word press is that when you install a plugin and set it all up & found out you don’t like it or it sux etc.. and want to remove it. the plugin files are deleted but the pligin settings in the DB are not.
    I did find a plugin that would remove the left over junk settings in the DB but it does not do a good job at it.
    maybe that something you may want to add to this plugin.
    it sure would help me out.

    • Ruhani Rabin November 12, 2013, 1:31 am

      I agree with you. I have seen many plugins that have done it (They leftover on the db). Unfortunately, there are literally thousands of plugins with their unique ways of settings in the db. That makes it virtually impossible to find which settings are an orphan settings (or leftover). This is very error prone and complicated process to do so.

      If you like; you can check out a plugin name “Clean Options” – . This plugin has not been updated since 2010 but it is able to find some orphan settings in wp_options table. But please be warned – using that could be dangerous.

      Having said that, I am still in a lookout for a better solution to handle this issue. :)

  • MENJ November 11, 2013, 9:20 pm

    Interesting changes made to this plugin, which has never aged with time :)

    • Ruhani Rabin November 12, 2013, 1:32 am

      Thanks so much @menj:disqus :)

  • Kaj November 8, 2013, 2:33 am

    Fantastic plugin, especially with the auto-clean feature. Donation on the way.

    (BTW I use this theme as well, it’s great)

    • Editorial Staff November 8, 2013, 9:06 am

      Thanks so much Kaj, I like this theme because of typography :)