The links of the local WordPress installation still refer to your online installation. With the help of the plugin "Better Search & Replace" for a comfortable search & replace this can be changed quickly. Go to the admin area of your local WordPress installation by entering the corresponding URL in your browser.. Copy the wp-content folder from your backup to the newly created site's location to take its place. Copy the correct SQL file to the site root (App>Public). Within Local, click Open Site Shell; Import your Database with wp db import your-database-filename.sql; If that works, now Search and replace the domains.
The next step to create a local copy of a live WordPress site is updating the local copy of the wp-config.php file. This configuration file contains all settings for the site, including the route to the database. Go to the folder that contains the local wp-config.php file. Open the config file in Notepad or a similar text editor.. Step 1: Set Up the Duplicator WordPress Plugin for Easy Cloning. The best way to clone a WordPress website is by using the Duplicator plugin. It's a powerful WordPress cloning and duplication plugin that's still very easy to use.. The plugin backs up everything from your website into a single file, which you can simply move to the new location.