Do you often ask yourself the following question: How to uninstall and reinstall WordPress?

Recently, one of our users asked us how can he uninstall and reinstall WordPress. Reinstalling WordPress can fix issues when all other troubleshooting tips fail.

In this tutorial, we will show you how to uninstall and reinstall WordPress safely without losing your data or your SEO.

If we've never installed WordPress, find out How to set up a WordPress blog in 7 steps

uninstall and reinstall WordPress

When do you have to reinstall WordPress?

Reinstalling WordPress should never be the first option. The most common WordPress errors are easy to solve, which will save you from reinstalling WordPress.

In the case of a website WordPress hacked, there is another procedure you can follow.

If all else fails, uninstalling and reinstalling a fresh copy of WordPress can be used as a last resort.

Step 0. Create an emergency backup

Before doing anything, you must first create a full backup of your website. You can use a plugin WordPress backup to do it. Make sure you store your backup files on your computer or a cloud storage service like Google Drive or Dropbox.

Discover here the best 5 WordPress plugins to save your blog

We won't be using this backup to reinstall WordPress, but it's good to have it in case something goes wrong.

Step 1. Export your WordPress content

The first thing you need to do is export your WordPress content by creating an export file. This file will contain all of your posts, pages, categories, tags and comments.

Restoring a website that uses this export file allows you to leave out the data created by WordPress plugins.

If you have never done import or export on WordPress, discover the 10 WordPress plugins to import or export data

Having said that, we'll show you how to create an export file.

First, log into your WordPress dashboard, then navigate to the " Tools> Export ". Select all the content, then click on the button Download the export file ».

Export content to wordpress

Step 2. Download wp-content Folder

All downloads of your themes, plugins, images are stored in the folder " / Wp-content / From your website.

Download this content to your computer, so that you can use it later for during the WordPress reinstallation.

Discover Some FTP clients for Windows and Mac

Connect to your website using an FTP client or a file manager in cPanel. Once connected, select the folder of " wp-content And download it to your computer.

Download the wp content file

Step 3. Uninstall WordPress properly

To uninstall WordPress, you need to connect to your WordPress site using an FTP client or File Manager in the cPanel. Then you need to delete all the WordPress files.

You don't really need to delete your WordPress database. Most WordPress hosting companies allow you to create as many databases and usernames as you need.

Go Further by Discovering How to Uninstall a WordPress Plugin Correctly

Instead of deleting the existing database, you can create a new one with a new username and password.

To create a new database, you need to log into your cPanel account and click on the MySQL Databases icon.

Create a new database on wordpress

This will take you to the new page of the new database.

First, you need to enter a name for your new database and click on the “Create Database” button.

Create a new cpanel form db

Then scroll down to add the section "MySQL UsersAnd add a new user. You will need to enter a username and password, then click on the " Create a user ».

Create a new mysql user

Now you need to add the user to the database you created earlier. Scroll down to the "Add a user to the database, Then select the username and database you created earlier.

We propose you by the way to discover How to share code snippets on WordPress

Assigning users to a database

Step 4. New WordPress installation

You need to download a new copy of WordPress from the WordPress.org website.

Download wordpress from wordpress.org

After downloading WordPress, you must unzip the downloaded file.

You'll find a WordPress folder inside. Open the WordPress folder and you will see all the WordPress files.

Now you need to upload these files to your website using an FTP client.

Sending files to the server

After downloading the WordPress files, go ahead and visit your website. WordPress will now ask you to enter your database information.

Customize WordPress by also discovering How to remove the mention "Proudly powered by WordPress"

Create a new wordpress installation

From there, you need to restore each item that you backed up earlier.

Make sure to restore everything in the folder " wp-content ". Do not forget to import the backup files of publications and users.

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. WooCommerce Extra Product Options

WooCommerce Extra Product Options is a WordPress extension which will allow you to create additional options on products, thanks to the support of conditional logic. You will also have the ability to create forms, convert attribute dropdowns to radio buttons and more.

