Ever found yourself in a situation where you are trying to update WordPress or plugins, but the result is a white screen of death? Or do you like to try new themes and plugins? Or add custom features to your website and you encountered the same thing?

Regardless of the situation, in the above scenario, a temporary site is the best solution. With a temporary website, you will create an exact copy of the website where you can safely test any kind of changes. These changes will only be visible on the copy of your website, not on the live version. This means you can test without breaking the website.

But how exactly do you create a temporary site for WordPress?

In this article, we will show you five different ways to create a temporary site for WordPress so that you can test changes safely and easily without worrying about breaking your website.

There are many options for setting up a temporary site for WordPress, which we will discuss below. At the end of this article, you will understand the pros and cons of each method so that you can choose the temporary site setup that best suits you.

1. Build a WordPress website through your hosting

The first option to stage a WordPress site is to set it up through your host. Most hosting providers are able to create a temporary environment for your website.

WP Engine staging site

The process is relatively simple and fully integrated into your hosting dashboard. Some popular hosts that offer staging include:

  • Wettable powder engine
  • Kinsta
  • Yundao
  • Blue host
  • site

This method is one of the easiest ways to create and set up a temporary environment because most hosting companies allow you to do it easily with just a few clicks.

Simply enter a name for your temporary website and select the correct domain name of the website for which you want to create a temporary environment.

Once you have created a temporary environment, you can safely test any new updates that WordPress launches, experiment with new themes, test them before installing plugins on your website, and usually do everything without affecting your live website. Kind of change.

If you are satisfied with the changes, in most cases, you can push them to your actual website by clicking a button.

If your hosting company does not provide staging services, please continue reading the other four ways to create staging sites for WordPress.

2. Use the site testing tool to create a temporary site

Another option for creating a temporary site is to use a site testing tool, such as Desktop server or LocalYou will install these tools on your computer, and then you can choose to import your existing website.

Flywheel localization

Essentially, this gives you a local copy of the live website where you can test new themes, redesign the entire website, test plugins and updates without having to make any changes to your website.

For example, to use local to create a temporary site for your WordPress installation, just follow these steps:

  1. Download and install locally on your computer
  2. Use similar tools Back to UPWP Create a backup of your website and store it in Dropbox, Google Drive, or similar devices. If your site is relatively small, you can also choose to email the backup to you.
  3. Download the zip folder of the site backup to your computer
  4. Start Local, and then drag the compressed folder directly to the Local interface
  5. Enter your site name and select your WordPress environment. You can choose the default configuration or enter your own PHP version and server type (if you are familiar).
  6. Wait for the setup process to complete and you will be able to log in to your temporary website.

After making changes or testing new features, you can export your site and manually upload it to your web hosting server. If your site is hosted on WPEngine or Flywheel’s servers, you will be able to push these changes to your live site immediately.

Use local settings for temporary sites

3. Manually create a temporary website

The third way to create a temporary website is to create one manually. Before you start, please note that this process is very time-consuming and there are several ways to do it:

  • Use sub-directories of your live website
  • Create a subdomain of your live website
  • Set up the local server environment, such as WAMP, LAMP and XAMPP

No matter which of these options you choose, the process will be relatively the same.First, you need to use an FTP client to download all files from your real-time website, for example FileZilla. You also need to download the database of your website using the following command phpMyAdmin Or any other database management tool

Use FileZIlla

Then, you need to create a new database and a database user with administrator rights for the new domain, subdomain, or local server.

After completing the database settings, you need to edit the wp-config.php file. Enter the URL and database information of the new server.

Then, you will use the FTP program to upload the files to the new server and import the WordPress database.

Copier free WordPress plugin

Keep in mind that this process may seem daunting, but you can use plugins to make it easier, for example WP migration database or Copier. These plugins will help to copy your website and migrate your database to a staging area. You can also use these plugins to install changes to your live WordPress site.

4. Use the staging plugin to stage a website

Another easy way to stage a website is to use a dedicated staging plugin.There are several options, for example WP staging insert. This plugin can be used for free. Although it does have an advanced version, it provides some additional features, such as the ability to use a separate database, migrate plug-ins to a live website, and so on.

Use WP Staging to set up staging

To start using WP Staging, log in to your WordPress site and navigate to Plugins> Add new. Search for the plugin, install and activate it.

After installing the plugin, you will see the option to create a new temporary website. Click the blue button, and then name the staging site on the next screen. You can also choose which databases and folders should be copied to the temporary website on this screen.

The last step of the process is to press the blue Start cloning Button and wait for the process to complete. After the process is complete, you can log in to your temporary website with the same username and password as your live website.

5. Use a dedicated test account to build a site

Finally, the last way to stage a site may be to set up a dedicated hosting account. This method is similar to setting up a local WordPress installation for your website. Except in this case, you will need two separate domain names and WordPress installation.

You need to set up a new hosting account, then download the website files and database. Then, you will create a new database for the live WordPress website on the hosting server and use the FTP program to migrate the files.

Create a temporary site for WordPress: which method should you choose?

So now that you know five different ways to create a temporary site for WordPress, you may be wondering which method is the best. The easiest way is to use temporary tools provided by the host. This is the fastest way to create a temporary website and push changes to a live website.

If your host does not provide staging tools, the best way is to use plugins like WP Staging to create your own staging site. This is a fairly low-tech method of creating temporary sites. In addition, it will not take a lot of time to set it up.

If you are more tech-savvy, setting up a local temporary site using tools such as WAMP or using a dedicated test account from another hosting company is a good choice. It allows you to better control who can visit your website and what content to copy.

As you can see, there are several different ways to create a temporary website for your WordPress site. However, some methods are better than others. Manually creating a temporary site or using a dedicated test account can be error-prone and time-consuming. Therefore, it is best to use temporary tools provided by the host, use site testing tools or use temporary plugins.

All that’s left to do now is to choose a method and create your temporary site! You can then ensure that changes and updates will not affect your live website. good luck!