How to Quickly Reset Your WordPress Website (Including Multisite)

How to Quickly Reset Your WordPress Website (Including Multisite)

Life has no CTRL+Z, but thankfully, your WordPress site does. Whether you want to test various themes and plugins quickly, or you just want to wipe the slate clean and start over, resetting your WordPress site is the way to go.

Deleting WordPress and re-installing it is such a hassle. Why not hit the reset button instead and return it to how it was when you first installed it?

In this post, I’ll show you how to reset your WordPress site in a few simple steps.

The second half of the tutorial will cover how easy it is to reset your WordPress site with a single-click on our Hosting, even if it’s a Multisite. This solution is particularly helpful for everyone, since the free reset plugins don’t work with WordPress Multisite installations perfectly.

Ready. Steady. Let’s Go.

Still having trouble resetting your WordPress site after reading this post? Let our experts help! Big or small, our awesome support team can help you with any WordPress issue — and for FREE! Whether it’s Monday lunchtime or peak party hours on the weekend, our team is available 24/7.

Prefer a video instead? We have you covered.

How WordPress Works

Before we discuss the solution, let’s understand how WordPress works. You can, of course, skip this section and head to the solution right away, but I suggest you to stay a bit.

WordPress is a series of files on your server working in tandem with a database (MySQL or MariaDB) to store and retrieve information.

By default, every WordPress installation is tied to a single database on your web host. This database stores all the information of your WordPress site: settings, blog posts, pages, comments, usernames, passwords, links to files and where to find them, etc.

All this information is stored as values under distinct tables in the database.

Think of a database as a huge box with multiple books inside it, aka tables. And each book stores particular information, like comments or settings. And each entry in the book is a value, like your username, email, etc.

If you could reset all the tables in the database to their initial values, aka erase all the pages of all your books, you’d essentially be resetting your WordPress installation.

But this won’t delete the files you’ve uploaded or downloaded to your WordPress site, such as media, themes, plugins, etc. However, most WordPress plugins do provide an option to delete these files, either selectively or all of them.

Now that the theory class is over, let’s move ahead with the practicals!

How to Reset a WordPress Site
(Standalone Installations)

Step 1: Install and Activate the WP Reset Plugin

The first step is to go to your WordPress Dashboard > Plugins > Add New, search for WP Reset plugin by WebFactory Ltd., and then click Install Now and Activate it.

WP Reset Plugin Download Page Screenshot
You can also download and install the plugin manually.
Screenshot showing How to Install and Activate the WP Reset Plugin

If you’re wondering why I chose this plugin over others, it’s the highest rated WordPress reset plugin with the most number of installs. It’s well-supported by its developer with regular updates, and it’s totally free!

Step 2: Go to WP Reset Dashboard

Next, go to Tools > WP Reset to open the WP Reset dashboard.

The WP Reset Dashboard, it's warning users what will be deleted and what not on resetting WordPress

You’ll be presented with a warning here saying that resetting will delete all your site’s posts, pages, custom post types, comments, media entries, users, and all the default WP database tables.

However, your media files, plugins, themes, any other uploads, your site’s settings, the current logged in user, they will all remain as is.

You should keep in mind that the media files, though still present on your server, will not show in your media library after the reset. We’ll cover how to delete them quickly later.

Step 3: Hit the Reset Button

Scroll down to the last section in the WP Reset dashboard called Reset.

Now, before you type in “reset” and hit the Reset WordPress button, in the section above Reset, you’ll find the Post-reset actions section.

Here, you can instruct WP Reset to Reactivate the current theme (off by default), Reactivate the WP Reset plugin (on by default), and Reactivate all currently active plugins (off by default).

I’ll go with the default options, but if you plan to install the same theme and plugins later, and just want to reset all the other content, checking these options here will save you time later.

Warning: You need to take note that this is 100% destructive. It will wipe out your current WordPress site completely, and there’s nothing you can do to get it back. THERE is NO UNDO! Unless, you’ve taken a backup of your site. If you haven’t, I recommend it highly. You can use UpdraftPlus or Snapshot Pro to do the same.

You can reset your WordPress website in just 3 seconds with WP Reset
3…2…1… Reset. And we’re done. It’s that simple!

Cleaning Your Old WordPress Files

The Reset WordPress button is great to restore your site’s database to its initial condition. This ensures that your WordPress installation is back to its shiny new self. But it doesn’t clear out all your site’s old files.

To help you with performing a clean wipe, WP Reset comes with additional Tools in a separate tab.

Warning (Again): WP Reset is not a backup plugin. There is no CTRL+Z. Proceed with extreme caution if you haven’t taken any backups.

Delete Transients

Delete all transients of your WordPress site

Transients are WordPress options with an expiration time. They help with speeding up your site and/or reducing stress on your server’s resources. Transients are perfectly suited to act as a cache for the right type of data. This option deletes all transient related database entries, including expired, non-expired, and orphaned transient entries.

Clean Uploads Folder

Delete all files and folders of your WordPress site's Upload folder

All the files in your /wp-content/uploads folder will be deleted, including any subfolders and files in them. Media entries files will be deleted too.

Reset Theme Options

Reset your WordPress site's theme options

