If you are tired of your current WordPress setting and you would like to reset it completely, then you are in the right place. We, here at wpDataTables, think that learning how to reset WordPress is not as difficult as you may consider.
This sort of operation is often required after trying a few plugins which may influence your WordPress settings in an inappropriate way. Resetting the database will help you start clean with what you want.
Table of contents
- Option 1: Advanced WordPress Reset Plugin
- Option 2: Resetting your site with WordPress DataBase Reset
- Option 3: Without using a plugin
Option 1: Advanced WordPress Reset Plugin
The easiest and most efficient way to reset WordPress is by using a plugin, more specifically the Advanced WordPress Reset Plugin. This is a plugin that makes the WordPress reset process very quick and easy, as it cleans out the data related to users, posts, products or other items that might have been added to WordPress initially, as well as the media files that were uploaded on the website and any information such as ratings and comments.
The only thing that this plugin won’t delete is your theme and existent plugins. For theme deletion, don’t forget to look up how to delete a theme in WordPress, as it involves a different process. The themes will be deactivated to completely reset WordPress. With such a plugin, you no longer have to worry about how to reset WordPress. Here are the steps required to use this plugin:
Step 1: installing the Advanced WordPress Reset Plugin
The first thing you need to do to reset WordPress is log in to your account and look for the Plugins option. Once you get there, click on Add New and search for the keywords “database reset”. You will receive a bunch of results from which you need to select the Advanced WordPress Reset one, which is usually the first on the list. Then simply click on Install and Activate.
Step 2: Resetting the WordPress database
Once you installed the WordPress plugin, your WordPress tool list will extend. Go to Tools and look for the Advanced WP Reset option and click on it. You will have to confirm your choice by typing in “reset”. Once you do that, select Reset Database and enjoy the results.
Step 3: Verifying the clean install
After you went through the installation and resetting process, you should check the website and see if everything looks the way it should. When you select Posts, you are going to see the original page that you noticed when you first logged in on WordPress, which is the “Hello World!” default post. The same should go for Pages.
Another great plugin that you can use to reset WordPress is called WordPress DataBase Reset and can be found in the WordPress Plugin Directory. It is a free plugin and it resets the database completely to its defaults. It’s a very convenient plugin for anyone who wants to start fresh. There are a couple of steps you need to follow:
As in the previous case, you need to find the plugin, install it and activate it. Once you do that, the plugin will add an additional menu item to Tools. Once it shows up, select Database Reset. After you click on the option, you need to select the parts you want to reset or to click Select All to perform a complete WordPress reset. You don’t need to know how to reset WordPress because the plugin will do it all for you. If you select just some of the listed tables, the plugin will only delete that part of your WordPress. For instance, you can delete all the comments or all the pages, but not other elements on the website.
The plugin will also ask if you want to remove the theme and plugins completely or if you want them reactivated once the WordPress resent is performed. Most people choose the latter variant. If you want to keep the theme and plugins, check the box that appears and goes to the next step. Confirm your choice by typing in the security code and then select Reset Tables. Once you do that, the WordPress dashboard will be returned to default.
Option 3: Without using a plugin
These steps will help you to learn how to reset WordPress without using a plugin. The first step involves deleting the database. Log into the cPanel of the platform and go to Databases and then MySQL. Once you selected the section, you should be able to see all your databases.
You need to identify your WordPress database and then copy and paste that name somewhere so that you can reach it when you need it. Once you do that, click Delete under the Actions column. This will perform a WordPress database reset.
In the cPanel page, you should be able to see an option named Create a New Database. Click on it and paste here the name of the database you previously saved. Click Create Database and wait for the page to refresh. The Current Databases list should change, including the one you created. Then, select Add a User to a Database.
The newly created database must have a user, so select the matching database and the username in the drop-down menu and click Add User. Navigate to the website’s public_html folder in the FTP program you use and then go to the WordPress root files. Select wp-config.php and choose View/Edit. Make the changes you need.
Once you reached this step, you should navigate to the wp-content folder. You will be able to see the plugins, themes and uploads folders which are related to your database. Select all folders except the one that contains theme and delete them. Go to the themes folder and choose the one theme you’d like to keep for your page. The other themes can be deleted.
The previous steps should have returned your WordPress to its initial state. You need to add one more thing to make it functional. Rerun the WordPress installation script by adding /wp-admin/install.php to the end of the domain name that you use. Select the appropriate options and there you have it – a clean, functional WordPress site.
Ending thoughts on how to reset WordPress
Once you have learned how to reset WordPress, you won’t face any trouble with it in the future. You can use any of the methods listed here to achieve the desired result. It is not a thrilling task, but it gives you something fresh to start with.
If you enjoyed reading this article about how to reset WordPress, you should also read these:
- 504 error in WordPress: How to fix it
- 12 Tips for Creating a Successful WordPress Premium Plugin or Theme
- Custom WordPress Plugins from Creators of wpDataTables