Installing WordPress (Single-User)
Table of contents for Installing WordPress On IIS From the Ground Up
- Installing MySQL on Windows
- Installing FastCGI on IIS6
- Installing PHP on Windows and IIS
- Installing phpMyAdmin on Windows and IIS 6.0
- Preparing to Install WordPress on Windows and IIS
- Installing WordPress (Single-User)
- Troubleshooting on IIS7
This article will show the exact steps for setting up a single-user WordPress blog.
Dependencies
Before you can perform the steps in this article, make sure that you’ve performed the steps in the following articles:
- Installing MySQL on Windows
- Installing PHP on Windows and IIS
- Installing phpMyAdmin on Windows and IIS 6.0
- Preparing to Install WordPress on Windows and IIS
If you’ve performed these steps, you are ready to install WordPress.
Configure WordPress
Before we can create the WordPress site, we have to create a configuration script which will tell it where to find the database for storing content, how to access it, and other settings.
- Load the wp-config-sample.php file found in the root of the WordPress files you copied earlier in a text editor.

- Set the name of the database the site is to use and the user and password for accessing it that you specified earlier when creating the database.

- You need to specify several unique keys for proper authentication. Scroll down to the Authentication Unique Keys section.

- You’ll notice in that section that there is a URL for generating those keys - https://api.wordpress.org/secret-key/1.1/. Navigating to that location in an Internet browser will automatically generate the keys. If you don’t like the keys, refresh the page to generate new ones.

- Copy the lines from that page and replace the lines in the WordPress configuration file (lines 44 through 47 in the above image).
- If you plan to store the content for multiple WordPress sites in the same database, you will want to change the table prefix for each one. The default value is wp_, which works great for most sites. Scroll down to the WordPress Database Table prefix section in the file. Change the prefix to a value that makes sense for the new site, if necessary.

- Some WordPress plugins don’t work properly if WPLANG is not set to a valid non-empty value. Scroll down to the WordPress Localized Language section and set the value to en for English.

- Save the file in the same directory as wp-config.php.
Create WordPress Blog
Now it’s time to actually create the web site.
- Navigate to the URL for your site. You should see the WordPress welcome page for installing the blog.

- Type the name you want to give to your blog in the Blog Title box. This could be something as simple as Joe’s Blog or it could be the name of your business.
- Type your email address. This is used as the email address for the admin account.
- If your site is an internal blog, e.g. for your company or is a test blog, uncheck the Allow my blog to appear in search engines like Google and Technorati. Otherwise leave it checked.
- Click the Install WordPress button. You should be presented with a Success page that gives you a username and a password for logging in to the site. Note that this password is randomly generated and will be different each time you set up a WordPress site. Select the password with your mouse and copy it to your clipboard. Then click on the Log In button.Note that if you lose this password, you will have to delete the tables that were created and start over.

- Notice that the name you specified for the title of your blog is displayed at the top of the login page. Enter admin for the username and paste the password you copied to the clipboard into the password box. You’re going to change the password right away, so don’t check the Remember Me checkbox. Now click the Log In button.

- You are now presented with the dashboard for your blog. This page gives you an overview of posts, pages, comments, etc. that are part of your WordPress web site. You’ll notice at the top right of the page is a greeting - Howdy, admin. Isn’t that nice? WordPress does not allow you to change usernames, so if you want to use a different username for logging in to your site, you’ll want to create a new user and make it an admin. To do that, click on the Users link on the left and then click on the Add New link underneath it.You could also simply use the admin account. If you want to do that, click on the word admin in the upper right so that you can change the options for your profile, most importantly the password.

- The Profile page allows you to modify the options for the user, including first and last name, contact info, and, most importantly, the password.

Scroll down to the bottom of the page and enter a new password in both boxes. Then click the Update Profile button.

Your WordPress web site is now set up and ready to receive visitors. Take some time to explore the dashboard and the other parts of the admin panel. The next parts of this series will discuss various WordPress plugins to consider for your site.
Resources
- Installing WordPress on IIS7 - Part 1 by Dave Lawlor
- Install WordPress on WEMP (Windows nginx, MySQL and PHP) by Hendry Lee
- Installing WordPress at WordPress.org




March 30th, 2009 at 7:27 am
Very nice directions! Do you plan to do something similar for Worpress MU in the future ?
March 30th, 2009 at 8:59 am
I’ll probably write something, but it probably won’t be as detailed as it doesn’t look like WordPress-MU is supported on IIS. Too bad really as it is a nice solution.
September 19th, 2009 at 7:05 pm
When will you write your directions for WordPress-MU?? We have been waiting and waiting 6 months already…:)
October 30th, 2009 at 11:07 pm
As it turns out, WordPress-MU requires Apache. It will require a lot of work to get it functioning on IIS, so I finally gave up. Sorry for leading you on like that.
November 9th, 2009 at 3:39 pm
Hi David,
I am new in the Wordpress World and found your instructions very useful to setup my first blog. Thanks a lot!
Ric
January 7th, 2010 at 2:48 pm
Thank you!
Great directions - much appreciated.