This option will reset settings for not just your active theme, but all your installed themes. However, for this option to work, the theme should be using the official WordPress theme modification API. If the theme developer is using some custom methods to save the theme options, this won’t work.

Delete Themes

Delete all the themes in your WordPress site

All your themes will be deleted, including the current active theme.

Delete Plugins

Delete all the plugins in your WordPress site

This option with delete all plugins except for WP Reset, which will remain active after all the other plugins are deleted.

Empty or Delete Custom Tables

Empty or delete all the custom tables in your WordPress database

If you have any custom tables in your database with wp_ prefix, this option will either empty or delete them. Emptying (truncating) removes all content from the tables, but keeps their structure intact. Deleting (dropping) removes the tables completely from the database.

Delete .htaccess File

Delete the .htaccess of your WordPress installation

This action deletes the .htaccess file located in your WordPress installation’s root folder (not recommended unless you know what you’re doing). If you just want to edit the .htaccess file from your dashboard, you can use the free WP Htaccess Editor plugin from the same authors. Plus, it automatically creates backups of your .htaccess file as you edit it.

Advanced WordPress Reset with WP-CLI

All the tools available via the WP Reset plugin interface can also be executed quickly with WP-CLI. Run wp help reset to get a list of the commands available.

Using WP Reset through WP-CLI command line interface

Additional help for every command is available via the default WP-CLI help interface. All your actions have to be confirmed for the sake of security.

If you want to skip confirmation for the commands, use the --yes option. Bear in mind though, as with GUI, there’s no going back here too!

How to Reset WordPress Multisite

There’s no free plugin, including both the highly rated WP Reset and Advanced WordPress Reset, which reset WordPress Multisite installations perfectly.

In a WP Multisite setup, WP Reset plugin disables itself in the Network Admin dashboard. This is to prevent unnecessary harm to the entire Multisite network, since it’s not tested to work with it.

WP Reset has yet to be completely tested with multisite! Please be careful when using it with multisite enabled. We don’t recommend to resetting the main site. Sub-sites should be OK. We’re working on making WP Reset fully compatible with WP-MU. Till then please be careful.” – WP Reset Team

WP Reset is not totally compatible with Multisite

WPMU DEV Hosting to the Rescue

When you give WPMU DEV Hosting the go ahead to convert your standard WordPress installation to a Multisite network (WP-MU), he automatically takes a backup of your complete site.

Very smart indeed!

You can identify this backup by its Type value “Pre-Convert to Multisite.”

The WPMU DEV Hosting Dashboard

Thanks to this backup, you can reset your WordPress Multisite to how it was before. I recommend you to take a New Backup before you restore the old backup, just in case you change your mind and want to go back.

To reset the WordPress Multisite, click on the three dots icon on the far right end of the backup listing, and then select Restore from the dropdown menu.

Restoring backups at the click of a button in WPMU DEV Hosting

And………tadaaaa!!! Your WordPress Multisite is revived as a single entity. As long as you have a backup, you have unlimited lives to play out this game!

Subsite Resets in a WordPress Multisite

What if you don’t want to reset the entire WordPress Multisite network, but just one of the subsites on it? You have two options here:

1. Complete Reset: Delete the subsite and re-create it with the same name. Not only will your subsite be as good as new, you’ll also delete all its media, themes, plugins, and any other uploads. In other words, a total reset of your subsite.

Resetting a Single Subsite on WordPress Multisite network by deleting and recreating it

2. Database Reset: Use a plugin such as WP Reset to restore the subsite to its initial state. You’ll have to follow the same instructions as you would with a standalone WordPress installation. With this method, you won’t lose the subsite’s files. However, just like with resetting non-WP-MU sites, the media won’t be visible in your subsite’s media library after the reset.

Fret not! You’ll still have the option to delete them all, under WP Reset > Tools tab. Do note that the WP Reset team suggests “We don’t recommend to resetting the main site.” It’s up to you though. As long as you have a reliable backup and are willing to take a risk, it’s worth it!

WP Reset says that "we don't recommend to resetting the main site. Sub-sites should be OK."

Warning (Yet Again): Take backups before you try to reset anything. I can’t stress this enough.

Live. Die. Reset.

Debugging WordPress is hard, time-consuming, and often frustrating. It can take hours to find, test, and fix even the smallest bugs. Resetting your WordPress installation with just a single click makes your life easier, so that you can test and debug various themes and plugins quickly and efficiently.

WPMU DEV’s Fully Managed WordPress Hosting is made by developers for developers. No bloat or fluff added. Just the tools you need to get your job done without pulling your hair out.

Also, it’s the closest you’ll come to feeling as badass as Tom Cruise, unless you’re actually Tom Cruise. In that case, we can definitely fulfill your need for speed, should you choose to accept this mission.

Tags:
Salman Ravoof
Salman Ravoof A self-taught web developer, writer, and creator. He finds science, philosophy, technology, and food exciting. When he's not busy exploring the dankest memes on the web, he can be found petting cats and cooking delicious meals. And sleep, lots of it!
Have you successfully reset your WordPress website? Did you have any issues doing it? Any troubles with resetting a WordPress Multisite network? Hit us up in the comments below. We'll be happy to help!