网站域名重定向

 

 

  <system.webServer>

<httpRedirect enabled="false" destination="Wapshop" httpResponseStatus="Permanent" />
<rewrite>
<rewriteMaps>
<rewriteMap name="/" />
</rewriteMaps>
<rules>
<rule name="move" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{URL}" pattern="^\/$" />
</conditions>
<action type="Redirect" url="Wapshop" appendQueryString="false" />
</rule>
</rules>
</rewrite>

  </system.webServer>

 

 

主域名无条件跳转到 主域名/wapshop/

 

posted on 2015-05-08 14:37  王赫赫  阅读(251)  评论(0编辑  收藏  举报

导航