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

  1. martcol
    Posted 5 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


  2. cubecolour
    Posted 5 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.


  3. martcol
    Posted 5 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


No tags yet.