How to Reset WordPress Website without Any Plugin
In this blog I am going to share with you the best tips on how to reset WordPress website without any plugin.
Although it is not always right, you sometimes need to reset your WordPress to its initial state fully. But, before you get into using a plugin, it is crucial you know the exact meaning of resetting WordPress.
Further, knowing the ins and outs of the WordPress installation assists you in making sure the decisions you make in your development procedure are ideal. In some cases, your chosen reset plugin fails to function as expected. As a result, you will be required to perform the manual clean up. However, knowing how to perform this makes sure you correct the situation within a short time. If your hosting provider is managed WordPress, start by speaking to your host before the reset.
To help you in knowing when and why you need to reset your WordPress, read this article. You will learn all the vital steps to reset your WordPress website manually. You can take the help of WordPress support services.
Reasons Why You Might Require to Reset your WordPress
Resetting WordPress means taking back all its databases and files to the default state. Or, initial installation before modification. It involves the installation of an existing WordPress website from scratch with whatever is available.
Here are some reasons why you might require to reset your WordPress website either fully or partially:
- To clean out a test installation.
- Restore the website from your backup.
- When rebuilding or repurposing your website.
So, to reset a WordPress website means you uninstall all existing settings and then reinstall original defaults. It requires you to delete everything and start from scratch. But, you might come across a situation that requires you to perform the partial reset. Therefore, it is crucial to know all the steps to help you select whatever you require. For instance, you might want to maintain all your downloaded plugins well while resetting your database.
Likewise, you can achieve many manual tasks with the help of plugins such as WP-CLI or Reset WP. Even so, understanding the basics when you are utilizing these tools is good. Imagine using a calculator, but you do not know how long division works? Here we go to have a look on how to reset your wordpress site:-
Steps of how to Reset WordPress Website without Using a Plugin
The reset of your WordPress website comprises of straightforward access to your database and files. In short, start requires you to have some tools and logins. These includes:
- Database access. For example, within the cPanel or via the phpMyAdmin.
- FTP software like FileZilla.
- The username and password of your File Transfer Protocol(FTP).
Nonetheless, if you are undecided about losing all your content and settings, make a full backup of your website. You can use a plugin like UpdraftPlus. Remember to save your backup somewhere off your server, as you will delete everything.
Step 1: Delete the Database
Deleting your database is your initial step. This step is essential because all your settings and content stay there. By avoiding this step, you will get stuck with all you have. Not good when starting from scratch.
All your content and settings get removed forever from WordPress when you delete the database. So, it is important you decide if losing all your data is a non-issue to you before you proceed.
To start, log into your cPanel. After that, go to Databases>>MySQL Databases.
Here, you will see a list of all your existing databases. Although some hosts use a different manner to name their databases, the usual includes the prefix WP in the database name.
Before anything else, identify your WordPress database. After that, copy and paste the name in a safe text file. Now, click the “Delete” button in the Actions column to remove it. As a result, all your old WordPress databases will get wiped completely.
Step 2: Set up a new Database
You need to set up a new database because you have deleted the old one. Remember, your WordPress website cannot load without a database. Further, you cannot access your dashboard to create new content.
Therefore, after deleting your old database, set up another for WordPress by creating one. Keep in mind you are still in the cPanel database page. Thus, look for the “Create a New Database” button. On this page, complete the database name to ensure it matches the one you deleted.
Once you click the “Create Database” button, this page refreshes. In turn, the name will appear again in the “Current Database” section. Look for the “Add a User to a Database” area. You must add the old user with all permissions to the new database. Go to the drop-down menus, and choose the database and username that matches. Next, click the “Add User” button.
However, if you cannot locate the older user, follow the manual process to create it. Doing so is easier, under the “Add a New User” area. It is advisable you use the password and database you had in the older database user. Get these in the wp-config.php file of your site.
To do so, go to your FTP program>> Website’s public_html folder. You will see all the WordPress root files here. Right-click the “wp-config.php” and select “Edit/View” in your FTP program.
You are not required to edit anything when viewing the file. Instead, look for credentials of your old database user in the “MySQL Settings” of the file.
After getting the credentials, use them in re-creating an ideal user in MySQL. Remember to follow the previous instructions and to add the user to the database after creating it.
Step 3: Delete Un-useful files
After cleaning your database, you remain with all uploads, themes, and plugins that you had added to the older website. But, it is recommended you delete them to avoid unnecessary bloat on your new website.
Because your database is now clean, shift your focus on your WordPress files. Many WordPress files do not change between installations. So, all you need to handle are special additions like media, themes, and plugins. All these are in the “WP-content” folder.
Deleting them is possible through the FTP. To do so, log in your FTP app, and go to WordPress’ root directory in the public_html. Look for the “wp-content” folder and click it.
Here, you will see all the uploads, themes, and plugins folders. And, other folders as well. Apart from the themes folder, select all others and delete them.
After that, click the themes folder to open. Decide on the theme you would want to keep. Apart from the theme you have chosen, select the rest, and delete them from your server.
Now, you have cleaned all elements associated with your WordPress website. Your database is empty, and all files were deleted. However, you need to reinstall your WordPress from the start.
Step 4: Run your WordPress Installation Script
Although your WordPress website is now clean, you need to re-run the WordPress installation script for your website to be functional. Otherwise, your site will not be functional without taking this step.
Indeed, you have reverted your WordPress to its default settings. To load the installation script, add /wp-admin/ install.php at the end of your domain name. But, you need to select some settings like new login information and language.
Your database will be empty if you miss this process. Besides that, your WordPress will not be functional if you miss running this script. Click the “Install WordPress” button after filling out the whole form.
In turn, you will get a success message.
You can now access your new WordPress website by clicking the “Log in” button. Now, start working on the entirely clean slate and enjoy it.
Now you have gone through the entire blog on how to reset WordPress website. All resetting WP site is not an exciting task, having the skill is worth for cleaning up of un-useful files, and repairing broken websites. For those using plugins, you get to know to understand what happens in the background.
If you have any questions, comments, or suggestions about how to reset the WordPress website without a plugin, use the comment section, or either you can hire a WordPress expert.