Step 1: Create your site backup using Duplicator.
Follow step two at this website.
Step 2: Import your WordPress site to your local computer.
Create a folder for your WordPress site under C:\xampp\htdocs. I called mine mywordpresstest.
Step 3: Create a database on your local computer.
- Start MySQL in XAMPP.
- Start Apache server in XAMPP.
- Click the Admin button for MySQL.
- Login to phpMyAdmin.
- Click on the Databases tab.
- Enter a database name of your choosing and leave the default collation.
- Click Create.
- Click the User account tab.
- Click the “Add user account” link.
- Create a username and password and leave the rest at defaults.
- Click Go.
- Click on the privileges tab at the top.
- At the bottom click “Add user account”
- Create a username and password and leave the rest at defaults.
- Under the “Database for user account section” ensure the “Grant all privileges on database” for your database is clicked. Example, “Grant all privileges on database mywordpresstest.”
- Click Go.
Step 4: Start the duplicator migration process
In your web browser, go to localhost/mywordpresstest/installer.php to run the installer.
Then follow step 6 here. Note: after duplicator is finished it says to log in to your site at the “Test Site” step. Use the same login that you use on your public website.
And that’s it for this post. Thank you for reading!