How to copy live wordpress to localhost for development
-
Hi
I recently got the job of maintaining a wordpress site created by someone else. i want to take an exact copy of the real site and put it on my xampp localhost platform on my PC. I’ve FTP-ed the wordpress files into the httpdocs folder on xampp and made an sql dump of the database which I recreated on mysql in xampp. There is a problem though as when I try to launch the site on localhost I get an ‘error connecting to the database’ message.
now I know that the default database username on mysql xampp is ‘root’ and the default password is blank. I have changed this in the config.php files in the wordpress files and in fact I changed it in every file I could find the old username and passsword details from the live install e.g. wp config.php. However I’m still getting the same error. The site does not load at all and I just get this error.Can anyone tell me how to take the files and sql dump from the live server and put them on my xampp server on my PC so I can develop this site further.? Any help would be appreciated. What am I missing?
- The topic ‘How to copy live wordpress to localhost for development’ is closed to new replies.