简体   繁体   English

如何为现有的 Wordpress 创建本地开发环境?

[英]How to create a local development environment for an existing Wordpress?

I need to set up a development environment for an existing wordpress website.我需要为现有的 wordpress 网站设置开发环境。

What I need to do is to somehow mirror the existing website so I can make changes to it before it goes online.我需要做的是以某种方式镜像现有网站,以便我可以在它上线之前对其进行更改。

What is the best practice?最佳做法是什么? I need to have exactly the same plugins and theme on it, as well its content.我需要有完全相同的插件和主题,以及它的内容。 I was thinking that I could use MAMP for it.我在想我可以使用 MAMP。

Thanks in advance!提前致谢!

You can try this;你可以试试这个;

  1. Install a plugin "Duplicator"安装插件“复制器”
  2. Backup your website备份您的网站
  3. Download your backup & installer file to your PC将备份和安装程序文件下载到您的 PC
  4. Copy the backup and installer file to your local server将备份和安装程序文件复制到本地服务器
  5. Now run yourdomain.com/installer.php to complete the migration.现在运行 yourdomain.com/installer.php 以完成迁移。

For more: https://www.inmotionhosting.com/support/edu/wordpress/create-backup-package/更多信息: https : //www.inmotionhosting.com/support/edu/wordpress/create-backup-package/

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM