简体   繁体   English

将WordPress网站的更新版本从QA Server移到Live Server的实时站点

[英]Moving updated version of WordPress site into live site from QA Server to Live Server

I have a live WordPress website which is based on WooCommerce, now I have another website (uploaded on QA Server) which is updated version of live site, Some extra plugins also installed in it. 我有一个基于WooCommerce的实时WordPress网站,现在我有另一个网站(已在QA Server上上传),它是实时网站的更新版本,其中还安装了一些额外的插件。

Now I have to replace live site with Updated version of it which is uploaded on QA Server, plus I have to save all transactions of live site (so replacing database is not a good option). 现在,我必须用更新后的版本替换实时站点,该更新版本已上传到QA服务器上,而且我还必须保存实时站点的所有事务(因此替换数据库不是一个好选择)。

What to do? 该怎么办?

  1. Login to your QA server's wp-admin. 登录到质量检查服务器的wp-admin。
  2. Then hover over => "Tools" 然后将鼠标悬停在=>“工具”上
  3. Click on export and then select "orders". 单击导出,然后选择“订单”。
  4. Then hit "Download Export File" button. 然后点击“下载导出文件”按钮。 You'll get an xml file as download. 您将下载一个xml文件。

  5. Now move on to the LIVE site,login to admin panel. 现在转到LIVE站点,登录到管理面板。

  6. Again hover over => "Tools" 再次将鼠标悬停在=>“工具”上
  7. Click on Import and then "Wordpress" 点击导入,然后点击“ Wordpress”
  8. Then on file window select the exported xml file and you are done. 然后在文件窗口中选择导出的xml文件,您就完成了。

Transactions will be imported on the live site. 交易将在实时站点上导入。

My favorite tool for migrating WP databases is: WP Migrate DB Pro 我最喜欢的用于迁移WP数据库的工具是: WP Migrate DB Pro

But the answer largely depends on what you've updated on the testing site. 但是答案很大程度上取决于您在测试站点上所做的更新。 Using the above plugin you could pull all the database tables except wp_posts and wp_postmeta and that should get you any new options you've configured with your new plugins without overwriting your Orders. 使用上述插件,您可以拉 wp_postswp_postmeta 之外的所有数据库表,这将为您提供使用新插件配置的任何新选项,而不会覆盖您的订单。

Granted this means you would you not automatically pull in any new pages/posts/products, etc either. 授予这意味着您也不会自动引入任何新页面/帖子/产品等。 But for that could use the Import method described in sanki's answer. 但这可以使用sanki的答案中描述的Import方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将站点从本地主机移动到实时服务器时出现 Wordpress 错误 - Wordpress error while moving site from localhost to live server 使用GoDaddy cPanel将Wordpress网站从本地主机移动到实时服务器 - Moving wordpress site from localhost to live server using GoDaddy cPanel 将我的Codeigniter站点从实时服务器移动到本地主机时出现问题 - Problem in moving my Codeigniter site from live server to localhost 将 wordpress 站点从本地主机迁移到实时服务器的最简单方法是什么 - what is the easiest way to migrate wordpress site from localhost to live server 将站点从演示服务器转移到实时服务器 - Transfering site from demo server to live server 网站未选择样式。从活动服务器移至localhost后,Joomla网站变形 - Site not picking styles.Joomla Site deformed after moving to localhost from live server 从本地服务器上载Codeigniter网站到现场 - Uploading codeigniter site from local server to live Magento网站从实时服务器重定向到localhost - Magento site redirected to localhost from live server 将WordPress网站从实时移动到本地主机后出现404错误和重定向 - 404 error and redirect after moving wordpress site from live to localhost 从本地服务器部署Wordpress网站到实时服务器时出现404错误页面 - 404 error page when deploy wordpress site from local server to live server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM