Form entries overwritten when publishing staging site via WP Engine.

By: Walter Lobos | Asked: 06/23/2022
ForumsCategory: General questionsForm entries overwritten when publishing staging site via WP Engine.
Walter Lobos asked 2 years ago
Hi everyone,

Is there a way to prevent my form entries from being overwritten every time I copy across the staging site to the live site? I have two sites setup, 1. Staging,  2. Live site. I use WP Engine to backup and publish the staging site to live. Both sites have the Formidable plugin setup.

Kind regards,
Walter.
1 Answers
Victor Font answered 2 years ago
I think you have a basic misunderstanding as to how a staging site on WPEngine works. To make a staging site, WPEngine clones your live site. This is good because it allows you to test code without impacting your live server. We developing enterprise-class software, we always use 3 or more environments. At the most basic level we use development, staging, and production environments. Development is an isolated environment where the actual code writing takes place. Staging is a clone of production where we test code integration before moving to production. If everything works in staging, we move to production and perform another round of regression testing before releasing to the public. When WPEngine publishes a staging environment to production, it clones your staging environment to production. Cloning completely overwrites what was there before because the database is cloned, not just WordPress. When I've worked in WPEngine staging environments and came to the point where I had to publish to production, there was a way to select the tables you want to copy back to production. Don't copy the tables that contain entry data, frm_items and frm_item_metas. If you're creating custom post types, don't include wp_posts or wp_postmeta. None of your entry data will be overwritten.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right