WordPress.org

Ready to get started?Download WordPress

Codex

Installing on Microsoft IIS

Contents

Install Internet Information Services 8.5 and WordPress 3.x by Using the Microsoft Web Platform Installer 4.6

This article describes how to install and configure WordPress 3.x on Windows Server 2012 R2 by using the Microsoft Web Platform Installer (Web PI) version 4.6. As of November 27, 2013, the latest version of WordPress is 3.7.1.

The Web PI is a free tool that makes getting the latest components of the Microsoft Web Platform—including Internet Information Services (IIS), MySQL, the Microsoft .NET Framework, and Visual Web Developer—quick and easy. The Web PI also lets you install web applications such as WordPress with the built-in Windows Web App Gallery.

To install WordPress on IIS 8.5 by using the Web PI 4.6, follow these steps:

Prequisites

Step 1. Install the Web Platform Installer 4.6

Step 2. Select the products and applications to install

Step 3. Review and configure the selected products and applications

Step 4. Complete the installation and configuration

Step 5. Enable clean URLs (Pretty Permalinks)

Prerequisites

The supported operating systems for the Web PI 4.6 are Windows 8.1, Windows 8, Windows 7, Windows Vista Service Pack 1 (SP1), Windows Vista, Windows XP Service Pack 2 (SP2) and later versions, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, and Windows Server 2003 Service Pack 1 (SP1) and later versions.

For this guide, it is assumed that you have Windows Server 2012 R2 installed on your computer. You will also need an Internet connection and administrator privileges for your computer.

It is a good idea to confirm that your system meets the hardware requirements for IIS 8.5. See http://technet.microsoft.com/en-us/library/dn303418.aspx for more information.

Step 1. Install the Web Platform Installer 4.6

In this step, you begin to install the Web PI 4.6, which is a 1.3 MB download.

  1. Log on to Windows Server 2012 R2 as a user who has administrative privileges.
  2. Start Windows Internet Explorer.
  3. Go to http://www.microsoft.com/web/downloads/platform.aspx, and then click Download It Now.
    Microsoft Web Platform Installer 4.6 webpage
  4. Click Run.
    File download security warning
  5. Click Run again.
    Internet Explorer security warning
  6. Wait a few seconds for the Web PI 4.6 to start.

Step 2. Select the products and applications to install

In this step, you select the version of WordPress that you want to install. WordPress 3.7.1 is used in this guide.

  1. Next to WordPress, click Add.
    Note: If WordPress is not in the items list, click Applications in the left navigation pane.
    List of apps on WebPI
  2. Click Install.
    Select WordPress on WebPI

Step 3. Review and configure the selected products and applications

In this step, you review and configure what you have added. Additionally, you add the database and configure the password for it.

  1. When you are asked which type of database you want to use, leave MySQL (Not installed) selected.
    Note: This will install MySQL 5.1 for Windows to handle all the database transactions that are required by WordPress.
  2. In password fields, type in a password for your database, and then click Continue.
    Database engine configuration
  3. Review the files to be downloaded and installed, as well as the license agreements, and then click I Accept.
    Application installation summary
  4. Allow the Web PI installation to complete.
    WordPress Installation process
  5. Click Finish.
    Installation completed
  6. Microsoft WebMatrix will open, allowing you to configure additional settings related to your WordPress site:WebMatrix summary screen

Step 4. Complete the installation and configuration

In this step, you complete the installation.

  1. Switch to Internet Explorer.
  2. Go to your WordPress website. For example, go to http://localhost/myWordPress.
  3. In the Site Title box, type the name of your site.
  4. In the Password, twice boxes, type a password for the admin account.
    WordPress site configuration
  5. In the Your E-mail box, type the email address for the admin account.
  6. Click Install WordPress.
    WordPress site configuration (continued)
  7. Click Log In.
    WordPress site configuration completed
  8. Type admin, type the password, and then click Log In.
    WordPress login

Step 5. Enable clean URLs (Pretty Permalinks)

In this step, you enable Pretty Permalinks now that WordPress has been installed.

  1. In the Dashboard menu, click Settings.
    WordPress dashboard menu
  2. Scroll down, and then click Permalinks.
    Settings
  3. Under Common settings, select a common Permalink setting or select Custom Structure to create your own Permalink, and then click Save Changes.
    Permalink settings
  4. Click in the gray text field, press CTRL + A, and then press CTRL + C.
    Web.config file contents
  5. Start Notepad as an administrator. To do this, click Start, type notepad in the search box, right-click Notepad in the list of results, and then click Run as administrator.
    Start menu
    Run as administrator command
  6. If you are prompted by User Account Control, click Yes.
    Administrative allowance
  7. In Notepad, press CTRL + V to paste the code that you copied from the WordPress configuration page.
    Web.config file contents
  8. Click File, and then click Save As.
    Notepad Save As menu
  9. In the Save As dialog box, browse to C:\intepub\wwwroot\myWordPress.
    Note: This step assumes that you named the WordPress site myWordPress during installation. If you used a different name, use that name instead of myWordPress.
  10. In the File name box, type web.config.
  11. In the Save as type box, click All Files.
  12. Click Save, and then close Notepad.
    Save As dialog box

The installation is now complete, and you are ready to use WordPress!

Additional Information

This article is marked as in need of editing. You can help Codex by editing it.