How To Reinstall Your WordPress Site

Learn how to reinstall your WordPress site in this step-by-step tutorial.

How To Reinstall Your WordPress SiteThis tutorial is part of our WordPress Management tutorial series. In this tutorial, you will learn how to reinstall your WordPress site.

Disclaimer

This tutorial cannot help you reconfigure your site’s settings if you have not been performing regular data and file backups of your site, but it will show you how to perform a fresh new WordPress installation and how to re-import the settings and content of your last backup.

help To learn more about creating regular WordPress backups, go here:

redarrow How To Perform WordPress Backups

***

How To Reinstall Your WordPress Site

It’s important to know how to reinstall your WordPress site in the event that you cannot get your WordPress blog or website back by reimporting your MySQL data or by re-uploading your backup files.

Reinstalling Your WordPress Site: Step-By-Step Tutorial

How To Install WordPress On Your Domain

If your web hosting service offers cPanel with the Fantastico or Softaculous script installation program, then installing a WordPress site on your domain is a breeze.

If your hosting account does not offer cPanel or have Fantastico installed, you will need to either ask you host provider to install it on your server or install WordPress manually using FTP.

Creating Your WordPress Site Using cPanel And Fantastico

Log into your webhosting account …

WordPress Maintenance Tutorials

If your webhosting account needs to be recreated from scratch, you may need to go into the ‘Email Accounts’ area in the ‘Mail’ section of your cPanel administration area first and set up your email addresses, aliases, forwarders, usernames, passwords, etc. again.

Set Email Accounts

If you need help with this step, see this tutorial: How To Set Up Email For Your Domain Using cPanel

Click on the Fantastico icon in the ‘Software/Services’ section of your cPanel administration screen …

Fantastico Installation Program

Select WordPress from the installation items menu, and choose ‘New Installation’ to set up a new blog on your domain …

Install WordPress

Fill in the installation setup fields as explained below, then click on Install WordPress