Woocommerce extra product options

Among its features we will find among others: the psupport for multiple types of fields, the cprices according to the selected fields, the visual constructor of the form fields, the support of shortcodes, the possibility ofactivate its options for specific roles, thehoix between the increase on fixed or percentage prices, the iimport / export to other forms, the possibility to hide or display prices, the support of theconditional logic on fields and sections in the form constructor, theompatibility with several plugins and eCommerce extensions, a Ddetailed documentation, and Much more …

Download | Demo | Web hosting

2. RnB 

RnB – WooCommerce Rental & Booking is a WordPress Plugin and WooCommerce dedicated to booking and renting on your website. This plugin allows you to sell date or time reservations, and create a new type of product on your website.

Woocommerce rental booking system

It is perfect for those who want to set up a rental, reservation or real estate agency or service. Among its features we will find among others: discounts on the tariff plan according to rental days and months, support for three types of publication, e-mail notification for the order, cancellation or refund process, support for different payment gateways, a billing system, Multilingual support and more

Download | Demo | Web hosting

3. WP-Advanced-Google-Maps

WP Advanced Google Maps is a WordPress Plugin which allows users to display a number of maps on a single page. It supports an unlimited number of maps, locations and markers on your pages.

Wp advanced google maps

In addition, it is possible to add other great features to the web page such as route, shop locator, marker list and marker cluster. The cards you add to the page can be personalized easily.

So much to see... 8 WordPress plugins to improve the SEO of your blog

It also supports an impressive collection of shortcodes which allow adding unlimited number of locations by address, latitude and longitude, etc. 

Download | Demo | Web hosting

Other recommended resources 

Continue to discover other resources ready to assist you in optimizing the functioning of your website.

Conclusion

Here is ! That's all for this tutorial, I hope you can now uninstall and reinstall WordPress. If you have any suggestions or remarks, they will be welcome.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation

Do not hesitate to send us your comments and suggestions in the comments section. Above all, share on your different social networks.

... 

You often ask yourself the question of: How to uninstall and reinstall WordPress?

Recently, one of our users asked us how can he uninstall and reinstall WordPress. Reinstalling WordPress can fix issues when all other troubleshooting tips fail.

In this tutorial, we will show you how to uninstall and reinstall WordPress safely without losing your data or your SEO.

If we've never installed WordPress, find out How to set up a WordPress blog in 7 steps

uninstall and reinstall WordPress

When do you have to reinstall WordPress?

Reinstalling WordPress should never be the first option. The most common WordPress errors are easy to solve, which will save you from reinstalling WordPress.

In the case of a website WordPress hacked, there is another procedure you can follow.

If all else fails, uninstalling and reinstalling a fresh copy of WordPress can be used as a last resort.

Step 0. Create an emergency backup

Before doing anything, you must first create a full backup of your website. You can use a plugin WordPress backup to do it. Make sure you store your backup files on your computer or a cloud storage service like Google Drive or Dropbox.

Discover here the best 5 WordPress plugins to save your blog

We won't be using this backup to reinstall WordPress, but it's good to have it in case something goes wrong.

Step 1. Export your WordPress content

The first thing you need to do is export your WordPress content by creating an export file. This file will contain all of your posts, pages, categories, tags and comments.

Restoring a website that uses this export file allows you to leave out the data created by WordPress plugins.

If you have never done import or export on WordPress, discover the 10 WordPress plugins to import or export data

Having said that, we'll show you how to create an export file.

First, log into your WordPress dashboard, then navigate to the " Tools> Export ". Select all the content, then click on the button Download the export file ».

Export content to wordpress

Step 2. Download wp-content Folder

All downloads of your themes, plugins, images are stored in the folder " / Wp-content / From your website.

Download this content to your computer, so that you can use it later for during the WordPress reinstallation.

Discover Some FTP clients for Windows and Mac

Connect to your website using an FTP client or a file manager in cPanel. Once connected, select the folder of " wp-content And download it to your computer.

