The easiest way we’ve found to quickly reset the WordPress database is with the free Advanced WordPress Reset plugin. This plugin cleans out the users, blog posts, store products, portfolio items or anything else you might have added to your WordPress installation along with all of the accompanying media files, comments, taxonomies, ratings, etc. It does not delete your installed themes and plugins – it will simply deactivate these (so no worries).
We highly recommend using this plugin in test environments where you constantly need to start over. We use it ourselves when doing testing for our Total WordPress theme as well as for many of the plugin reviews you see on our blog. While the plugin currently does not support multisite, it does a fantastic job on single installations and really speeds up the testing and re-testing process.
Now that you know what the Advanced WordPress Reset plugin does, here’s how you can install and use it to reset your site.
Step 1: Install The Advanced WordPress Reset Plugin
First, log into your WordPress installation and navigate to Plugins > Add New. Search for “database reset” and look for the Advanced WordPress Reset (it should be the first result). Click the button to Install and then Activate the plugin.
Step 2: Reset Your WordPress Database
Once active the plugin will add an Advanced WP Reset option under Tools. This is where you will be able to reset your site.
Important Note: Remember that this plugin resets your entire website, meaning all of your users (except for the admin), posts, pages, staff, portfolio and everything else will be deleted – aka gone forever. This is why we recommend it when you want a fresh start like in test environments. If you simply want to clean up your current WordPress installation we suggest using a plugin such as the Advanced Database Cleaner (from the same plugin developer).
Simply type in the word “reset” to confirm that you really do want to reset your website, then click the big blue Reset database button.
Step 3: Checkout Your Clean Installation
After confirming your reset you should see a note that it was successful (yay!). Now if you have a look around your website you’ll notice that it’s like a brand new installation.
If you click on Posts you’ll see that your website has gone back to the original WordPress “Hello World!” default post, complete with sample comment. And if you check under Pages default WordPress “Sample Page” should be back too.
Your site will have also reverted to the current default WordPress theme. But don’t worry – all of your themes and plugins should still be installed. The Advanced WordPress Reset simply deactivates them (see the snapshot above – all of our plugins are still there).
Before & After
And just to give you a look, here are our test before and after pictures.
This was our test site before (complete with sample posts, taxonomies, events, menus and more).
And this is the after result. You’ll see that the Mesa theme we were using is now deactivated and our site is instead using the default 2017 WordPress theme.
There you have it! A complete guide to resetting your WordPress installation with the Advanced WordPress Reset plugin. It really does speed up testing if your a web designer or developer. Just be sure you’re using it on a single WordPress installation and remember that it will delete all your content (as we mentioned before – this is best for test environments, for live sites where you want to keep your content the Advanced Database Cleaner plugin is a much better choice) .