Thread: ASP.NET/URL Rewrite

URL Rewrite

www.iis.net/download/URLRewrite





Re: URL Rewrite

learn.iis.net/page.aspx/664/using-url-rewrite-module-20/


learn.iis.net/page.aspx/806/seo-rule-templates/





Re: URL Rewrite
Using IIS 7.5 URL Rewrite, how can I redirect all requests not from a particular subdomain to a specific page?

<rule name="Rewrite all but one subdomain" stopProcessing="true">
  <match url="domain.com" />
  <conditions logicalGrouping="matchAll">
    <add input="{HTTP_HOST}" negate="true" pattern="^x.domain\.com$" />
    <add input="{HTTP_HOST}" negate="true" pattern="^domain\.com$" />
  </conditions>
  <action type="Redirect" url="http://domain.com/a/" appendQueryString="false" />
</rule>

<rule name="Rewrite domain requests" stopProcessing="true">
  <match url="domain.com" />
  <conditions logicalGrouping="matchAll">
    <add input="{HTTP_HOST}" pattern="^domain\.com$" />
    <add input="{PATH_INFO}" pattern="^/a/$" negate="true" />
  </conditions>
  <action type="Redirect" url="http://domain.com/a/" appendQueryString="false" />
</rule>




Re: URL Rewrite
URL Rewrite 2.0 Performance