How to Install Localhost WordPress in Windows Using Xampp

WordPress is the simple most powerful platform for blogging. There is no technical knowledge needed to install wordpress in your local host. In this video tutorial I am going to explain about how to install wordpress in your local computer having the operating system windows xp. To install wordpress we need xampp application in windows for Apache, mysql, ftp software like filezilla access in local computer.

This localhost is very useful for the people who developing wordpress themes and those who want to customize their blog. Before going to install wordpress first we need to install xampp software. The video explain detailed installation procedure for xampp and wordpress.

How to install localhost xampp in windows

Step:1

Go to http://sourceforge.net/projects/xampp/ . Download xampp 1.7.3 software for windows plat form which contains apache server, php and mysql. Click on  view all file tab and select xampp for windows.

There are two version of xampp is available to download. One is zipfile another one is exe version. Choose .exe version of xampp to download.

Step:2

Once you have downloaded the exe version it is available in your download folder. Copy the file and paste it in your c:/ drive. Then right click and extract the xampp file in c: drive.

Step:3

Browse c:\xampplite and double click setup_xampp file. Give the default information as it shows.

xampp setup file

Then double click xammp_control.exe file in the same folder c:\xampplite. Create shortcut for xampp conrol panel every time if you want to enter into you local hosted wordpress just start xampp conrol panel.

Step:4

Now start apache and mysql in your xampp control panel application.

xampp control panel application

Once it is started which display running in xampp control panel. If skype is running your system Apache is not shown running, so quit skype and start apache and mysql. mininize xampp control panel.

Step:5

Open your browser in address bar type http://localhost xampp site will open, if it shows any error your installation may failed, go to c:\xampplite\apache\log\error.txt find the error and solve it.

Once your localhost opened select the language as English. Click on phpmyadmin in the left menu of the window. The new window will open here you need to create your new database name as wordpress and select collation as utf8_unicode_ci in dropdown menu. The click on create button. That’s you have created your wordpress database in your local host. Now we are going to install wordpress in this apache server.

localhost - myphpadmin

How to install wordpress in windows

Step:6

Go to http://wordpress.org/download/ download wordpress zipfile. Extract this file as wordpress inside the C:\xampplite\htdocs folder.

After extracting wordpress browse C:\xampplite\htdocs\wordpress\wp-config-sample.php open this file.

Change the below mysql settings in wp-config-sample file.

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */

define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'root');
/** MySQL database password */
define('DB_PASSWORD', '');
/** MySQL hostname */
define('DB_HOST', 'localhost');

Once you changed the above settings save this file as wp-config.php.

Step:7

To install wordpress go to your browser address bar type http://localhost/wordpress/wp-admin/install.php . If you create another database this url you should replace the data base name.

The new window will open here you need to give your new wordpress blog title and email id. Click on save button. It will give you username and password for your new blog. Copy this password and click on login button then enter your username and password. It will enter into your wordpress admin.

Here you can change your theme and etc as like the other online hosting wp-admin. To enter your localhost wordpress admin type http://localhost/wordpress/wp-admin/ it goes to login page wp-admin.

This localhost is very useful for the people who developing wordpress themes and customizing their blog. We will show you the features in upcoming posts.

How to uninstall xampp from windows

Go to start menu in windows then select all programs and find xampp for windows /xampp uninstall.

xampp uninstall

Click on xampp uninstall file follow the steps what it shows, at the end of the process your xampp software has been uninstalled. Share your experience in comment section. local host

{ 15 comments… add one }

Leave a Comment

  • Meron April 6, 2010, 7:31 AM

    The video was great. Worked through it as you did and setup was totally smooth. Many thanks for the help. Also appreciate that it was up to date. Will be looking at your other articles. Again, thanks a lot.

    Reply
  • Swamykant June 11, 2010, 10:10 PM

    This is really an excellent tutorial. Simple and easy to understand. I didn’t face even a single problem while doing this stuff.

    Great Job :)

    Reply
    • Suresh June 11, 2010, 10:41 PM

      hai Swamykant,

      Thanks..

      Reply
  • Anilnair December 30, 2010, 1:10 AM

    Thanks ….

    Reply
  • praveen December 30, 2010, 12:27 PM

    thanks
    how to change http://localhost/wordpress/wp-admin/ into my url…….

    Reply
    • shahjahan November 12, 2011, 7:44 PM

      this is something like URL rewriting concept. Search on it praveen

      Reply
  • Dushyant May 11, 2011, 4:03 AM

    I really wanted to learn wordpress by my own and had no kickoff point. Thanks for the post and the video.. it made my day! I am now thinking to move my website to WP platform.

    Reply
  • Sohel July 7, 2011, 1:09 PM

    The process of ins. is correct….thank you

    Reply
  • max September 10, 2011, 6:45 PM

    cheers mate!

    Reply
  • raj December 30, 2011, 12:52 AM

    Strightforward and terse !!!

    Reply
  • Sunny March 21, 2012, 3:39 PM

    Hello,

    Really appreciated, you done great job, nice tutorials and clear steps.

    We are looking forward to fallow somemore turorials in your blog example:(customizing werdpress thems, moving localhost to line host servers.)

    Regards,
    Sunny

    Reply
  • Saji April 3, 2012, 1:47 PM

    Hello,
    Have installed wordpress in xampp,now the address of blog and site url show localhost/wordpress.It wont be available for others on internet,How to change this address.?

    Reply
  • Navneet Singh July 1, 2012, 8:15 PM

    Getting an error,

    “Access forbidden!,You don’t have permission to access the requested object. It is either read-protected or not readable by the server.”

    please let me know if you know how to solve this??

    Reply
  • raghunathreddy July 26, 2012, 10:39 AM

    dear sir thank u so much…but i have one doubt how to import existing xml file in wordpress please tellme..

    thanks and regards

    Raghunathreddy

    Reply