Issue
I’m starting some work on an existing wordpress project on Github. Basically, the entire WordPress install is on Github. I cloned it to my local XAMPP installation. What’s the best way to get everything configured? I know I have to make a config file and get WP talking to my MYSQL database. I did that, and while I got the wp-admin stuff working fine, the front-side stuff isn’t showing up.
Solution
In the database you need to update the links so that they point to your local host.
The way I do that is that I make a backup of the sql database and then replace everything like:
orig:
www.domain.com/site/...
with:
localhost/site/...
And then restore it
Answered By – Jester
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0