---
title: "How to use WordPress staging environment"
canonical_url: "https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/"
post_type: "ht_kb"
published: "2023-07-07T10:09:32+00:00"
modified: "2026-02-13T10:21:32+00:00"
language: "en"
author: "Maris Ringvee"
taxonomies:
  ht_kb_category:
    - name: "Wordpress"
      url: "https://www.zone.lv/help/kb-categories/wordpress-en/"
    - name: "Zone+"
      url: "https://www.zone.lv/help/kb-categories/zoneplusen/"
  ht_kb_tag:
    - name: "staging"
      url: "https://www.zone.lv/help/kb-tags/staging-en/"
    - name: "testing"
      url: "https://www.zone.lv/help/kb-tags/testing/"
    - name: "wordpress"
      url: "https://www.zone.lv/help/kb-tags/wordpress-en/"
    - name: "zone+"
      url: "https://www.zone.lv/help/kb-tags/zone-en/"
---

# How to use WordPress staging environment

## Introduction

It is possible to set up a test environment for WordPress. This involves creating a copy of the application that is connected to the main application, allowing for data and file synchronization between the two environments.

## Setting up a test environment

First, open the [`Zone+`](https://my.zone.lv/dashboard/en/zoneplus) menu at the top and navigate to the applications section. Look for the appropriate WordPress application to create a testing environment for. In the application view, click on the `Settings` button.

[![](https://www.zone.lv/static/sites/5/wordpress_staging1-1024x587.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging1/)

On the opened page, select `Staging Environment` and click on `Configure Test Environment`.

[![](https://www.zone.lv/static/sites/5/wordpress_staging2.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging2/)

[![](https://www.zone.lv/static/sites/5/wordpress_staging3.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging3/)

On the page that opens for application copying, `Staging Environment` should be selected as the copying type. In the drop-down menu `Domain / subdomain` choose where you want to install the copy of the main application. The `Path` field can be left empty by default, but you can use it if you want to install the copy in a subdirectory. Below, there is an option to restrict access only to your IP address. IP-based restriction can also be set up and modified after creating the testing environment.

[![](https://www.zone.lv/static/sites/5/wordpress_staging4-1.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging4-1/)

## Synchronisation

Once the testing environment is set up, you have the option to synchronize one environment with the other. To do this, open `<a href="https://my.zone.lv/dashboard/en/zoneplus">Zone+</a>` and click on `Settings` -&gt; `Staging Environment` for either the main application or the testing environment application.

In the opened view, you can copy in both directions: from the testing environment to the main application and vice versa.

[![](https://www.zone.lv/static/sites/5/wordpress_staging5.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging5/)

Starting the synchronization process opens a window where you can specify whether you want to overwrite only files or also databases. It is also possible to create a backup of the application to be overwritten for security purposes before synchronization, which can be used to restore the overwritten application.

[![](https://www.zone.lv/static/sites/5/wordpress_staging6.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging6/)

## Snapshots

Previous snapshots before synchronization can be viewed in the Snapshots view. In this view, you can restore from snapshots or delete them using the respective `Restore` and `Delete` buttons. If desired, you can manually save snapshots whenever you desire.

[![](https://www.zone.lv/static/sites/5/wordpress_staging7.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging7/)

 Snapshots are retained for 14 days. If desired, you can download them using [FTP](https://www.zone.lv/help/en/kb/login-to-ftp/). The snapshots are located in the folder named `zoneplus_snapshots`.

## Restricting access by IP

When setting up a testing environment, it is possible to restrict access to the page only to allowed IP addresses. After setting up the environment, you can modify this by following the following path: [`Zone+`](https://my.zone.lv/dashboard/en/zoneplus) -&gt; `Settings` -&gt; `Application Management`. There, you can add and remove IP addresses in the respective field. If you want to add multiple addresses, you can separate them with either a comma or a space.

[![](https://www.zone.lv/static/sites/5/wordpress_staging8.png)](https://www.zone.lv/help/kb/how-to-use-wordpress-staging-environment/wordpress_staging8/)
