• 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
Copy a Live WordPress site to a localhost

How to copy a live WordPress site to a localhost

Last updated on July 19, 2019 18 Comments

Copy a live WordPress site to a localhost using the All In One WP Migration plugin in six easy steps.  This plugin is great for testing or developing your WordPress Site offline.

Copy a Live WordPress site to a localhost

The All-in-One WP Migration plugin makes it so easy to copy a live WordPress site to a localhost that even a novice can do it.  There is no need to use FTP is you don’t want to.  Simply create a copy of your live site and save the copy to your computer.  Then all you have to do is drag and drop the copy to your local computer.  That’s it your done!


Step 1

Go to your live WordPress site and install and activate a plugin called All In One WP Migration.


Step 2

Once the plugin has been activated, you will notice a new Icon called All-in-One WP Migration.  Go ahead and click on Export and then on “EXPORT TO”.  This will open a drop down menu from which you can select “File”.  A new window will popup.  You can then click on the Download button and select a place to save your copy of your website.

Export
download button

Step 3

Open Local by Flywheel and create a fresh install of WordPress.  If you are not sure how to do this, check out this tutorial and it will guide you step by step.


Step 4

Once you have installed a fresh install of WordPress, login to your local site then install and activate the plugin All-in-One WP Migration plugin.


Step 5

Now go ahead and select “Import” from within the All-in-One WP Migration icon. Now go ahead and click on “IMPORT FROM” and select “File” from the drop down menu.  No select the file that we downloaded earlier in the process.  The importation will now begin.  You will receive a Warning.  Don’t worry about that,  just click on Proceed to continue with the importation.

The installation of you live site to your local host takes a few minutes.  Just sit back and relax and let the process finish.


Step 6

Once the installation is complete. You will get a message that says “Your data has been imported successfully!”

All you have to do now is click on the “Permalinks Settings” link and save your permalinks twice.

In order to login to your local site, you will now have to use the user name and password for your live site.

That’s it, your all done.

What do you think of the plugin? Let me know in the comments section below
0/5 (0 Reviews)

Tagged With: All in One WP Migration, duplicator, local host

Reader Interactions