Download the wp content file

Step 3. Uninstall WordPress properly

To uninstall WordPress, you need to connect to your WordPress site using an FTP client or File Manager in the cPanel. Then you need to delete all the WordPress files.

You don't really need to delete your WordPress database. Most WordPress hosting companies allow you to create as many databases and usernames as you need.

Go Further by Discovering How to Uninstall a WordPress Plugin Correctly

Instead of deleting the existing database, you can create a new one with a new username and password.

To create a new database, you need to log into your cPanel account and click on the MySQL Databases icon.

Create a new database on wordpress

This will take you to the new page of the new database.

First, you need to enter a name for your new database and click on the “Create Database” button.

Create a new cpanel form db

Then scroll down to add the section "MySQL UsersAnd add a new user. You will need to enter a username and password, then click on the " Create a user ».

Create a new mysql user

Now you need to add the user to the database you created earlier. Scroll down to the "Add a user to the database, Then select the username and database you created earlier.

We propose you by the way to discover How to share code snippets on WordPress

Assigning users to a database

Step 4. New WordPress installation

You need to download a new copy of WordPress from the WordPress.org website.

Download wordpress from wordpress.org

After downloading WordPress, you must unzip the downloaded file.

You'll find a WordPress folder inside. Open the WordPress folder and you will see all the WordPress files.

Now you need to upload these files to your website using an FTP client.

Sending files to the server

After downloading the WordPress files, go ahead and visit your website. WordPress will now ask you to enter your database information.

Customize WordPress by also discovering How to remove the mention "Proudly powered by WordPress"

Create a new wordpress installation

From there, you need to restore each item that you backed up earlier.

Make sure to restore everything in the folder " wp-content ". Do not forget to import the backup files of publications and users.

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. WooCommerce Extra Product Options

WooCommerce Extra Product Options is a WordPress extension which will allow you to create additional options on products, thanks to the support of conditional logic. You will also have the ability to create forms, convert attribute dropdowns to radio buttons and more.

Woocommerce extra product options

Among its features we will find among others: the psupport for multiple types of fields, the cprices according to the selected fields, the visual constructor of the form fields, the support of shortcodes, the possibility ofactivate its options for specific roles, thehoix between the increase on fixed or percentage prices, the iimport / export to other forms, the possibility to hide or display prices, the support of theconditional logic on fields and sections in the form constructor, theompatibility with several plugins and eCommerce extensions, a Ddetailed documentation, and Much more …

Download | Demo | Web hosting

2. RnB 

RnB – WooCommerce Rental & Booking is a WordPress Plugin and WooCommerce dedicated to booking and renting on your website. This plugin allows you to sell date or time reservations, and create a new type of product on your website.

Woocommerce rental booking system

It is perfect for those who want to set up a rental, reservation or real estate agency or service. Among its features we will find among others: discounts on the tariff plan according to rental days and months, support for three types of publication, e-mail notification for the order, cancellation or refund process, support for different payment gateways, a billing system, Multilingual support and more

Download | Demo | Web hosting

3. WP-Advanced-Google-Maps

WP Advanced Google Maps is a WordPress plugin that allows users to display a number of maps on a single page. It supports an unlimited number of maps, locations and markers on your pages.

Wp advanced google maps

In addition, it is possible to add other great features to the web page such as route, shop locator, marker list and marker cluster. The cards you add to the page can be personalized easily.

So much to see... 8 WordPress plugins to improve the SEO of your blog

It also supports an impressive collection of shortcodes which allow adding unlimited number of locations by address, latitude and longitude, etc. 

Download | Demo | Web hosting

Other recommended resources 

Continue to discover other resources ready to assist you in optimizing the functioning of your website.

Conclusion

Here is ! That's all for this tutorial, I hope you can now uninstall and reinstall WordPress. If you have any suggestions or remarks, they will be welcome.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation

Do not hesitate to send us your comments and suggestions in the comments section. Above all, share on your different social networks.

...