Sometimes, the best possible move is to start over from zero, and that holds true even for WordPress websites. In some cases, simply starting from scratch will be much easier than reworking your site. However, the bad news is that WordPress doesnβt include a way to start over by default.
Fortunately, there are a few ways to return your website to its original state manually. In this article, weβre going to talk about why you may want to reset your WordPress website, then teach you three ways to do it. Letβs take it from the top!
When Itβs a Good Idea to Reset Your WordPress Website
Everything that happens on your WordPress website gets recorded into its database. Resetting your website, therefore, is akin to cleaning out all of the recordsΒ in the database β which means you get to start with a clean slate.
Itβs not actually common to reset your WordPress website. However, there are plenty of situations where itβs warranted, for example:
- You want to rebuild or repurpose your website. If you want to pull the plug on one of your sites, you can still use the installation for a new project.
- If you canβt access your website and want to restore it from a backup. In some cases, you may get locked out of WordPress due to an error or a security breach. To fix things, you can roll your installation back to an earlier state, but youβll need to access it first β something you can do after resetting it.
- To clean up a test installation. If you regularly use either local or online WordPress setups for testing purposes, youβll want to clean up after your experiments by resetting your setup.
In any case, itβs always a good idea to create a backup of your website before resetting it, even if youβre confident about your decision. You may change your mind at some point, or perhaps need to access some of the information you deleted. If that happens, youβll be glad to have a backup ready. Although to be fair, you shouldΒ alreadyΒ have multiple backups of it, unless you like to live on the edge!
How to Reset Your WordPress Website Using the Advanced WordPress Reset Plugin

Despite what its name would imply, plugins donβt get much easier to use than Advanced WordPress Reset. As you recall, we talked about how resetting your website equals wiping its database clean, and thatβs exactly what this tool does.
Whatβs more, itβs very quick and easy to use, which is our primary reason for choosing it. To reset your website, install and activate the plugin, then look for the newΒ Advanced WP ResetΒ tab underΒ ToolsΒ on your WordPress dashboard:

From here, simply typeΒ resetΒ into the only field in the page (to avoid accidents) and click onΒ Reset database. You wonβt see a confirmation message, but once you click on any of the other tabs on your dashboard, youβll need to log in again, as your admin user has now been deleted and recreated.
Itβs worth noting that this particular tool doesnβt remove your plugins or themes. Youβll need to go through both relevant tabs to deactivate and delete those you donβt want to keep. When thatβs done, your website will be back to its original state.
How to Reset Your Website Using the WordPress Command Line (WP-CLI)

If youβre a developer, youβre probably familiar with WP-CLI. Itβs a tool that enables you to interact with the platform using the command line via Secure Shell (SSH) access. More importantly, it enables you to carry out complex tasks using simple commands.
For example, WP-CLI users can reset their WordPress websites without having to install a plugin or do the process manually. While weβll leave the installation to our previous piece (as it can be complex), once youβre ready, youβll only need to enter theΒ wp reset database command to carry out a reset.Β Of course, youβll still need to clean up your plugins and themes as with the last method. However, itβs a great time saver if youβre already a WP-CLI user.
How to Reset Your WordPress Website Manually (In 4 Steps)
Plugins arenβt necessary for resetting your site. In fact, it can be done manually in four short steps. Letβs take a look!
Step #1: Access Your WordPress Database and Delete It
In most cases, your web host will enable you to access your database through your cPanelΒ account (or a similar method). With that in mind, log into your cPanel now and look for theΒ MySQL DatabasesΒ option under theΒ DatabasesΒ section:

Click on it, and look for your WordPress database in the list. In most cases, it will start with theΒ wpΒ prefix, although this may change depending on your security practices or your web hostβs settings:

Once youβve identified your database, take note of its name, then click theΒ DeleteΒ button under Actions. However, donβt try to access your site again just yet. Weβre going to need to create a new database to replace the old one, and your website wonβt work until thatβs done.
Step #2: Create a Brand New WordPress Database
At this stage, you should still be within cPanelβsΒ MySQL Databases tool. At the top of the page youβll see an option to create a new database. Keep in mind that for this to work, you have to use the same name of the database you just deleted (which you hopefully copied earlier!):

Type it into the relevant field, click onΒ Create Database,Β and itβll be added to the main list at the bottom of the page. Now you need to recreate your admin user by scrolling down to theΒ Add User to DatabaseΒ section of the page. There youβll see two lists: one enabling you to choose from existing users, and another to indicate which database to add them to:

