ASP: web.config redirect to another domain with no rules – v2


<rewrite>
  <rules>
    <rule name="redirect" enabled="true">
      <match url="(.*)" />
      <action type="Redirect" url="http://www.example.com/" appendQueryString="true" redirectType="Permanent" />
    </rule>
  </rules>
</rewrite>

Comments are closed.