WordPress.org

Ready to get started?Download WordPress

Forums

Cloning a live site to my localhost WAMP (3 posts)

  1. kennyk3
    Member
    Posted 1 year ago #

    I'm working on a site for a client and wanted to clone the site to my localhost using WAMP.

    I installed WP on WAMP, created a database in phpMyAdmin, created a user and password for that db and put that info in wp-config.php. I then downloaded the client's wp-content folder and replaced the freshly installed wp-content with the client's. Then I dropped the tables from the fresh install db and imported the client's db.

    This didn't work, but then I saw that the client's database's prefix was db_ instead of wp_, so I changed it in wp-config.php. This seemed to work at first, but then I noticed there still weren't any posts even though the theme and customizations were there. Also, when I try logging in at localhost/nameofsite/wp-admin it redirects to the live site.

    Any suggestions would be greatly appreciated. Hopefully I've given enough info, if not, let me know.

    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. syaifmax
    Member
    Posted 1 year ago #

    You should install wordpress duplicator plugin. Search "duplicator" on plugin page

Topic Closed

This topic has been closed to new replies.

About this Topic