Title: Installing WordPress to localhost
Last modified: August 20, 2016

---

# Installing WordPress to localhost

 *  Resolved [samex](https://wordpress.org/support/users/samex/)
 * (@samex)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/)
 * So I found my old backup folder which included my old wordpress site’s files.
   I had copied and pasted those files directly from my old server to my external
   hard drive. I decided to check if I can get the site working in my localhost.
   I installed the wordpress by first throwing the folders from my external hard
   drive to my xampp’s htdocs folder and by changing the old wp-config.php addresses
   to my new localhost. After that I went to [http://localhost/mysite](http://localhost/mysite)
   and installed the wordpress. The installation seemed to go well and wordpress
   was working. Plugins and themes seemed to be in place but mostly all other contents
   were still gone (pages, categories etc.). So I was wondering if I did something
   wrong or why are the contents still gone from my new localhost wp site?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637559)
 * Did you restore your old database?
 *  Thread Starter [samex](https://wordpress.org/support/users/samex/)
 * (@samex)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637637)
 * I tried restoring my database using this [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
   
   but at step 6 I wasn’t sure what to choose. Any ideas?
 *  [Skrlance](https://wordpress.org/support/users/seanlance/)
 * (@seanlance)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637639)
 * Try installing WordPress on localhost/ not on localhost/mysite/
 * Usually on Xampp for Windows, C:\XAMPP\htdocs\
 * & If you would like to check a bit on:
    [http://wordpress.org/support/topic/error-404-after-local-installation-of-existing-website?replies=3](http://wordpress.org/support/topic/error-404-after-local-installation-of-existing-website?replies=3)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637713)
 * > Try installing WordPress on localhost/ not on localhost/mysite/
 * That won’t make the slightest difference.
 * **[@samex](https://wordpress.org/support/users/samex/)**: You need to locate 
   the .sql database backup file at step 6.
 *  Thread Starter [samex](https://wordpress.org/support/users/samex/)
 * (@samex)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637801)
 * > [@samex](https://wordpress.org/support/users/samex/): You need to locate the.
   > sql database backup file at step 6.
 * I didn’t find any .sql database backup files. I guess it is impossible to restore
   the contents then?
 *  [Skrlance](https://wordpress.org/support/users/seanlance/)
 * (@seanlance)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637806)
 * Hello Samex,
    Did you changed site theme you were on? If so, please active the
   one that you were using before. If not, I can’t say anything more!!
 *  Thread Starter [samex](https://wordpress.org/support/users/samex/)
 * (@samex)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637807)
 * Well yeah I did that and the theme was customized like it was back in the day
   but the categories and other contents are still gone.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637808)
 * The theme has nothing to do with anything. Unless you have a database backup,
   you cannot restore your old site or content.
 *  [lisa@savannahattic.com](https://wordpress.org/support/users/lisasavannahatticcom/)
 * (@lisasavannahatticcom)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637813)
 * My Old blogwww.savannahattic.wordpress.com Has the Lifestyle Theme I bought from
   you..
    I need that lifestyle Theme to be Uploaded to my new [http://www.savannahatti.com](http://www.savannahatti.com)
   blog. What are the steps needed to make that happen?
 * esmi or anyone can you help me please I’m going to loose advertisers
    Thank You
   Lisa [lisa@savannahattic.com](https://wordpress.org/support/topic/installing-wordpress-to-localhost/lisa@savannahattic.com?output_format=md)
 *  [lisa@savannahattic.com](https://wordpress.org/support/users/lisasavannahatticcom/)
 * (@lisasavannahatticcom)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637814)
 * so sorry that should read [http://www.savannahattic.com](http://www.savannahattic.com)
 * My Old blogwww.savannahattic.wordpress.com Has the Lifestyle Theme I bought from
   you..
    I need that lifestyle Theme to be Uploaded to my new [http://www.savannahattic.com](http://www.savannahattic.com)
   blog. What are the steps needed to make that happen?
 * esmi or anyone can you help me please I’m going to loose advertisers
    Thank You
   Lisa [lisa@savannahattic.com](https://wordpress.org/support/topic/installing-wordpress-to-localhost/lisa@savannahattic.com?output_format=md)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637816)
 * **[@lisa](https://wordpress.org/support/users/lisa/)@savannahattic.com**: It 
   is impolite to interrupt another poster’s thread with a question of your own.
   Please post your own topic.
 *  [lisa@savannahattic.com](https://wordpress.org/support/users/lisasavannahatticcom/)
 * (@lisasavannahatticcom)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637817)
 * I’m sorry I am new I don’t understand I thought this is where you where sappose
   to post a message and you seemed so knowledgable. Ok where do I find a New Thread
   then and I will repost Thank You for the etiquite
    Lisa
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637818)
 * Use the form at the very bottom of [http://wordpress.org/support/forum/themes-and-templates](http://wordpress.org/support/forum/themes-and-templates)
 *  Thread Starter [samex](https://wordpress.org/support/users/samex/)
 * (@samex)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637825)
 * Okay, seems like I got my answer and thanks shekrar and esmi for your help. I’m
   going to change this topic solved now.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Installing WordPress to localhost’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 14 replies
 * 4 participants
 * Last reply from: [samex](https://wordpress.org/support/users/samex/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/installing-wordpress-to-localhost/#post-2637825)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
