• Start Here
  • Blog
    • Blogging
    • SEO
    • Themes
    • Plugins
    • Hosting
  • Tutorials
    • Create A Website
    • Start A Blog
    • WordPress SEO
    • Speed Up WordPress
    • WordPress Security
  • Tools
    • WordPress Hosting
    • Caching Plugins
    • Security Plugins
    • Comment Plugins
No Results
View All Results
GigaPress
  • Start Here
  • Blog
    • Blogging
    • SEO
    • Themes
    • Plugins
    • Hosting
  • Tutorials
    • Create A Website
    • Start A Blog
    • WordPress SEO
    • Speed Up WordPress
    • WordPress Security
  • Tools
    • WordPress Hosting
    • Caching Plugins
    • Security Plugins
    • Comment Plugins
No Results
View All Results
GigaPress

How To Reset Your WordPress Content And Settings

Brad Merrill by Brad Merrill
0
How To Reset Your WordPress Content And Settings
Share on FacebookShare on Twitter

Do you want to reset your WordPress site to its default state and remove all content and settings? In this tutorial, we’ll cover exactly how to do just that.

Quick Navigation
  • How To Reset WordPress With A Plugin
    • What Happens When You Reset WordPress With WP Reset
  • How To Reset WordPress Manually
    • 1. Delete your old database
    • 2. Create a new database
    • 3. Add your old user to your new database
    • 4. Clean up your files
    • 5. Run the installation script
  • Final Thoughts

There are several cases where you may want to reset your WordPress site. Perhaps you want to repurpose a site and start from scratch, or maybe you have a test/development installation you’d like to clean up.

Either way, resetting a WordPress site involves removing all existing content and returning WordPress to its default settings.

The simplest way to accomplish this is by using a plugin, but you can also do it manually. We’ll outline both methods below.

How To Reset WordPress With A Plugin

The easiest way to reset your WordPress site is by using the free WP Reset plugin.

After installing the plugin, go to Tools > WP Reset in your WordPress dashboard.

From here, resetting your WordPress site is as easy as toggling some options, typing the word “reset” into the confirmation box, and clicking “Reset WordPress.”

Warning: There is no way to undo this action. Once it’s done, it’s done. I strongly recommend making a backup before resetting your site.

What Happens When You Reset WordPress With WP Reset

When you click “Reset WordPress,” the plugin will delete all content from your WordPress database. This includes:

  • Posts, pages, and custom post types
  • Comments
  • Media attachments
  • Users
  • Custom database tables that share the same prefix as your installation (usually wp_)

By default, WP Reset does not change or delete any files.

Your media uploads will no longer show up in the WordPress media library, but the files will remain in your /wp-content/uploads/ folder.

Likewise, your themes and plugins will remain installed, but your site will revert to the default theme and all plugins will be deactivated.

After resetting, the user account that initiated the reset will be restored with the same username and password.

Your site title, WordPress address, site address, site language, and search engine visibility settings will also be restored.

If you want to delete any items that WP Reset does not delete by default, you can click over to the “Tools” tab at the top, which allows you to clear your uploads folder, delete themes and plugins, delete your .htaccess file, and more.

How To Reset WordPress Manually

If you’d prefer not to use a plugin, you can also reset your WordPress site manually.

To do this, you will need to have access to your site files via FTP, as well as database access through your hosting account.

1. Delete your old database

Because WordPress stores your content and settings in a database, the easiest way to reset everything is by deleting the database itself.

Once again, there is no way to undo this, so I strongly recommend making a backup ahead of time, just in case you change your mind.

Log into your hosting account and navigate to wherever you manage your databases. In cPanel, you’ll want to click “MySQL Databases” under the “Databases” section.

From here, identify your WordPress database, copy and paste its name into a safe location (including the prefix), and then delete it:

2. Create a new database

After deleting your old database, you’ll need to create a new one to replace it. You can do this from the same section of your hosting account.

Create a new database, making sure to give it the same name as the old database:

3. Add your old user to your new database

Now it’s time to add a user to your database.

This is really simple because you already have a user from the original database—so you can go ahead and add that same user to the new database:

4. Clean up your files

After deleting and recreating your database, your main content and settings will be gone. However, we still have some old themes, plugins, and uploads to clean up.

Use an FTP client like FileZilla to log in and access your site’s file system.

From your site’s main WordPress directory (usually public_html), navigate to the wp-content folder.

From here, you’ll see a variety of directories for plugins, themes, uploads, and possibly a few others. Select all of these folders except the themes folder, and delete them.

(We’re keeping the themes folder because WordPress needs at least one theme installed.)

Next, navigate to the themes folder. Choose at least one theme you’d like to keep (such as the latest default theme), and delete the rest:

Once you’ve done this, your WordPress site should be back to its clean default state. Now you’re ready to start from scratch!

5. Run the installation script

The final step to get your fresh site up and running is to run the WordPress installation script.

To do this, open up your web browser and add /wp-admin/install.php to the end of your site’s URL. For example: http://example.com/wp-admin/install.php

From here, just follow the prompts to configure your website, and you’ll be back up and running in a matter of minutes.

Final Thoughts

Whether you want to rebuild a website from scratch or clean up a development site, resetting WordPress to its default settings will help you ensure that you really are starting from scratch, leaving you with a nice blank canvas for your next project.

I hope this guide has been helpful! If you have any questions about resetting your WordPress site or removing old content, please feel free to leave a comment below.

Previous Post

Where Are WordPress Posts And Pages Stored?

Next Post

How To Download Your Entire WordPress Media Library

Brad Merrill

Brad Merrill

Brad Merrill is the CEO of Merrill Media and Editor in Chief of GigaPress.

Next Post
How To Download Your Entire WordPress Media Library

How To Download Your Entire WordPress Media Library

No Results
View All Results

Join The Community

Be the first to see the latest WordPress tips, tricks, tutorials, and reviews from GigaPress.

GigaPress is free and reader-supported. When you make a purchase through one of our links, we may receive a commission at no additional cost to you.

Essential Resources

How To Create A Website: Step-By-Step Beginner’s Guide
Tutorials

How To Create A Website: Step-By-Step Beginner’s Guide

December 9, 2020
How To Start A Successful Blog In 2021: The Definitive Guide
Blogging

How To Start A Successful Blog In 2021: The Definitive Guide

December 13, 2020
How To Speed Up Your WordPress Site: The Only Guide You Need
Tutorials

How To Speed Up Your WordPress Site: The Only Guide You Need

April 3, 2020
WordPress Security: The Complete Step-By-Step Guide
Security

WordPress Security: The Complete Step-By-Step Guide

August 13, 2019
WordPress SEO Tutorial: The Complete Guide To Higher Rankings
SEO

WordPress SEO Tutorial: The Complete Guide To Higher Rankings

July 19, 2019

Get The Newsletter

Join our newsletter to get the best WordPress tips and tutorials every week.
    GigaPress

    © 2021 GigaPress
    A Merrill Media Publication

    Site Links

    • Start Here
    • Tools
    • About
    • Contact
    • Privacy

    Follow Us

    No Results
    View All Results
    • Start Here
    • Blog
      • Blogging
      • SEO
      • Themes
      • Plugins
      • Hosting
    • Tutorials
      • Create A Website
      • Start A Blog
      • WordPress SEO
      • Speed Up WordPress
      • WordPress Security
    • Tools
      • WordPress Hosting
      • Caching Plugins
      • Security Plugins
      • Comment Plugins

    © 2021 GigaPress
    A Merrill Media Publication

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Create New Account!

    Fill the forms bellow to register

    All fields are required. Log In

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Session expired

    Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.

    >