WordPress Set Up

  1. Install in directory field:
    • If installing site as the MAIN SITE on your domain address, then leave this field blank.
    • If installing site as a business blog on an existing site, then enter a name for the subfolder where your blog will be installed (e.g. “blog” without the quote marks – your site will then be installed on domain http://yourdomain.com/blog )
  2. Administrator-username field: Choose a login username for your site’s administration area.
  3. Password field: Choose a password for your site’s administration area.
  4. AdminNickname field: Your nickname will appear as the author of all posts added to your site. Tip: Choose a nickname that contains a keyword related to your business. For example, if you own a Golf-related business, you may want to choose a nickname like “Golf Editor”, “Mike’s Golf Store”, “The Golfing Expert”, etc …
  5. Admin e-mail field: Enter your email address here.
  6. Site Name field: What you enter here will appear as the title of your site (e.g. “Mike’s Golf Store” or www.MikesGolfStore.com)
  7. Description field: What you enter here appears below the title of your site. Tip: Create a keyword-rich description that also makes sense to your site’s visitors (e.g. “Discounted Golf Equipment, Golfing Accessories And Gifts For Golfers”
  8. Click ‘Install WordPress’ when ready.

Complete the installation process by clicking the Finish installation button …

WordPress Installation

Choose ‘Send E-Mail’ to email a copy of your installation details to yourself. These details will include your site’s login and password details …

WordPress Installation

To view your new WordPress installation, click on Back to WordPress overview

WordPress Installation

Click on Visit site

WordPress Installation

Your new site will open in a new browser window …

WordPress Maintenance Tutorials

Congratulations … your WordPress site has now been reinstalled!

Useful Info

Note: If you have installed a WordPress site using Fantastico and need to remove your WordPress installation, then log into the Fantastico application via cPanel, click WordPress under the “Blogs” menu, select the installation you want to remove and click remove. This will delete your files and database and allow you to perform a fresh installation …

WordPress Maintenance Tutorials

The next step is to re-import your old WordPress site from your backup files. The backup contains your themes, plugins and custom files and folders.

You can re-import your old WordPress backup files automatically using plugins, or manually (see below).

Reimporting WordPress Backup Files Using cPanel

If your webhosting does not offer cPanel, see “Reimporting WordPress Backup Files Using FTP” below.

If you’re still logged into your hosting account, return to your hosting administration area. The screenshot below shows you how to get back to your main cPanel area from the “Fantastico” panel …

WordPress Maintenance Tutorials

Open up File Manager

WordPress Maintenance Tutorials

Click on Upload

WordPress Maintenance Tutorials

Click the Browse button in the ‘Upload files’ screen …

WordPress Maintenance Tutorials

Locate the compressed backup file you would like to reinstall on your hard drive and click Open

WordPress Maintenance Tutorials

Your file will begin uploading to your server automatically. This may take a few minutes depending on the size of your file …

WordPress Maintenance Tutorials

Wait until the file completes uploading, then close the ‘Upload files’ screen and return to ‘File Manager’ …

WordPress Maintenance Tutorials

Click the Reload button to refresh the ‘File Manager’ screen …

WordPress Maintenance Tutorials

Warning

*** VERY IMPORTANT ***

In order for your new installation to work, you must not delete the new “wp-config.php” file.

If you re-import your old backup file without following the steps below, your old file’s “wp-config.php” will overwrite the new file and you will experience errors with your reinstalled site.

These next few steps are very important. The first thing we need to do is make a backup of the newly installed “wp-config.php” file. This file contains important settings and instructions for your site on how to access your new WordPress database.

If this file is deleted, you will not be able to login to your site. You will have to delete your WordPress installation and start all over again.

Select the wp-config.php file …

WordPress Maintenance Tutorials

Click Download

WordPress Maintenance Tutorials

A pop-up screen will appear. Make sure it is set to ‘Save File’ and click Ok to continue …

WordPress Maintenance Tutorials

Locate the WordPress backup folder in your hard drive and click Save to download your file …

WordPress Maintenance Tutorials

Your new wp-config.php file is now safely backed up.

Return to ‘File Manager’ and select wp-config.php again …

WordPress Maintenance Tutorials

With the wp-config.php file selected, click on Rename

WordPress Maintenance Tutorials

Rename the wp-config.php file to make the file name slightly different. In the example below, we have simply added an “-a” to the file name. Click Rename File to continue …

WordPress Maintenance Tutorials

Now that you have safely backed up and renamed your wp-config.php file, you are ready to continue the process of reinstalling your old WordPress site files.

Select the compressed backup file you recently uploaded and click Extract

WordPress Maintenance Tutorials

When the ‘Extract’ pop-up window appears on your screen, click on Extract File(s)

WordPress Maintenance Tutorials

After all of your files have decompressed, a pop-up window will appear on your screen letting you know the process has been completed.

Click Close to close the ‘Extraction Results’ window …

WordPress Maintenance Tutorials

Click on Reload to refresh the window …

WordPress Maintenance Tutorials

The newly extracted files will replace your existing installation files, effectively restoring your old WordPress site.

All you need to do to complete this process now is delete the file called “wp-config.php” (from your old backup) and replace it with the “wp-config.php” file from your new WordPress installation, which you recently renamed to prevent it from being overwritten.

Select wp-config.php and click Delete

WordPress Maintenance Tutorials

Click Delete File(s) to confirm the deletion …

WordPress Maintenance Tutorials

Select your renamed “wp-config” file (in the example below this file is called “wp-config-a.php”) and click on Rename

WordPress Maintenance Tutorials

Restore the original name of the file to “wp-config.php” and click Rename File to continue …

WordPress Maintenance Tutorials

The last step in this process is to delete your old backup file, as you have now restored your site’s files and you don’t need to keep such a large file sitting on your server.

Select your old backup file and click Delete

WordPress Maintenance Tutorials

Your old WordPress files have now been fully restored.

Important

Once you have reinstalled your old WordPress files, the next step is to restore your site’s previous settings and configurations by reinstalling your old WordPress MySQL database data, as explained in this tutorial.

Reimporting WordPress Backup Files Using FTP

If your web host does not offer cPanel, then you will need to re-import your WordPress backup files using FTP.

First, make sure that the compressed backup file containing all of the files you want to re-import have been extracted into a separate folder in your hard drive. This way, you will not be uploading unrelated files to your server …

WordPress Maintenance Tutorials

Warning

*** VERY IMPORTANT STEP ***

Once you have extracted all of the files from your old backup file, delete the “wp-config.php” file from the folder.

You do not want to upload this file to your server, as it will overwrite the new “wp-config.php” which contains important data and settings about your new WordPress installation …

WordPress Maintenance Tutorials

Your files are now ready for uploading to your server’s WordPress installation directory.

All files in this folder should be uploaded EXCEPT for the original compressed backup file …

WordPress Maintenance Tutorials

Launch your FTP client and connect to your server:

(1) Locate and select all of your backup files (except for the original compressed file as noted above).

(2) Make sure you will be uploading files to the correct directory on your server containing your new WordPress installation.

(3) Upload files …

WordPress Maintenance Tutorials

Your old WordPress files have now been fully restored.

Important Info

Once you have reinstalled your old WordPress files, the next step is to restore your site’s previous settings and configurations by reinstalling your old WordPress MySQL database data, as explained in this tutorial.

Next Step:

Now that you know how to manually reinstall your WordPress site, then next step is to continue learning about WordPress site maintenance:

redarrow Learn How To Automate Important Aspects Of The WordPress Maintenance Process

redarrow Learn How To Manage Multiple WordPress Sites

redarrow Learn How To Troubleshoot Common WordPress Errors

redarrow Learn How To Put The Entire WordPress Maintenance WordPress Together  (WordPress Maintenance Checklist)

How To Reinstall Your WordPress Site

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site and the services and products offered on this site are not associated, affiliated, sponsored, or endorsed by WordPress, nor have they been reviewed, certified, or tested by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, advertised, or reviewed on this site.

Landing Pages for WordPress

***

Did you enjoy this tutorial? Please use the links below to share this tutorial with anyone thinking of starting a business online.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and has authored hundreds of FREE WordPress tutorials for beginners. WPCompendium.org provides detailed step-by-step tutorials that will teach you how to use WordPress with no coding skills required and at minimal cost!

Originally published as How To Reinstall Your WordPress Site.