<httpErrors errorMode="DetailedLocalOnly">
<remove statusCode="404" />
<error statusCode="404" path="/404.html" responseMode="ExecuteURL" />
</httpErrors>
<rules>
<!--301重定向-->
<rule name="m products/ceramic-ball-mill.html" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^m.aa.com$" />
<add input="{HTTP_URL}" pattern="^/products/chinaware.html$" />
</conditions>
<action type="Redirect" url="https://m.aa.com/products/ceramic.html" redirectType="Permanent" />
</rule>
<!--301重定向 end-->
<!--首页 index.html 跳转-->
<rule name="pc index.html Redirect to /" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^www.aa.com$" />
<add input="{HTTP_URL}" pattern="^/index.html$" />
</conditions>
<action type="Redirect" url="https://www.aa.com" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="pc nowww index.html Redirect to /" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^aa.com$" />
<add input="{HTTP_URL}" pattern="^/index.html$" />
</conditions>
<action