IfΒ you canβt find your user here, youβll need to add it manually to your new database by scrolling up to the Add New UserΒ menu:

Remember that you need to use the exact same username and password your old database had, otherwise yourΒ wp-config.phpΒ file wonβt recognize the new database. If youβre unsure of your credentials, you can find out by openingΒ wp-config.phpΒ using an FTP client, such as FileZilla.
Just log into your website via FTP and access your WordPressΒ rootΒ folder, which should be called eitherΒ public_html, www,Β or named after your site. Inside youβll find theΒ wp-config.phpΒ file. Right-click on it and choose theΒ View/EditΒ option:

This will open the file using your default text editor. Donβt change anything once youβre in, just look for your databaseβs username and password. If you have problems finding them, look for the comment that readsΒ /* * Β MySQL Database Username Β * / (both values will be right below). Once you have them, return to your cPanel and use the credentials to recreate your old admin user.
Your database should now be ready, but we still have one step to go before you can enjoy your βbrand newβ WordPress website.
Step #3: Delete Any Leftover Files on Your Website Via FTP
Similarly to the first two methods, creating a new database doesnβt delete your WordPress plugins and themes. To do that, youβll have to remove the files manually, and we recommend using FTP for this step.
Return to your WordPressΒ rootΒ folder and look for theΒ wp-contentΒ directory. The three folders weβre looking for are inside β plugins, themes, and uploads:

You can safely deleteΒ allΒ of them except forΒ themes. Here, youβll want to leave at least one theme folder inside, so WordPress can load it in a moment. When youβre done, pat yourself on the back. The hard work is done, and all thatβs left now is to inaugurate your site.
Step #4: Execute the WordPress Installation Script
The WordPress installation script enables you to configure your WordPress setup through your browser. To run it, youβll have to appendΒ /wp-admin/install.phpΒ to your siteβs primary URL.
That will execute the script, which will ask you to fill in a few simple details such as your siteβs language, and your admin credentials. This step is critical if you want your website to work, since the database we created earlier is still bare. If you donβt run the installer, it wonβt have the tables it needs for you to use WordPress.
After the installation process is complete, youβll be able to log into your dashboard as normal and get back to working on your website.
Conclusion
Resetting your WordPress website is a drastic move, but itβs often your best option. For example, if you want to repurpose your site entirely, it makes sense to start over with a blank slate. If you keep a local website around for testing purposes, itβs also smart to reset it now and then. That way, youβre working within a clean environment.
The easiest way to reset your website is by using a plugin such as Advanced WordPress Reset. However, you can also do it manually following these steps:
- Access your WordPress database and delete it.
- Create a brand new WordPress database.
- Delete any leftover files on your website via FTP.
- Execute the WordPress installation script.
Do you have any questions about how to reset your WordPress website? Ask away in the comments section below!
Article thumbnail image by Nakigitsune-sama / shutterstock.com.

The methods you list here are no doubt helpful and bring new ideas. IMO, using a plugin is the safest because developers know how to avoid mistakes while with newbies, there is always a chance of a typo and in php you could easily flush yourself out. Though, I always kept the file manager running through cPanel (I find filezilla very scary to work with) so that I can easily copy all before working and paste if something went wrong.
I like your way of writing and looking for more. Thanks John!
You’re welcome, Milind! Thanks for sharing your thoughts. π
Looks like E.T. are upping their game! Thanks for the post, well written and a very useful subject. You could have stuck at the plugin but chose to give us a much more rounded and better version that can help new developers learn a little more, which I see a lot of value in. Thank you…
You’re welcome! We’re glad you enjoyed the post so much. π
Good explanation, comparing methods! Thanks, John.
Hi Doug, you’re welcome! π
Hmm, thanks for that plugin method, wasn’t aware of that. I have tried the other methods you specified above.
You’re welcome, Aman! Thanks for your comment. π
Sounds simpler to just wipe the files and db and install a fresh copy.
Takes a few minutes.
I used Advanced WordPress Reset Plugin for this. Quick and simple.
You can also keep your database and just remove all the files in your domain directory and install a fresh copy with a new database. Once the installation is complete, link your old database with this new installed wordpress. That’s it.
use of a plugin is instant though. Less than 10 seconds.
Great and unique post I have seen about wordpress on the internet.
Can we use this reset option if we loose admin access due to a fatal error?
Hi Vistor, thanks! It would depend on the specific error, but it’s certainly possible.
No, get more best way. Only 1 step. Simply change prefix of tables in wp-config from wp- to other
Hi.
If I have revisions disabled. Do any changes to pages record in my database?
Thanks
No.