Configuring Rewrite Rules

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

There are many factors that make up a rewrite rule, and the most basic consideration is the purpose of the rewrite rule. There are two types of rules that you can create by using the IIS 7 URL Rewrite module:

  • Inbound rules: Inbound rules modify the URLs for HTTP requests. These rules are often used for creating URL or user-friendly namespaces, or URL hierarchies that can be indexed by search engines. For more information about how to create inbound rewrite rules, see Configuring Inbound Rewrite Rules.

  • Outbound rules: Outbound rules modify the content of HTTP responses. For example, if you changed the syntax of the inbound rules for your Web site, you could use outbound rules to rewrite the URLs in your pages that point to the old syntax. For more information about how to create outbound rewrite rules, see Configuring Outbound Rewrite Rules.

See Also


Configuring Inbound Rewrite Rules
Configuring Outbound Rewrite Rules

Other Resources

Creating rewrite rules for the URL Rewrite Module