How to Uninstall and Reinstall WordPress

Lately, considered one of our customers requested us how they’ll uninstall and reintsall WordPress? Reinstalling WordPress can remedy points when all different troubleshootings ideas fail. On this article, we’ll present you find out how to safely uninstall and reinstall WordPress with out shedding your information or search engine optimization.

How to uninstall and reinstall WordPress

When Do You Have to Reinstall WordPress?

Reinstalling WordPress ought to by no means be the primary choice. Commonest WordPress errors are simply fixable, and it will prevent from the trouble of reinstalling WordPress.

When you can not determine the reason for a difficulty, then observe the directions in our WordPress troubleshooting guide. It’s going to enable you pin-point the problem and discover a resolution.

In case of a hacked WordPress web site, you may strive the information in our information on find out how to clear a hacked WordPress web site.

If all else fails, then uninstalling and reinstalling a contemporary copy of WordPress can be utilized because the final resort.

Step 0. Create an Emergency Backup

Earlier than you do something, it’s best to first create a whole backup of your present WordPress web site. You should utilize a WordPress backup plugin to do that. Just be sure you retailer your backup recordsdata in your pc or a cloud storage service like Google Drive or Dropbox.

We is not going to be utilizing this backup to reinstall WordPress, nevertheless it’s good to have in case one thing goes fallacious.

Step 1. Export Your WordPress Content material

Very first thing you’ll want to do is export your WordPress content material by making a WordPress export file. This file will include all of your posts, pages, classes, tags, and feedback.

Restoring a WordPress web site utilizing this export file lets you miss information created by WordPress plugins.

Right here is how you’d create a WordPress export file.

First, register to your WordPress admin space after which go to Instruments » Export web page. Choose all content material after which click on on ‘Obtain Export File’ button.

Download WordPress export file

If in case you have numerous registered customers in your web site, then chances are you’ll wish to export them too. See our information on find out how to easily import/export users in WordPress.

Step 2. Obtain wp-content Folder

All of your WordPress themes, plugins, photographs, and uploads are saved within the /wp-content/ folder in your web site.

Let’s obtain this content material to your pc, in an effort to use it later to reinstall WordPress.

Hook up with your WordPress web site utilizing an FTP shopper or File Supervisor in cPanel. As soon as related, choose the wp-content folder and obtain it to your pc.

Download wp-content folder

After downloading the wp-content folder, you might be able to uninstall WordPress.

Step 3. Correctly Uninstall WordPress

To uninstall WordPress, you’ll want to hook up with your WordPress web site utilizing a FTP shopper or File Supervisor in cPanel. Then you’ll want to delete all WordPress recordsdata.

You don’t really want to delete your WordPress database. Most WordPress hosting corporations permit you to create as many databases and usernames as you want.

As an alternative of deleting the prevailing database, you may create a brand new one with a brand new username and password.

To create new database, you’ll want to login to your cPanel account and click on on MySQL Databases icon.

MySQL Databases

This can carry you to the add new database web page.

First, you’ll want to enter a reputation in your new database and click on on create database button.

Create a new database

After that, scroll down so as to add ‘MySQL Customers’ part and add a brand new consumer. You will want to enter a username and password, after which click on on ‘Create Person’ button.

Add New MySQL user

Now you’ll want to add the consumer to the database you created earlier. Scroll all the way down to ‘Add consumer to database’ part after which choose the username and database you created earlier.

Add user to database

Click on on the ‘Add’ button to proceed.

Your new database is prepared for use while you reinstall WordPress.

Now that you’ve efficiently uninstalled WordPress, let’s see find out how to reinstall it and restore your web site.

Step 4. Contemporary Set up WordPress

It’s good to obtain a contemporary copy of WordPress from web site.

Download WordPress

After downloading WordPress, you’ll want to unzip the obtain file.

You’ll discover a WordPress folder inside it. Open the WordPress folder, and you will notice all of the WordPress recordsdata.

Now, you’ll want to add these recordsdata to your web site using an FTP client.

Upload WordPress files

After importing the WordPress recordsdata, go forward and go to your web site. WordPress will now ask you to enter your database data.

Add database info

It’s good to enter the title of database, username, and password you created earlier. Your host data will probably be localhost.

As soon as you might be completed filling out the knowledge, click on on the submit button to proceed.

WordPress will now try to connect with your database. Upon profitable connection, it would present you successful message. Now you can click on on the ‘Run Set up’ button to proceed.

Run WordPress installation

Within the subsequent step, WordPress will ask you to supply your web site data like web site title, description, admin e mail handle and password.

Site information

After filling out the knowledge, click on on ‘Set up WordPress’ button to proceed.

WordPress will now end the set up. Go forward and log into the WordPress admin space utilizing the username and password you entered earlier.

As soon as you might be logged into WordPress, you’ll want to delete the default content material.

Head over to Posts and delete the ‘Hiya World’ put up. Go to the ‘Feedback’ part and delete the default remark. Lastly, go to Pages and delete the pattern web page.

You have got efficiently reinstalled a contemporary copy of WordPress.

Now let’s transfer on to restoring your content material.

Step 5. Restore Uploads, Photographs, and Theme

First, you will have to revive your uploads, photographs, and theme situated contained in the wp-content folder you downloaded earlier.

To do this, you’ll want to hook up with your web site utilizing an FTP client and go to /wp-content/ folder.

Subsequent, you’ll want to choose the /wp-content/uploads/ folder out of your pc and add it to your web site.

Upload the uploads folder

If in case you have made modifications to your WordPress theme or child theme recordsdata, then you may add them now. Your theme folders are situated within the /wp-content/themes/ folder.

Step 6. Import Content material

Now let’s import your posts, pages, classes, tags, and different content material.

First, you’ll want to go to Instruments » Import web page after which click on on ‘Set up Now’ hyperlink below WordPress.

Install WordPress importer

WordPress will now obtain and set up the WordPress importer. After that you’ll want to click on on the ‘Run Importer’ hyperlink.

This can carry you to WordPress importer web page the place you’ll want to click on on the ‘Select File’ button after which choose the XML file you downloaded throughout our step 1.

Importing WordPress XML file

Click on on ‘Add file and import’ button to proceed.

WordPress will ask you if you wish to create new authors and assign the posts to them or if you want to assign all posts to your present consumer account.

Import settings

If it’s a single creator WordPress web site, then you may assign all posts to your self. In any other case, do nothing and WordPress will import the authors.

You additionally have to just be sure you verify the field below ‘Import Attachments’. This can permit WordPress to correctly import the photographs in your /wp-content/uploads/ folder to the WordPress media library.

Go forward and click on on the Submit button to proceed.

WordPress will now begin importing content material from the XML file to your contemporary WordPress set up.

As soon as completed, it is possible for you to to see your content material by visiting your web site.

Step 7. Set up WordPress Plugins (One by One)

After efficiently importing content material to your reinstalled WordPress web site, you may transfer on to putting in plugins.

You will want to put in all plugins one after the other after which activate them. You might have to manually setup plugins to regulate their settings.

That’s all, you will have efficiently uninstalled and reinstalled WordPress. Now you can evaluation your web site and setup issues as they have been earlier than like your navigation menus, sidebar widgets, contact kind, and extra.

We hope this text helped you discover ways to uninstall and reinstall WordPress. You may additionally wish to see our final step-by-step WordPress security guide.

Download The WPSaviour App Now

Leave a Reply

Your email address will not be published.

Pay in your preferred currency
Indian rupee