Wordpress Tutorial: How To Setup Parmalink For SEO Friendly Web Link | WordPress Trips And Tricks
How to Uninstall and Reinstall WordPress
In this post I have explained how you can uninstall and reinstall WordPress. You will rarely think about uninstalling/reinstalling WordPress on your site unless you start having ‘Apache security mod rewrite and htaccess’ issue like myself. I decided to Reinstall WordPress on one of my sites after trying numerous fixes to solve the issue and getting no result. Some people uninstall/reinstall WordPress to start over from scratch. Anyway, whatever the reason is, you can uninstall and reinstall WordPress using one of the following methods:
Approach 1 (Full Clean Uninstall)
Delete all your WordPress files and folders from the site (usually from your ‘public_html’ directory).
Delete the WordPress database user and table (usually through ‘cPanel’ control panel if your site has ‘cPanel’). Go to the MySQL database section and you can remove the database and DB users from that interface.
Now Install WordPress from the beginning like you did the first time and you are done (How to install WordPress).
Approach 2 (Quick Fix Uninstall)
Delete the WordPress database user and table.
Create new database user and table and update the ‘wp-config.php’ file with the new information (alternatively you can reuse the same user name and table name from previous and you won’t have to update the ‘wp-config.php’ file)
Run the installer (install.php) by visiting your site.
How to Delete the WordPress Files and Folders
You can delete all of your WordPress files using one of the following methods:
Option 1: Log into your site’s cPanel/Control panel and go to the file browser. Find the folder where all the WordPress files are and remove those files.
Option 2: Log into your site using a FTP software (example, FileZiall). Go to the folder where WordPress is installed. Select all the files and folder then hit the delete button then confirm the deletion.
Option 3: If you have shell access to your server then you can log into your server using a SSH client then browse to the folder where WordPress is installed. Now issue the “rm” UNIX command to remove files and folders. This option should only be exercised by advanced users who are familiar with the UNIX system.
If you want to do a full WordPress blog deletion then check our how to delete a wordpress blog tutorial.
Thanks for watching this video. Follow my another videos from here: