copy full local Wordpress website from a computer to another

ぐ巨炮叔叔 提交于 2019-12-11 18:16:37

问题


I have a wordpress website which is installed by Microsoft Webtrix on my computer A. I have installed Microsoft Webmatrix on my computer B so that I can continue my work on computer B so that I can continue work on computer B. I want to copy my full wordpress website (website content + database) from computer A to B.

I can not find a tutorial which teaches how to copy database from computer A to B. I am totally new to creating web so please kindly help. Thanks


回答1:


Your best long term solution is to learn how to export WordPress sites from local to local development environments as well as local to live host.

  1. Within your present set up simply copy all files from wp-content of the site and transfer them to your new set up.
  2. Add a plugin to your original site such as WP Database Backup. This will allow you to dump the .sql (database) and keep a copy as a backup.
  3. Over to the new set up (B computer). Create a new wordpress site.
  4. Copy and paste the wp-content folder into the new site.
  5. Now this is where you need to check with web matrix on your new set up. You'll need to make sure the wp-config.php file has the correct settings such as db name and password user etc.
  6. Finally upload the backup db .sql file via the db plugin mentioned in step 2.


来源:https://stackoverflow.com/questions/7546293/copy-full-local-wordpress-website-from-a-computer-to-another

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!