Create your wordpress blog offline

June 22, 2008
June 22, 2008
by Sean
in Blog

How many times have you made changes to your website that might not work that could cause an inconvenience to anybody that is trying to view your website? Well if you are using wordpress you usually edit your website online, and as soon as you save it the changes will take effect on your live website, this can be a nightmare because it could mess up the appearance of your website and cause your visitors to become confused on where everything is.

Wouldn’t it be great if you could simply test these changes before putting them into action on the live web for everyone to see. Well now you can, i was looking around the internet a few days ago and found out a way of installing wordpress locally on your own computer, this means you can make as many changes as you want to your website and it will not effect your live website, therefore making the ease of visitors to your site more comfortable, then when you are ready you can simply upload your changes to your live website.

Ok so in order to setup wordpress locally on your computer this is what you have to do:

  1. First download the latest version of wordpress, here
  2. Then go here and download XAMPP Lite
  3. When the download is complete extract it to the root of your hard-drive e.g: C:\
  4. When the extraction is complete go to C:\xampplite and click on setup_xampp.bat
  5. Then click on xampp-control and start Apache and Mysql
  6. Then open up your browser and go to https://localhost/ then choose your preferred language on the left column
  7. Then click phpMyAdmin from the tools section in the left column
  8. type: wordpress into the create new database section then select utf8_unicode_ci then click create, that is the XAMPP setup complete now
  9. Unzip the wordpress folder you downloaded into the folder: C:\xampplite\htdocs
  10. Then browse to the folder wordpress in C:\xampplite\htdocs then you should see a file called wp-config-sample.php open it up in a text editor such as notepad or textpad then replace the default values with these:

    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …and password (needs to be empty, just for local install)
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

  11. Then save the file as wp-config.php in the same folder as wp-config-sample.php
  12. Then open your browser and type in https://localhost/wordpress/wp-admin/install.php
    Then follow the instructions and that’s it enjoy!

Have a look at the video below, i made it to show you how to do the above in case you had trouble doing it, i added some music so it wont seem so long!

Original instructions source: Geeksaresexy


  1. Pingback: live local

  2. Pingback: Recent Links Tagged With "geeksaresexy" - JabberTags

Post a Comment

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.