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
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.
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.
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.
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.
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
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
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.
All your themes will be deleted, including the current active theme.
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
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
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.
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
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.”
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.
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.
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!
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.