Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP How to Build a WordPress Theme Launching a WordPress Site How to Migrate a Local WordPress Site to Live Server

Ian Holden
Ian Holden
8,556 Points

Live site to Local Server - Wordpress

Hi, I need to do the reverse process as the one explained in the video. I am struggling to do so at the moment and was wondering if anyone could help?

1 Answer

What are the steps you're having problems with specifically? Do you get errors?

Ian Holden
Ian Holden
8,556 Points

Hi Andrew, thanks for the reply...

  • I have downloaded all files and database from my live site.
  • I then set up an area in Localhost (XAMPP installation) where I paste these files.
  • I then set up a database in PHPMyAdmin and import the database tables.
  • I change WP-CONFIG to point to new database and change WP_SITEURL and WP_HOME to local URL.

When I do all of this, I get a very unhelpful 500 Error with the following ("The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.")