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.

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

***

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!

Important 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

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:

How To Reinstall Your WordPress Site

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum

***

Recommended Video Courses For WordPress Users

How To Install, Set Up & Use WordPress MultisiteHow To Install, Set Up & Use WordPress Multisite

Learn how to quickly and securely set up an online community of websites or blogs using the powerful WordPress Multisite feature.

More info: WordPress Multisite

Recommended Video Courses For WordPress Users

How To Set Up WordPress On LocalhostHow To Set Up WordPress On Localhost

Learn how to install, set up, and locally host a fully functioning WordPress site on your computer.

More info: How To Set Up WordPress On Localhost

Recommended Video Courses For WordPress Users

How To Use Amazon S3How To Use Amazon S3

Learn how to set up and use Amazon S3 to upload, store, manage, and protect your site’s images, large media files, downloadable files, stream videos and more.

More info: How To Use Amazon S3

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

Using Password ManagersUsing Password Managers

Password Managers provide an easy and secure way to keep track of all your passwords. This video course shows you how to use two FREE powerful password management tools.

More info: Using Password Managers

Recommended Video Courses For WordPress Users

How To Use FTPHow To Use FTP

This video course shows you how to use FTP (File Transfer Protocol) to transfer and upload files between your hard drive and your server using a free FTP program called Filezilla.

More info: How To Use FTP

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

WordPress SecurityWordPress Security

Learn how to keep your WordPress site or blog secure and protected from malware, hackers and brute-force attacks.

More info: WordPress Security

Recommended Video Courses For WordPress Users

Google ToolsGoogle Tools

This video course will help you learn the basics of using Google Tools like Google Analytics and Gmail.

More info: Google Tools

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Reinstall Your WordPress Site.