Search code examples
phpwordpressmampstaging

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


I need to set up a development environment for an existing wordpress website.

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.

Thanks in advance!


Solution

  • You can try this;

    1. Install a plugin "Duplicator"
    2. Backup your website
    3. Download your backup & installer file to your PC
    4. Copy the backup and installer file to your local server
    5. Now run yourdomain.com/installer.php to complete the migration.

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