{"id":85112,"date":"2018-08-30T03:42:59","date_gmt":"2018-08-30T07:42:59","guid":{"rendered":"https:\/\/www.templatemonster.com\/help\/?p=85112"},"modified":"2020-02-06T06:27:43","modified_gmt":"2020-02-06T11:27:43","slug":"how-to-uninstall-and-reinstall-wordpress","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-uninstall-and-reinstall-wordpress.html","title":{"rendered":"How to Uninstall and Reinstall WordPress"},"content":{"rendered":"<p>This tutorial is going to show you how to uninstall and reinstall WordPress. Re-installation could solve the problem when all other solutions don&#8217;t work.<\/p>\r\n<p>But remember! WordPress install is not the first option to solve all the troubles with the website. Do troubleshooting and website debug first. If it falls feel free to start re-installation.<\/p>\r\n<ol>\r\n\t<li>\r\n\t\t<p>Before doing any updates or re-installation <a href=\"\/help\/wordpress-how-to-make-full-website-backup.html\" target=\"_blank\">backup your website<\/a> first. Save backup files on your computer or upload them to any cloud storage.<\/p>\r\n\t\t<p>Backup files will not be used for reinstall. But it&#8217;s a good idea to have them just in case something goes wrong.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Now you can proceed to the next step, content export. You will be able to restore your posts, pages, categories content from this file.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>Open <strong>Tools<\/strong> > <strong>Export<\/strong> page in your WordPress backend.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Select all the content and click <strong>Download Export File<\/strong> button.<\/p>\r\n\t\t\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t\t<p>The most likely you did some changes or added custom CSS code to your site Customizer. To save those settings we recommend exporting them.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>Navigate to <strong>Appearance<\/strong> > <strong>Customize<\/strong> page in your admin panel.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li><p>Click <strong>Export\/Import<\/strong> tab on the next page.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t<p>Click <strong>Export<\/strong> button to export your website content.<\/p>\r\n\t\t\t\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Content export is ready. You can backup files now. Your theme, plugins, images are located in <strong>wp-content<\/strong> directory on your server.<\/p>\r\n\t\t<p>To be able to use it for reinstall downloads it to your computer.<\/p>\r\n\t\t<p>You can access your site files from FTP or File Manager in your hosting cPanel. Select wp-content, compress and download it to your computer.<\/p>\r\n\t\t\r\n\t\t\r\n\t\t<p>Ready! You can do WordPress reinstall now.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Now you can uninstall your WordPress. To do that connect to your server and remove all WordPress files from your site root directory.<\/p>\r\n\t\t<p>Re-installation requires database removal. But it&#8217;s usually a good decision to create new database for your install. Almost all hosts allow to create multiple database.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>To create a new database login into your cPanel and click <strong>MySQL Databases<\/strong> tab under the Databases section.<\/p>\t\t\t\r\n\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>You will see the new database page. Enter your new database name and click create button.<\/p>\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Scroll to the <strong>MySQL Users<\/strong> section to add new database user. Enter username and create\/generate password. Don&#8217;t forget to click <strong>Create User<\/strong> button to save the changes.<\/p>\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Now you need to assign your database to the newly created user. Do that under the <strong>Add user to database<\/strong> section. Select your database from the first drop-down and user from the second one.<\/p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<p>Click <strong>Add<\/strong> button to save the changes.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Make sure your user has all privileges on the next stage.<\/p>\r\n\t\t\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t\t<p>Database is ready now.<\/p>\r\n\t\t<p>WordPress is uninstalled now. You can do the next step.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>It&#8217;s turn for a new WordPress install.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>Download a fresh copy of WordPress at <a href=\"https:\/\/wordpress.org\/download\/\" target=\"_blank\" rel=\"nofollow\"> official WordPress website<\/a>.<\/p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Unzip downloaded file on your computer. You will see folder titled <em>wordpess<\/em> inside unzipped package. You will need to upload files from that folder to your site root directory.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Wait while all files are uploaded and visit your website. WordPress will ask you to enter database configuration details.<\/p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<p>Fill in requested info:<\/p>\r\n\t\t\t\t<ul class=\"list\">\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<p>database name;<\/p>\r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<p>database username;<\/p>\r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<p>password;<\/p>\r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<p>database host (the most likely it&#8217;s localhost).<\/p>\r\n\t\t\t\t\t<\/li>\r\n\t\t\t\t<\/ul>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p> Once you are done filling database details click <strong>Submit<\/strong> button. You will see successful message on the next screen. Click on <strong>Run Install<\/strong> to continue install.\r\n\t\t\t\t<\/p>\r\n\t\t\t\t<p>If any errors on this step please contact your hosting provider. Ask them to give you valid database info.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Now provide with information line site title, admin panel username and password, email address and click <strong>Install WordPress<\/strong> button to initialize WordPress installation.<\/p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>You can log into your WordPress backend now using details you entered earlier. WordPress re-installation is ready. Now we will re-import site content<\/p>\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>First, you need to restore theme and plugins. To do that connect to your server from FTP or File Manager in your cPanel. Go to <strong>wp-content<\/strong> directory.<\/p>\r\n\t\t<p>Next, you need to upload theme, uploads and plugins folders from backup pack to your wp-content directory. Overwrite files that are in your wp-content directory.<\/p>\r\n\t<\/li>\r\n\t<li>\r\n\t\t<p>Now, let&#8217;s import site content.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>Open <strong>Tools<\/strong> > <strong>Import<\/strong> page. Click <strong>Install Now<\/strong> under the <strong>WordPress<\/strong> title.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Click <strong>Run Importer<\/strong> link next.<\/p>\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Upload your WordPress eXtended RSS (WXR) file and we\u2019ll import the posts, pages, comments, custom fields, categories, and tags into this site. Choose a WXR (.xml) file you exported earlier to upload, then click Upload file and import.<\/p>\r\n\r\n\t\t\t<\/li>\t\t\t\r\n\t\t\t<li>\r\n\t\t\t\t<p>It will ask if you want add more authors to the site. If it&#8217;s one author on the website you can leave it as it is. WordPress will import the authors. Click <strong>Continue<\/strong> button.<\/p>\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Now you will see WordPress page with the imported content. Wait while all the content is imported and check your site.<\/p>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t\t<p>Remember about the Customizer content we exported. It&#8217;s time to import it now.<\/p>\r\n\t\t<ul class=\"list\">\r\n\t\t\t<li>\r\n\t\t\t\t<p>Open the same <strong>Appearance<\/strong> > <strong>Customize<\/strong> page in your backend.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Select <strong>Import\/Export<\/strong> tab on the next screen.<\/p>\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Click <strong>Import<\/strong> to import the customization settings for this theme.<\/p>\t\t\t\r\n\t\t\t\t\r\n\t\t\t<\/li>\r\n\t\t\t<li>\r\n\t\t\t\t<p>Wait while settings are imported and check your site.<\/p>\r\n\t\t\t<\/li>\r\n\t\t<\/ul>\r\n\t<\/li>\r\n<\/ol>\r\n<p>We hope this article was helpful. More tips are coming.<\/p>\r\n<p>If you are looking for more website building options, check out <a href=\"https:\/\/www.templatemonster.com\/wordpress-themes.php\" title=\"WordPress Themes\" target=\"_blank\">WordPress Themes<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to uninstall and reinstall WordPress. Re-installation could solve the problem when all other solutions don&#8217;t work.<\/p>\n","protected":false},"author":55,"featured_media":85129,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2017,728],"tags":[2086,875],"class_list":["post-85112","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monstroid-tutorials","category-wordpress-tutorials","tag-re-install","tag-uninstall"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/85112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=85112"}],"version-history":[{"count":18,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/85112\/revisions"}],"predecessor-version":[{"id":86313,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/85112\/revisions\/86313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/85129"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=85112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=85112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=85112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}