Get FAST WordPress Support
World’s Fastest WordPress Support Since 2009  
Go Up  VIEW SERVICES  
3 Ways To Reset Your WordPress Site

3 Ways How to Reset Your WordPress Site

Suppose you decide to clean your WordPress site and then change your mind later, or you want to switch to a new web host, or want to restore it to a certain date before you started having problems.

Ideally, you’ll have several backups to choose from so that you’ll always have these options.


1. How to Reset Your WordPress Site Manually

The good news is that there are several ways to reset a WordPress site. We’re going to start with the most tedious method first – doing it manually. Even so, this isn’t that difficult. You can get your WordPress site back to factory settings by following just four short steps.

Step 1: Locate Your WordPress Database and Delete It

3 Ways To Reset Your WordPress Site

You can access your WordPress database through your cPanel account. Look for the MySQL Databases option under the Databases section and then find the database that corresponds to your site.

3 Ways To Reset Your WordPress Site

Not sure which one matches your site? Go into your File Manager first and “View” the “wp-config” file in the root folder of your WordPress site. This lists your database name, username, and password. (Write all of this information down to use in Step 2).

Now that you know what you’re looking for, head back to that list in MySQL Databases and “Delete” the database.

Now that you’ve deleted this database, your site won’t work anymore until you complete the rest of the steps.

Step 2: Create a New WordPress Database

Still within the MySQL Databases area in your cPanel, you’re going to create a new database. There should be an option at the top of the screen to do this.

3 Ways To Reset Your WordPress Site

When the box comes up asking for the name, use the same name as the database you just deleted (if you don’t do this, your reset won’t work). Click, Create Database.

Since you didn’t delete your user, it should still be on the list. Scroll down to the “Add User to Database” area and choose the original User and the Database you just created. Click Add.

Step 3: Delete Leftover Files from Your WordPress Site

Access your WordPress site’s files through either FTP or the File Manager in cPanel. This is where you can delete unused themes, plugins, and uploads.

Go into the wp-content directory and click on each folder: plugins, themes, and uploads. Delete everything in those folders except in the themes folder. There, you should leave at least one theme.

Step 4: Reinstall WordPress

You can quickly and easily install WordPress with the built-in script. With this, you can install a fresh version of WordPress through your browser.

3 Ways To Reset Your WordPress Site

To run this, just type in your site’s url and /wp-admin/install.php at the end. This will execute the script and prompt you to answer a few simple questions. Once the installation is complete, you can log in to your dashboard once again.


2. How to Reset Your WordPress Site Using the Command Line

Anyone who is a developer will also be familiar with WP-CLI, which is a command line tool that allows Secure Shell (SSH) access to interact with the platform. Through this access, you can use simple commands to complete some complex tasks.

3 Ways To Reset Your WordPress Site

One thing you can accomplish in WP-CLI is resetting your WordPress site without the manual process we just described. The line to enter is: wp db reset, which prompts a reset. You will still need to clean up your themes and plugins with this method, but it is a good time saver if you have access to this tool.


3. How to Reset Your WordPress Site Using a Plugin

Resetting WordPress doesn’t have to be harder than simply clicking a button. Obviously, you will need a plugin for that. Recently, one of the most popular solutions came in the form of WP Reset – a free plugin specifically designed for the job.

After installing the plugin, it will be enough to access the settings through the Tools section where you will be able to choose what & how to reset. Don’t worry; since the plugin asks for a confirmation, you can’t accidentally reset or delete your site. Still, before doing any changes, we recommend double-checking everything and creating a backup of your site, just in case.

WP Reset comes with several options that allow you to choose if you want to reset your entire site or only parts of it. For example, you can reset (delete) only themes, plugins, transients, drop custom tables or even delete the htaccess file only. It is possible to reset just the theme options or quickly clean up your uploads folder. If you know what you’re doing, these partial reset options will come in very handy. You can even choose if you want to automatically reactivate plugins or the currently active theme; an option which saves time tremendously.

Besides WP-CLI support, developers will love the database snapshot option that allows you to quickly test the current version of the database to an older one. This allows you to see the exact changes a plugin or theme did to your site (everything’s color-coded so the changes are easier to spot). Not only it can be used to identify problematic parts of your site, but it can help you speed it up.

The plugin is regularly updated and maintained so it’s always safe to use. Also, there are a couple of features under development, so don’t forget to check out for future updates.


Conclusion – How to Reset Your WordPress Site

Struggling with a WordPress site that has become buggy can be more than challenging. Fortunately, you can return your website to its original state with a simple reset.

If you’ve been working with WordPress for some time, this will give you a chance to reload some of your favorite plugins and saved content, and get your site back to where it is working for you instead of against you.

Now you know how to reset your WordPress site!

2 Comments

  • Tried resetting manually, but it seemed a lot of work for me (am not that tech-savvy). But the WP Reset plugin you mentioned did a great job, and it took less than a minute to set up everything, thanks for the info!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

QUESTIONS