Obtaining and Installing URL Rewrite

URL Rewrite is an add-on module and isn't natively a part of IIS. Fortunately, it's easy to obtain and install.

Microsoft's preferred method of obtaining URL Rewrite is using the Web Platform (WebPI) installer. To install URL Rewrite, open WebPI, filter for URL Rewrite, and download.

Because WebPI isn't installed by default, you may not have it on your system yet. It's still easy to obtain URL Rewrite. Visit www.iis.net in your web browser and search for URL Rewrite. It should be a top choice. At the time of this writing, URL Rewrite Module 2.0 is the latest version. You should be presented with two options: Install with Microsoft Web Platform Installer or download for x86 / x64. You can take your pick. URL Rewrite doesn't have any dependencies, so either will work. When using Microsoft Web Platform Installer, it will be able to detect your “bitness” for you. If you are installing manually, use x86 if your operating system is 32-bit, and use x64 if your operating system is 64-bit. Since Windows Server 2012 is available only in 64-bit, it's an easy discussion when installing on Windows Server.

After downloading URL Rewrite, simply follow the wizard to complete the installation. If IIS Manager was already open on your desktop before the install, close and re-open it.

Get Professional Microsoft IIS 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.