WordPress.org

Ready to get started?Download WordPress

Forums

sync an existing WP site with local site? (3 posts)

  1. martcol
    Member
    Posted 4 years ago #

    I have a blog set up by my host and I have my development site set up on my PC. They are different because the host set up the live site and I set up the local site.

    I would like to be able to synchronise my local and live sites. I have tried creating a database with the same name, user and pw on my PC using the details from the wp-config file on the live site but that doesn't work. I also copied the wp-config file from my live site to my local site. That didn't work.

    Many thanks

    Martin

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 4 years ago #

    If you ensure you have all the same files on both versions, you should be able to import the live version's database & run a query in phpmyadmin to change all the live version URLs in the db to suit the local version - Then you'd reimport the db similarly as often as you need.

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server

  3. martcol
    Member
    Posted 4 years ago #

    Thank you. I'll study that link but it looks like that's just what I am after.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.