admin管理员组文章数量:1335179
I have a staging site where I am improving the theme and layout, adding a couple of plugins to add a slide in navigation bar etc. The issue is that on the live site, people are signing and purchasing membership, plus some memberships are expiring etc. Oh and I'm with siteground.
My question is, how do I push through my staging site so that the users' data on the live site persist? Is all user data stored in the same table? When pushing the new site is it possible to only push through the database tables that I have made changes to due to my development, leaving all other tables in tact from the live site?
I have a staging site where I am improving the theme and layout, adding a couple of plugins to add a slide in navigation bar etc. The issue is that on the live site, people are signing and purchasing membership, plus some memberships are expiring etc. Oh and I'm with siteground.
My question is, how do I push through my staging site so that the users' data on the live site persist? Is all user data stored in the same table? When pushing the new site is it possible to only push through the database tables that I have made changes to due to my development, leaving all other tables in tact from the live site?
Share Improve this question asked Jun 1, 2020 at 21:52 sw123456sw123456 1318 bronze badges 1- Most of the staging utilities I see will replace code and DB - so on sites where user's adding data, like transactions via eCommerce, I only ever push from LIVE to STAGING. When I've finished testing on my staging site, I download my updated plugins and then replace them on the live site via FTP. – Tony Djukic Commented Jun 2, 2020 at 4:40
1 Answer
Reset to default 2Siteground should be able to tell you if your sites share a DB (or it should be evident from whatever control panel they provide).
That said, it's generally not advisable to mess with the DB of a live site. Make your changes and configure your plugins on stage, then when you're happy, replicate that work on your production site - at a low-traffic time, if necessary.
本文标签: Staging Sites What to push through
版权声明:本文标题:Staging Sites: What to push through? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742382591a2464389.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论