Register an account
E-mail will only be used to recover your login information

How to install, setup and configure WordPress on your PC

Run Wordpress on your PC using WAMP Server

WAMP Server (short for Windows Apache, MySQL and PHP) installs and runs some of the most popular server applications locally, all in one easy package allowing you to run a fully-functional WordPress installation on your home machine, server or even in a virtual machine.

In this article, we’ll be looking at WAMP Server 2.0i, its installation, configuration and how to drop in WordPress so we can develop themes locally and work on our websites away from the public eye, or without an internet connection.

Get the necessary tools

Start by grabbing the latest copy of WAMP Server. At the time of this writing, the latest release version is 2.0i. While it downloads, we can also go ahead and grab a copy of the latest WordPress core, version 3.0.

Once WAMP is done downloading go ahead and install it on your server machine. I’ll be installing WAMP on a virtual Windows XP machine using VirtualBox. Installation is a breeze, and there are few customization options other than selecting the location and selecting a default browser. Once the installation is done, you may need to allow WAMP through your firewall to proceed.

Installing WAMP

Installing WAMP

Once it’s done, an icon will appear in your tray.

WAMP tray icon

Setting up an SQL database for WordPress

Left-click the icon in your tray and select phpMyAdmin from the menu to access SQL settings.

Create a new database called “WordPress” as seen below. Once it’s done, click on the Privileges tab on the top left and click on Add a new user. All you need to fill out here are the User name and Password fields. For the sake of this tutorial, I simply chose Admin and Admin. Please, under no circumstances should you ever, ever do this if you plan on moving your site live to the internet. Choose a safe user name and very complex password. Click on Go when you’re done.

Creating an SQL database

Installing WordPress

Open the WordPress archive you downloaded earlier and extract everything found in the WordPress folder to your WAMP’s www root directory, by default: C:\wamp\www

Transfer WordPress files

We now need to tell WordPress where to find the database we’ve setup earlier. Browse through the files to locate wp-same-config.php and open it in the editor of your choice (Notepad will do fine). Locate the database settings and change the values of DB_NAME, DB_USER and DB_PASSWORD to reflect what we’ve done so far. Save the file as config.php. You can delete the sample one.

Wordpress' Config file

Once it’s done extracting, left-click the WAMP tray icon and select “localhost” to start the WordPress installation. Fill in the requested fields and un-check the option to ” Allow my site to appear in search engines like Google and Technorati” if you’re going to be running it locally only. Hit install and wait for the process to complete. If successful, you’ll be prompted to login.

Installing WordPress

Wrapping up

You are now running a full-fledged WordPress installation on your PC. To access it at any time, make sure WAMP is running and left-click the tray icon and select localhost, or just head to http://localhost. Enjoy working on your own server!

WAMP WordPress

How-to Windows Wordpress

Something on your mind?

Leave a comment and let the world know.


Woah, you're not logged in! Would you like to login or register?

Your Ad Here
  1. Fahad Shefaul haq
    December 12, 2012 at 10:58 AM

    Thanks for this tutorial,, it is the easiest way. I installed WAMP and word-press on server2003 I can access wordpress page on my server it open all contents but when ever i m accessing it locally from another computer of the same network through i.p or name, the word-press does not opening the page completely, links of the pages does not working. contents are missing, photos are not appearing. can you please help me…

  2. Benedict
    May 27, 2013 at 1:57 PM

    Useful info. Lucky me I discovered your site by accident,
    and I am stunned why this twist of fate didn’t came about earlier! I bookmarked it.

Get a Dropbox!