Comments

  1. Bob says

    October 7, 2018 at 7:00 pm

    I like the plugin and have used it many time. The only issue I have is it deletes the login credentials on the site you are migrating to. If you are moving a demo site to a client’s site, the client loses his credentials. I wish there is a work around that the credentials are kept even after migrating. Any ideas?

    Reply
  2. WPbasics says

    March 14, 2019 at 11:11 am

    Hi John,
    I don’t offer private help at the moment. I focus on tutorials to help the masses. If you have a question. Post it here and I’ll see how I can help.

    Reply
  3. Ruth says

    May 13, 2019 at 10:16 am

    Thanks for the video, l have watched the video and did exactly according to the video but l cannot login again into my wordpress dashboard despite that l used the live server credentials (username and password) on the login page. please what is the problem and how can l resolve it.

    Reply
    • Fulga Bogdan says

      June 6, 2019 at 4:01 pm

      Hi Ruth,

      I had the same issue and i found the problem. The wp_users table is somehow overwritten in the local DB and your user_email will be renamed after your local site name like this:: “thisremainsthe [email protected]“. The password remains the same.

      In order for you to find the exact username, you can follow the next steps:
      Go to the Database TAB in FlyWheel;
      Click on ADMINER (a browser page will be opened);
      Look for select wp_users in the left side;
      Click on SELECT in there and your users will be revealed. In the user_email column you can find the one you can login with,

      Hope it helps. Cheers.

  4. Ruth says

    May 13, 2019 at 10:26 am

    Thanks for the video, l did exactly according to the video but l cannot login again into my wordpress dashboard (admin) despite that l used the live server credentials (username and password from the live server). please what is the problem and how can l resolve it sir.

    Reply
    • WPbasics says

      May 13, 2019 at 11:55 am

      In order to recreate and investigate this, I need more information. What program did you use to create the local site? i;e XAMPP, Local by Flywheel, etc.
      Are you receiving an error message?

  5. Zain says

    January 10, 2020 at 12:20 am

    Hi Sir,

    You video is very helpful, thanks a lot. However, I am having the same problem. I am using Local by Flywheel and also have confirmed the credentials following the steps outlined by Fulga. Am I missing anything? I have followed the process atleast 5 times but still doesn’t work.

    It gives an error saying “The password you entered for [username] is invalid”.

    I am logging into my live site with the same credentials and it works.

    Please help. Thanks in advance.

    Reply
    • Joseph says

      January 12, 2020 at 12:13 pm

      What is “Fulga”. Sorry, not familiar with this term.

  6. zain says

    January 13, 2020 at 1:00 am

    Fulga is the name(see above) of the user who commented on 6 June 2019

    Reply
    • Joseph says

      January 13, 2020 at 2:13 pm

      Please clarify where in the process you are encountering trouble.
      1. Were you able to install your live site your local host?
      2. Did you try login with the credentials that you use for your live site?

  7. Zain says

    January 13, 2020 at 4:13 pm

    I am stuck at the second one. When I enter the credentials that I used for my live site, it says they are invalid. However, I can login perfectly fine into my live site.

    Reply
    • Joseph says

      January 14, 2020 at 12:37 pm

      In order to assist you, I have to recreate the issue you are having. In order to do this, I need detailed information. Please answer each question as I have asked them, that way I don’t make any incorrect assumptions.
      1. Were you able to install your live site to your local host?
      2. Were you able to login to the fresh install of WordPress on your local host?
      3. Did you try to login to a copy of your live site on your local host using your live site credential?

  8. zain says

    January 14, 2020 at 7:28 pm

    Thank you for getting back to me.
    1. Yes, if you mean that I can run my website from Local (software) by “Install”.
    2. Yes, I was able to login to the fresh install of wordpess on my local host.
    3. Yes and it kept on saying crendentials are invalid,

    Just to add to the above, the credentials work fine before importing my live site. However after importing, they don’t work. Does it all makes sense?

    Reply
    • Joseph says

      January 16, 2020 at 8:22 pm

      I have tested today and did not find the issue you are encountering. However, resetting the password might help you. Here are the steps;
      Go to Database TAB in FlyWheel
      Click on ADMINER
      Look for select wp_users in the left side and make sure “Select data” is selected on the right side
      Put a check mark in the edit option and click on edit
      In user_pass select “MD5”
      Enter a new password beside MD5 and click save
      That’s it your password is reset.
      Hope this helps. Let me know if you have trouble with this. If you do, I’ll create a tutorial when I have a free moment.

  9. Roy says

    July 19, 2020 at 5:14 am

    all seems to go well, duplicating to localhost on wamp. – untill i rty to log on to admin or open the front end – whereupon it fails – I notice that it’s going to https – whereas the wamp server has no SSL … how do i export a secured https site to a https localhost?

    Reply
  10. Roy says

    July 19, 2020 at 5:17 am

    oh- i should add that the live site runs behind a sucuri firewall – so i replaced the live version .htaccess filr with a standard default .htaccess – which works on first test opening (except that the site has no formatting … yet another problem to resolve 🙂

    Reply
  11. Stu Goymer says

    September 24, 2020 at 4:45 am

    Heads up. Only works if your site export is under 512mb. Otherwise you need to pay for the plugin.

    You also need another extension to get to 512mb which is free.

    all-in-one-wp-migration-file-extension

    So this is useless for me as its over 1GB unfortunately.

    One tip for using Local set up, set the admin email, to be the LIVE admin email on set up of fresh WP install. Then you should get issue with email being dev.local

    Reply
  12. Kasia says

    September 26, 2020 at 5:15 am

    Hello! I have a question. If I export my client website to make improvements locally, what will happen with the live site on the serwer? This site will be still available for my client and his users or will be turn off till I import the website with improvements back?

    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 © 2022 · 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.