Support » Localhost Installs » Local site is empty after restored on wamp

  • Here is what I did:
    1. I backed up the whole folder of public_html from hosting’s cPanel
    2. I restored it to the wamp\www folder
    3. I exported the whole database in hosting’s phpmyadmin
    4. I restored it to the wamp mysql

    The local site is up with nothing in it, lost all settings including activated theme, activated plugins, no media files.

    I have made changes to config so it points to the database I restored from the live database, I have all the needed files in their correct local folders.

    Am I missing anything here?

    Thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried to create another .htaccess file and/or fix the references to the old domain at your database?
    I’m not sure, but those options above usually can cause this issue related on your post.

    Additionally, if you’re up to use another migration method I would recommend the Duplicator plugin. It is really awesome, simply to use and free.
    With this plugin you’ll create two files, an installer and a zip file containing all your data.
    After that you only have to download both, place them inside your www Wamp directory and access the installer file via browser, it will load an assistant to help you finish the migration.
    Here’s the link in case you want to check it out:
    https://wordpress.org/plugins/duplicator/

    Thank you very much, I am to try it out now

    Hmmm,

    I don’t think the tool will work, hanging there for half an hour……

    But thank you anyway.

    Did you change the siteurl and home options in the wp_options table in the database?

    If not, load phpMyAdmin again, go to your database, and browse the wp_options table. If you used a different prefix than wp_, use that instead. On the first page you will see option names of siteurl and home. Change the values of those two options to match the URL of your localhost setup.

    @mdivk

    I have found that using this plugin is easiest and most foolproof way to move a site 🙂

    https://wordpress.org/plugins/all-in-one-wp-migration/

    Be sure to watch both videos on the WP Plugin repo page to get a good idea how it works.

    Cheers!
    Lyle

    AkeebaBackupWP and kickstart do a great job too –
    http://akeebabackup.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.