PHPMatters Help You Better Hosting Your PHP-based Sites
How to Reset WordPress to the Default Configurations

How to Reset WordPress to the Default Configurations

There must be a lot of reasons for you to bring your WordPress site back to the most basic and default settings. For instance, you set up your website on the local server for the testing purpose and want to reinitialize it, or, you just want to remove all the existing contents and data for setting up the site again from scratch.

The reasons for doing so are various, and you also can choose among a lot of methods to achieve this goal. In the following, we have listed two commonly used options that help you reset WordPress to the default configurations easily.

Method 1 – Reinstall WordPress Totally

This is a manual method to reset your WordPress site, which requires you to finish 3 steps in total. Firstly, you should delete all the data and information stored in your MySQL database. For doing so, you can leverage the tool of phpMyAdmin. After entering it using your login information, you can click your current database in the left sidebar, and then, delete all the tables by clicking the Empty or Drop button.

Delete Database in phpMyAdmin

Also, if your web host offers the cPanel control panel, you can enter it and click the MySQL Database icon directly from the Databases section. After that, you can find your current database in the bottom area. Simply click the Delete button.

Delete Database in cPanel

Even, you can choose to make use of the plugin of WordPress Database Reset, with which you can reset the WordPress database back to the default settings only via the simple clicks.

Now, you can click the Tools tab in WordPress admin panel, and then, press the Database Reset button. Here, you can choose the database tables that you want to reset. Surely, you’d better hit the Select All button. After that, you need to enter the security code into the below field. This can prevent you from accidentally destroying your database. Then, you can press the Reset button.

Reset Tables Button

After deleting your database, you now should remove all the files of your WordPress site. This can be done with the help of the FTP client or the File Manager Tool included into the cPanel control panel. No matter which option you choose, you should go into the root folder where the WordPress script is installed. After that, you need to select all the available files and folders for deleting.

Now, you simply need to install WordPress from the scratch as you have done in the first time.

Method 2 – Leverage the Power of WordPress Reset Plugin

If you do not want to go through several steps to reset your WordPress site, you can also take advantage of this WordPress Reset plugin, which deletes all the contents and customization automatically. Personally speaking, this plugin is pretty useful for theme and plugin developers bearing the testing purpose.

To use it, you do not need to take any configuration, but directly click Tools > Reset in the admin bar. After that, you can type the word of “reset” into the confirmation field to confirm this practice, and then, hit the Reset button.

WordPress Reset Plugin

Note that once the process is done, your admin will be created along with the current email address and password. In this case, if you want to change them, you should do manually.