martcol
Member
Posted 3 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
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
martcol
Member
Posted 3 years ago #
Thank you. I'll study that link but it looks like that's just what I am after.