Hi,
You can reset the WordPress to bring the front and back end of your website to its default state.
Here, the good thing is that you dont even need the access to Admin area to reset the wordpress website customization.
However, to reset your wordpress website, direct access to your files and database is required. This means you’ll need access to the following tools,
– Your File Transfer Protocol (FTP) username and password. (If you are using softwares like Fil zilla)
– Database access, such as through phpMyAdmin or within cPanel. (Most cases you can access this if you have login credentials for your Web Hosting account)
Once you have the above login details, go through the following steps.
STEP 1: DELETE THE DATABASE
Database is where all of your settings and content lives. Deleting the database will completely remove your content and settings from WordPress.
To delete your current database, log into cPanel. From here, you should be able to find your list of MySQL databases under the
Databases > MySQL Databases section:
On this page, you should find a list of your existing databases.
Copy and paste your existing database name into a text file somewhere safe.
After that, you can delete the current database by clicking the Delete button from the Actions column. This will completely wipe out your old WordPress database.
STEP 2: CREATE A NEW DATABASE
Wordpress websites will not be able to load without a database , you wont be even able to access the dashboard without a database.
To create a new database, Go to Create a New Database section. Here, you’ll complete the database name so it matches the old one:
After clicking on Create Database , the page will refresh and you’ll find the name pop up once again under the Current Databases region .
Then , find the Add a User to a Database section . You’ll have to add the old user with its permissions to the newly created database . Select the matching database and username in the drop-down menus and click Add User.
If you can’t find the old user, you may need to create it manually.
You can find the database name, DB_Users_name and DB_Password from the wp-config.php file.
STEP 3: REMOVE UNNECESSARY FILES
Once you remove the Database , you will be still having the old plugins, themes, and uploads you added to the previous website. You need to remove these file to avoid unnecessary bloats in your new website and to ensure a complete reset.
You can delete these via FTP. Log in using your favorite FTP application, and navigate to your WordPress’ root directory under public_html. Find the wp-content folder and navigate inside.
At this point you should see plugins, themes, and uploads folders. You may also see a few others. Select every folder except for themes and delete them all.
STEP 4: RUN THE WORDPRESS INSTALLATION SCRIPT AGAIN
At this stage you have flushed out all the customization and file uploads that created issues. But now, you don’t have a functional website.
You just need to install the WordPress again for your chosen domain.
To do this go to the URL starting with your domain and add /wp-admin/install.php at the end of your domain name.
Doing the above 4 steps should successfully re-install wordpress.