If you have a WordPress installation for testing purposes, or just want to set up your blog again from scratch, you may be wondering how you can reset your website to its original settings.
Resetting your website can be useful if you are testing new plugins and themes, or just want to “have a play” and return WordPress to how it was when you first installed it.
Rather than deleting your installation and re-intalling WordPress, there’s an easier solution, which I’ll walk you through in today’s Weekend WordPress Project.
Resetting Your Site With WordPress Database Reset
WordPress Database Reset is a free plugin available in the WordPress Plugin Directory that lets you reset your database back to its defaults. Since your database contains all of your site’s customizations, this means your site will completely wiped of all its content and you will be left with a fresh install.
After installing and activating the plugin, a new menu item will appear in the admin sidebar, Tools > Database Reset.
You can choose to delete a specific database table, such as your comments or your pages, or just select all of your tables.
Next, type in the generated value into the text field, in this case “6gwkG”, and click Reset Database. You will be returned to the WordPress dashboard with all of your settings back to their defaults.
If you have files such as images on your site, the plugin will not modify these uploads. It only deletes customisations and content, such as pages, posts and comments.