Ashfame | Tech Blog |+| Ashfame.com

I blog about blogging, tips and tricks, tutorials, hacking, hardware and reviews.

A niche is less than what I blog about.

Ashfame | Tech Blog header image

Install WordPress locally offline on your computer

ADVERTISEMENTS

If you are new here. You may want to sign up for e-mail updates or subscribe to my RSS feeds. Thanks for visiting!

Alright! This tutorial is not the first one but I just installed a local copy of WordPress on my desktop so that I can design my own theme and use WordPress more as a CMS rather than being blog-centric script. I thought of posting this tutorial so that I can direct help on local installations to this article. If you have ever installed WordPress manually, then its exactly the same procedure but if you have only tried with One-click installations, then this is new for you. Without any further delay, here is what you need to do.

  • Install XAMPP on your computer. (Download XAMPP)
  • Now Start Apache & MySql from XAMPP and type localhost in your browser.

start-service-mysql-apache

  • Select phpMyAdmin from the left and create a new database.

create-database-phpmyadmin

  • Download the lastest copy of WordPress available from WordPress.org
  • Unzip the compressed file of WordPress under the htdocs folder of XAMPP folder (By default it is installed in C:\XAMPP\)
  • Rename the wp-config-sample.php to wp-config.php and open it any editor for editing. (I use Notepad++ Portable)
  • Come back to the wp-config.php file and fill your database name (the name you chose while creating the database), username (root) and leave the password entry as blank.
    It should look like this (I chose wordpress as my database name):
    define('DB_NAME', 'wordpress');
    define('DB_USER', 'root');
    define('DB_PASSWORD', '');
    define('DB_HOST', 'localhost');
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');

    When you have filled in your Sql settings, then save the file and exit the editor.
  • Now open localhost/wordpress in your browser. Fill in the details and click Install WordPress.
  • Copy your randomly generated password and login into your WordPress dashboard. Remember to change the password to something that you can remember easily.
  • That’s it. Just open localhost/wordpress/ in your browser and it will point to the local copy of WordPress installation.

I am all open for help. Have your say in the comments.

Tags:   · · · · No Comments

Leave A Comment

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.