Transferring my WP site from live server to local server
-
Hi,
I have a live WP site which I need to transfer to my laptop so that I can continue working on it locally.
I am following the 1st of the two methods described on this web page:
https://www.wpbeginner.com/wp-tutorials/how-to-move-live-wordpress-site-to-local-server/
I have broken the instructions down into 6 steps (see below).
My problem is at Step 4. The instructions tell me to put the following address in a browser:
https://localhost/test-site/install.php
where /test-site/ is the location of the folder to which I copied the ‘package’ file and the ‘installer’ file referred to in Step 2.
I copied those two files to a folder on the Desktop of my MacBookAir which I named ‘wordpress’.
My question is: what would be the file path that I enter into my browser to run the installation script?
Many thanks!
MichaelSTEP 1
First thing you need to do is install and activate the Duplicator plugin on your live site. Duplicator plugin allows you to create duplicate package of your entire WordPress site. It can be used to move your WordPress site to a new location, and can also be used as a backup plugin. Upon activation, the plugin adds a new“Duplicator” menu item in your WordPress admin sidebar. Clicking on it will take you to the packages screen of the plugin.STEP 2
To create a new package, you need to click on the create new package button. Duplicator will start creating a package of your entire WordPress site. This may take a while, depending on how much data you have on your live site. Once finished it will redirect you to the packages screen, showing newly created package with a installer file. To move your site you need to download both, the zip package, as well as the installer file to your computer.STEP 3
Your local server site will need a new database, so you need to create a database on your local server using phpMyAdmin. Once you have created the database you need to copy paste the package and install file to an empty folder in your local server’s web directory.STEP 4
To run the installation script, you need to open the install file in your web browser. For example if you pasted both files in /test-site/folder you will access them in your browser by visiting https://localhost/test-site/install.php. You will now see the Duplicator installation script like this:STEP 5
On this screen, you need to provide your local server’s database information. The host is usually the localhost. If you have not created a new user for MySQL on your site, then your username would be root. If you are using a password for the root user then enter that password, otherwise leave it blank. Lastly, you need to enter the database name you just created.The installer will now extract your database and WordPress files from the zip package and import them. Depending on the size of package, this may take a while. Once the installer has extracted the files and imported database, it will redirect you to the update page.
STEP 6
On the update page, you need to provide the URL of your live site and the URL of the site on your local server. The plugin will automatically detect these values make sure they are correct and then click on the update button. Duplicator plugin will now update URLs in your database.That’s all, you have successfully moved your live site to local server. The installer will show you a success page. You would also need to update permalinks on your local server site and delete the installer file and package.
- The topic ‘Transferring my WP site from live server to local server’ is closed to new replies.