How to Fully Reset Your WordPress Website without a Plugin?

Home - WordPress Fixes - How to Fully Reset Your WordPress Website without a Plugin?
Reset WordPress Website

How to Fully Reset Your WordPress Website without a Plugin?

Although it is not always right, you sometimes need to reset WordPress website 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. If your hosting provider providing managed WordPress, start by speaking to your host before reset WordPress website.

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.

Reasons Why You Might Require to Reset your WordPress

Reset WordPress Website

Resetting WordPress means taking back all its databases and files to the default state. Or, initial installation before modification. In fact, it involves the installation of an existing WordPress website from scratch with whatever is available. If you want to develop your WordPress website from scratch, you can make the use of most popular theme builders

Here are some reasons why you might require to reset your WordPress site either fully or partially:

  • To clean out a test installation.
  • Restore the website from your backup.
  • While rebuilding or re-purposing your website.

So, to reset a WordPress website means you uninstall all existing settings and then reinstall original defaults. This requires you to delete everything and start from scratch. But, you might come across a situation that requires you to perform a partial reset. Therefore, it is crucial to know all the steps to help you select whatever you need. 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?

Steps 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, you must 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.

Reset WordPress Website

You can see the list of existing databases here. Although some hosts use a different manner to name their databases, the usual includes the prefix WP in the database name.

Reset WordPress Website

Before anything else, identify your WordPress database. After that, copy and paste the title 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 that you are still on 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.

Reset WordPress Website

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.

Reset WordPress Website

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. You should 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.

Reset WordPress Website

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.

Reset WordPress Website

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.

Reset WordPress Website

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.

Reset WordPress Website

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.

Reset WordPress Website

Your database will be entirely 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.

Reset WordPress Website

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.

Conclusion

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 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.

Share:

Leave A Comment

CLIENTS REVIEWS

Get Instant WordPress Support

Get Instant WordPress Support