WordPress.org

Ready to get started?Download WordPress

Forums

WP Migrate DB
[resolved] Import successful, but no change to local site (5 posts)

  1. WH646
    Member
    Posted 11 months ago #

    I exported the database from my production site and imported the sql file to my local db. But when I go to the WP admin of the local site, it's as if nothing happened. Nothing from the prod site is there. What am I doing wrong?

    https://wordpress.org/plugins/wp-migrate-db/

  2. Brad Touesnard
    Member
    Plugin Author

    Posted 11 months ago #

    Sounds like you might have different databases prefixes configured in your wp-config.php.

  3. WH646
    Member
    Posted 11 months ago #

    Brad, thanks for the quick reply.

    I changed the table prefix in config.php to match the prefix of the imported files. Then I used the login from the prod site to get into the local page. All good. Pages are there. But when I try to view or preview the pages, I get a 404 page not found.

    Any ideas?

  4. Chris Aprea
    Member
    Plugin Author

    Posted 11 months ago #

    Are you able to visit Options -> Permalinks and save your permalink structure.

    The permalink option should match that of the site you exported.

    Please let me know if that helps at all.

  5. WH646
    Member
    Posted 11 months ago #

    Hey, thanks, Chris. I got it working. I had to start over with a new export, but it's working now. Thanks again.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.