Setting up a development site from the live site using XAMMP

Hi all,

I am trying to set up a local development version of a live site in XAMMP

I exported the live wordpress database and imported it into mysql on my XAMMP set up

I installed a copy of wordpress in the htdocs folder, and copied over the themes folders to the local themes folder. kicked off wordpress and set the database info to the wordpress db that I installed, told me already installed which i gather it should, and then was taken to wordpress login. BUT – no matter what I do it takes me to the Live site and not the localhost site when I try to login.

Any ideas? I must say I’m flying a bit blind. Their is a number of custom database apps on the site, and I’m trying to understand and play with adding new code. I know php, but I don’t quite understand how this all works within the wordpress / theme structure.

Thanks! Andy

2 Comments
  1. Open wp-config.php file in the WordPress folder, and set site

    url(define(‘WP_SITEURL’,’http://localhost:5000/foldername/index.php’);

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer