Reputation: 45
I've got xampp up and running, copied the files of sikkesautomobielen.nl via FTP to my htdocs, connected my php database and have got my duplicate site working (localhost). When I click on one of the links on the site I still end up on sikkesautomobielen.nl instead of my localhost. I guess it's a database issue. Is there an easy way for me to make the URLs reference to localhost instead of sikkesautomobielen? I'm trying to develop a Wordpress site and when I'm done, I would like to upload it to the server. This way the site has a minimal down time and I can afford myself some mistakes without the "official" site crashing.
Upvotes: 0
Views: 272
Reputation: 13214
It's a database issue. Go to your database( PHPMyAdmin) and under *_options you will find 2 base urls, change them to your localhost url and the site will work.
Change the 'option_value' of both 'home' & 'siteurl'
'*' refers to your selected prefix
Upvotes: 1