How to install Wordpress on Windows under IIS - Step by Step - Part 3

January 10, 2008 – 6:53 pm

This is Part 3 of an easy step by step tutorial on how to install Wordpress on a Windows Platform and run it under Internet Information Services (IIS).

If you have not read Part 1 or Part 2 see below:

How to install Wordpress on Windows under IIS - Part 1 .

How to install Wordpress on Windows under IIS - Part 2.

Let’s continue with Part 3.

MySQL

  1. We now need to create the WordPress database in MySQL. If you have followed Part 1 and Part 2
    step by step you should see the "index.php" site on "http://localhost/"

    1. Open a browser and type in "http://localhost/" - you should a page that looks like the image below.

      WampServer Configuration Page

    2. We have to create a database in MySQL using the phpmyadmin tool. The problem is that WampServer is installed to run under Apache as a default. This means that when you click on "phpmyadmin" under tools you will probably get "The page cannot be found" error. So we have to do a quick work around this problem. If it does open the "phpmyadmin" you can move onto step 6.
    3. Open the folder that WampServer creates when you install it. That is “C:\wamp\”. Now go into the "apps" folder and copy the "phpmyadmin2.10.1" folder. Now go back once and open the "www" folder. Now go to Edit -> Paste. So the "phpmyadmin2.10.1" folder so now be inside “C:\wamp\www”.
    4. Rename the folder "phpmyadmin2.10.1" to "phpmyadmin"
    5. Open your browser again and go to "http://localhost/".
    6. Click on "phpmyadmin" under tools.
    7. In the "Create new database" field type in "wordpress" and click create.
    8. After the database has been created click on "Server: localhost" at the top of the page.
    9. Click on "Privileges" 4th from the bottom in the list.
    10. Now click "Add a new User".
    11. In the "Username" field type in "wordpress" or whatever username you would like to use.
    12. Under "Host" drop the the drop menu and select "Local".
    13. Type in a Password in the "Password" field and confirm it in the "Re-type" field.
    14. Skip "Database for user" section. Default is "None".
    15. Next to "Global privileges" click on "Check All"
    16. Scroll down to the bottom and click "Go".
    17. Now that you have created the WordPress database in MySQL we can move onto setting up WordPress.
  2. WordPress Setup

    We are almost there and WordPress setup is the easiest part.

    1. Open the WordPress zip file that you downloaded from the WordPress web site.
    2. Copy the folder "WordPress" and paste into the WampServer default www folder - “C:\wamp\www”
    3. After coping is done open the "WordPress" folder and look for the file "wp-config-sample.php".
    4. Rename it to "wp-config.php" and open it with a text editor. You can even use Notepad.
    5. You only have to make 3 changes
      1. Replace "putnyourdbnamehere" with "wordpress"
      2. Replace "usernamehere" with "wordpress" or your chosen username
      3. Replace "yourpasswordhere" with your chosen password.
    6. Save the file and close it.
    7. Open your browser and go to "http://localhost/wordpress".
    8. You should see the "Wordpress Welcome" screen.
    9. Just fill in your details and click Install WordPress.
    10. Write down your password and Click Log in. If you can change your password in the Admin section.
    11. That’s It, You’re Done !!! You have successfully Installed WordPress on Windows Under IIS.

If you have found this tutorial useful please link to it from your site. Use the following code:

<a href="http://www.7three.com/blog/computers/tips-tricks/install-wordpress-windows-iis-part1-10/">Install WordPress on Windows under IIS </a>

If you want to find out how to create "Pretty" permalinks without changing IIS’ custom 404 redirects please see below.

Related Posts:



Leave a Reply