• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

WPbasics - A beginner's resource for WordPress

  • Blog
    • Tutorials
    • Articles
    • Showcase
    • Themes
    • Plugins
  • Recommended Hosts
  • About
  • Contact Us

How to copy a live WordPress site to a local host | Duplicator

Last updated on January 22, 2020 1 Comment

Copy a live WordPress site to a local host

Copy a live WordPress site to a local host using the Duplicator Plugin in 5 easy steps.  The Duplicator plugin is great for testing or developing your site offline without risking your live site.

Snap Creek has now introduced Duplicator Pro to their line of products.  This new premium product will allow you to easily deploy and backup your website.  You can read more about all their products here.

Do you require more detail? Have a look at the article below. Your will find step by step instructions on how to copy a live WordPress site to a local host using the Duplicator Plugin.


Step 1

Installing the Duplicator Plugin

  • Click on  “Plugins”.   A new window will open.  On the top left hand corner of the new window, click on “Add New”
  • In the top right hand corner of the screen, you will now find a field labelled “Search Plugins”.  Type “duplicator” in this field and hit the ENTER key.
  • Find the plugin labelled “Duplicator” by LifeInThGrid and click on “Install Now” button.
  • Click on “Activate Plugin”

Step 2

Creating and downloading the Duplicator Packages

  • A new item should now have been added to your dashboard.  Click on the newly added “Duplicator” item.
  • A new screen will now open.  On this screen, click on “Create New”.  A new screen will appear.
  • Leave the defaults alone and click on “Next”.  This will scan your system and prepare to build a duplicate of your site.
  • Click on the “Build” button.  The button is located at the bottom of the screen.  The will initiate the building of your duplicator package.
  • A message will appear stating “Package Completed”.  Below this message are 2 buttons.  One is called “Installer” and the other is called “Archive”.  Click on each button and save to your desktop.
  • Select the two files that were downloaded to your desktop and copy to your clipboard. We now have to prepare the database.

Step 3

Creating a directory for you local site

  •  Locate your XAMPP folder and open it.  Inside this folder is a folder called “htdocs”.  Open this folder.
  • Create a new folder inside the “htdocs” folder.  You can name it whatever you like.  Make note of the your folder name.
  • Open the newly created folder and paste the “Installer” and “Archive” files from your clipboard into the folder.  A shorcut for pasting is CRTL+V

Step 4

Creating a database for your local site

  • Open phpMyAdmin.  There are a few ways to open it.  An easy way is to type “localhost/phpmyadmin” into your browser and hit enter.  A log in screen will appear.  Enter your Username and Password to log in.
  • Click on the “Databases” tab.
  • Enter a database name under the heading “Create database” then click on “Create”.  Make note of the database name as you will need it to install WordPress.

Step 5

Installing a copy of your live site to your local host

  • Type the following into your browsers address bar  “localhost/your folder name/installer.php” and tclick ENTER.  Don’t forget to substitute “your folder name” with the name of the directory that you created in “htdocs” in step 3.
  • Fill in fields listed below;
    • Name (newly created database name)
    • User (database username)
    • Password (database password)
  • Click on “Test Connection”.  You should see a message that says “Server Connected: Success” and “Database Found: Success”
  • Click on the check box labelled “I have read all warnings & notices” and click on “Run Deployment”.  You will get a warning message, click “OK” and your local site will begin to be created.
  • Once the site is ready to be updated to your local host a new screen will appear. At the bottom is a button labelled “Run Update”.  Click this button.
  • You will now be presented with 4 options.  The only option we are interested in is the fourth option.  It is labelled “File Cleanup”.  Click on this option.  You will be presented with a message to confirm the deletion of the installer file.  Click on “OK”.
  • You will now be prompted to log in to your dashboard.  Use the user name and password for your live site and click on “Log In”.
  • SUCCESS! You have now copied your live site to your local host.

Get Duplicator Pro

Another way to copy a live site to a local host is by using All-In-One WP Migration.  Check out this post that I wrote on it.
5/5 (1 Review)

Tagged With: duplicator, local host

Reader Interactions

Comments

  1. Maxim says

    November 1, 2019 at 2:23 pm

    Hi,
    I followed your video online, and did the exact same thing three times, but for some reason the links are not working.
    The main page of the site was loaded with no problem, but when you click on links to other pages, I got “The Request URL ….was not found on this server” error.
    I checked the Source Page of the both sites, the link are different with the local site that just received the LIve site with its old directory structure.

    Of course the directory structure of the LIve Site at Godaddy is different from one on my localhost.

    Was the Plugin -All-In-one Migration- supposed to create some relative directory structure so the links could work.

    What am doing wrong? I save Permalinks twice as instructed, it didn’t work.
    Even though I was able to launch the main page of the new imported site, the wp-config.php file still has the credentials of the site that was copied over.
    So where does it store the database credentials for the newly restored/installed site on Localhost?
    Example of URL when you click on About Us tab.
    The requested URL /test01/about-us/ was not found on this server.

    I don’t think it was a permission issue since the IMPORT was reported as being successful.

    Wha am I misssing?

    I would appreciate any help.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Search this site

Popular Posts

  • How to copy a live WordPress site to a local host | Duplicator
  • How to add a jQuery UI Accordion to WordPress
  • How to copy a live WordPress site to a localhost
  • How to Use FileZilla | FTP Client
  • How to Create a Localhost with local by Flywheel

Recent Posts

  • How to Install a MailChimp Popup in WordPress
  • Googles reCaptcha slow mobile site
  • Check if your site is indexed by Search Engines
  • ACF Blocks | Gutenberg
  • ACF Blocks for Gutenberg | Introducing ACF 5.8
SEE MORE POSTS

Footer

Site Links

  • Affiliate Disclosure

Contact

  • Email
  • Twitter
  • Facebook

About WPbasics

WPbasics was created to assist WordPress Beginners. This site provides tutorial, reviews, and access to deals on products used by WordPress users.

Copyright © 2021 · WPbasics ·

Enter your name and email and get the weekly newsletter... it's FREE!
Signup today and be the first to get notified on new updates
Your information will *never* be shared or sold to a 3rd party.