• Resolved jtm16

    (@jtm16)


    Hello,

    We have a staging/dev site where we make changes before copying over to our live/production site. However, if a new member registers on our live site, then their info (presumably) would only be stored on the live site’s backend. Therefore, if I then copy over the dev site environment to the live site, those members who have registered via the live site would presumably be wiped out (since they have no record on the dev site). Is there a solution to this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wp.insider

    (@wpinsider-1)

    The information is saved in the database. So when you copy the site, it will go with the site. Normally staging/dev site deployment will automatically copy the full database so it will be fine.

    Think of it this way, if the WordPress posts and pages are moving to the dev site when you copy the site, then the simple membership rerecords will also move.

    Thread Starter jtm16

    (@jtm16)

    But what if you’d like to go the opposite direction – copying the dev site over to the live site? If the membership profiles are only stored in the live site database, won’t they be replaced by the empty membership database from the dev site when copied over?

    Plugin Author wp.insider

    (@wpinsider-1)

    There is no master database that dev site uses. Each install of the plugin will have its own data saved in the database for that WP install/site. The same way your WordPress posts and pages that you see in your dev site is stored in a separate database for that dev site. So if you deploy your dev site to the live, what normally happens is that it takes the data from the dev site’s database and overwrites it to the live site’s database.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Retaining members when copying Dev Site to Live Site’ is closed to new replies.