Installing and Setting Up A WordPress Site On Your New WAMP Installation

In this tutorial we are going to walk through setting up a WordPress website on a locally hosted WAMP server, and assumes you already have a WAMP server setup on your computer. If you need to setup a WAMP server setup on your computer you can follow these steps.

If it’s not currently running, startup your WAMP server now.

Step 1: Gaining Access to phpMyAdmin

Your WordPress installation is going to connect to a mySQL database, hosted locally on your computer through the magic of WAMP, and the first thing we need to do is gain access to our phpMyAdmin so we can create a database.

By default there is no password setup for the MySQL database access. So let’s get that setup now, click on the WAMP icon->MySQL->MySQL Console.

wamp-server-setup-2

The MySQL console should now be open.

The MySQL console should now be open.

Since this is our initial setup there is no password set as of yet, so leave the password field blank and hit enter. You should see the following in your console after clicking enter.

You are now logged in.

You are now logged in.

Ok, you are now logged in (without a password), so let’s set your MySQL password by typing the following into the MySQL Command Prompt.

UPDATE mysql.user SET Password=PASSWORD(‘Your new Password’) WHERE User=’root’;

Setting your "root" password.

Setting your “root” password.

If you see the “Query OK” the change has been made, if you don’t see that message, double check to make sure you didn’t miss-type the command input.

"Query Ok" the change has been made!

“Query Ok” the change has been made!

Step 2: Adding Some Necessary WAMP Modules

If you are planning on using WordPress it’s probably because of the features if offers so you will most likely be using some features and/or plugins that require a couple of different modules to be activated, so lets do that now.

Under WAMP icon->Apache->Apache Modules you will want to select “rewrite_module” so that the WordPress Permalinks work.

After you check the module you will need to wait a few seconds for the server to reboot.

After you check the module you will need to wait a few seconds for the server to reboot.

If your using a cache plugin you will also want to active the headers_module and expires_module.

If you are going to be using an ssl you will want to active the ssl_module.

Step 3: Creating A Database For Your WordPress Site

You should now be able to log into your phpMyAdmin using the username “root” and the password you just set in the above steps. Open your browser and visit the following URL http://localhost/phpmyadmin/.

phpMyAdmin Local Host Login Page

Now that you are logged in, its time to create the database that our WordPress installation is going to use by clicking on “Databases” then entering your database name and clicking “Create”

phpMyAdmin, Creating A Database

That’s it, you should now have a new database available in the left hand column.

Step 4: Installing WordPress

Go to http://wordpress.org/download/ and download the latest version of WordPress.

Download The WordPress Files

Now that we have the WordPress files downloaded we need to unzip the packet and place the files into a new directory that you need to create at C:\www\you-new-directory (or your custom directory if you chose not to use the default WAMP setup).

Your newly created directory should now look like this:

WordPress Main Directory Files

You are nearly complete, now all we need to do is run through the WordPress installation wizard and connect it to the database we created earlier. This part is quite simple, just visit the folder you added the WordPress files to from any browser http://localhost/your-new-directory, or in my case http://localhost/wordpress-test and follow the WordPress installation prompts.

WordPress will automatically create a configuration file for you.

WordPress will automatically create a configuration file for you.

The information you will need to connect WordPress.

The information you will need to connect WordPress.


 Fill in the fields with the information from previous steps and click submit.


Fill in the fields with the information from previous steps and click submit.

WordPress will verify that it is able to connect to the database, after you get the ok, click “Run The Install”.

WordPress will verify that it is able to connect to the database, after you get the ok, click “Run The Install”.

If you see a connection error check your mySQL username and Password and try again.

Fill in the fields with your Website Information.

Fill in the fields with your Website Information.

Great Success!

Great Success!

That’s it, your done! Congratulations, you now have a local WAMP server running your first WordPress Installation. You should be able to see your website by visiting http://localhost/your-new-directory.

Leave A Comment?