Quick Contact

    How to push content with WordPress staging


    Users may push various types of material or code from one WordPress instance to another through using SitePush staging. You’ll need to sign in to the website’s administrative dashboard to accomplish that. On the left-side menu, select SitePush, and then click SitePush.

    How to push content with WordPress staging

    The user interface is intuitive and simple to understand. Setting up should start with:

    • Source:

      Choose the Source webpage as your source. We are pushing modifications from this website.

    • Destination:

      Select the website for the destination. Users are pushing modifications to this website.

    How to push content with WordPress staging

    The next stage is to decide which changes that want to push. Database Content and Files comprise the two components. There are several possibilities:

    • Entire Database:

      This option will overwrite all of the content on your destination website’s database.

    • All Post Content:

      Only the posts will be pushed from the source to the destination website.

    • Comments:

      Only the comments will be pushed from the source to the destination WordPress instance.

    • User & User Meta:

      The user and user meta information will be pushed between the source and the destination website.

    • WordPress Options:

      This option will push all WordPress options from the source to the destination website.

    • Current Theme:

      This will push the current active theme from the source to the destination website.

    • All Themes:

      Push all themes to the destination website.

    • WordPress Plugins:

      Push all plugins to the destination WordPress instance.

    • WordPress Media Uploads:

      Push all uploaded files from the uploads/ directory of your source website to the destination.

    How to push content with WordPress staging

    The Push Content button will initiate the process. Keep in mind that the updates will overwrite all existing data on your destination website. This is the reason why we recommend the following steps when you are using the staging for WordPress:

    • Push all content from your main website to the staging copy.
    • Make all required changes to your staging copy.
    • Push all content from your staging copy to the main website.

    Make sure to check the rest of our tutorials on the topic, where you will find more useful information regarding the setup and use of SitePush Staging.

    Enable cache plugins with WordPress staging

    The SitePush staging for WordPress allows automated purge of the cache on your website, so you do not need to perform that manually after each change. This is a good feature that will definitely save you time.

    When you install a caching plugin on your website, the SitePush staging will notify you that you need additional configuration so it could work normally. The message will say that you need to define the cache directory in the staging configuration file.

    How to push content with WordPress staging

    What you need to do, is to access the staging configuration file on your account and define the cache directory properly in it. This will allow SitePush to clear the cache each time when you push changes.

    Open up the staging configuration file and add a new section, which will apply for all WordPress installations, configured with the staging plugin:


    cache = yes

    caches[] = /home/example/public_html/path-to-cache-directory

    caches[] = /home/example/public_html/path-to-second-cache-directory

    The options available in the new section are:

    • [all]:

      This defines that the new section applies for all websites that you have configured with the staging plugin.

    • cache:

      States that your websites are using cache plugins.

    • caches[]:

      The path to the cache directory for one of the websites configured with a cache plugin. Note that you can define as many cache paths, as you have websites configured with the staging plugin.

    If the configuration of the caching plugin on your website is set properly. You will no longer see the warning message, once you log into the administrative area of your website.

    Custom push options

    By default, you are allowed to push certain type of content between your websites. However, there are custom plugins that create their own custom tables on your database. You will still be able to push those changes, by choosing the Entire Database push option.

    How to push content with WordPress staging

    However, you will also be able to create a separate option, which will push the content for specific tables only. This is an excellent feature that allows you a full control over the Staging feature of your WordPress website.

    To configure custom tables push on your website, you will first have to log in as administrator. Click on the SitePush option on the left-side menu and then click on Options.

    How to push content with WordPress staging

    You will have to scroll down to the Custom DB Table Groups section on the page. You will notice a field, where you can enter the custom database table. You will have to enter it with the following format:

    Field Label | table1, table2, table3

    The Field Label is the name that will be displayed for this new option in the SitePush screen, next to the other push options on the previous screenshot. The table* fields are for the actual tables that you will push content for.

    How to push content with WordPress staging

    Once you are ready with the configuration, simply scroll down to the button and click on Save. The changes will be saved, so you can click on the SitePush option on the left-side menu again and then SitePush again. You will see the new option available in there.

    How to push content with WordPress staging

    Once you are done with thatm you will be able to use the newly added options.


    Q1- How do you push from production to staging?

    Under Staging Site, select the Actions menu and then select Sync Sites. Select Push staging to production. Only select Overwrite content if you want to overwrite the database as well as the files in your live production site. Select Sync.

    Q2- How do I push WordPress changes to staging to live?

    Go to your live site and click WP Staging > Sites / Start. Select the staging site you want to move over to the live site and click Push Changes. Select the data you want to push to your live site (example: WP Staging). The WP Staging plugin allows you to select the data you want to push to your live site.

    Q3- How do I test a WordPress site before going live?

    Click the Staging Site option to go to the admin area of your staging WordPress site. You’ll see a red button on top of the admin bar to show that you’re working in a staging environment. You can now go ahead and work on your website without worrying about it affecting your live site.

    Q4- What is staging mode WordPress?

    A WordPress staging site is a test site that you can use to “safely” make plugin updates and other changes before going live. In the past, it used to be very difficult to setup a WordPress staging site, but now that has changed so even a non-technical person can do it.

    Copyright 1999- Ducat Creative, All rights reserved.

    Anda bisa mendapatkan server slot online resmi dan terpercaya tentu saja di sini. Sebagai salah satu provider yang menyediakan banyak pilihan permainan.