<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTP_HOST}" pattern="^wangzhanchengxu.com$" /> </conditions> <action type="Redirect" url="http://www.wangzhanchengxu.com/{R:0}" redirectType="Permanent" /> </rule> <rule name="Index" stopProcessing="true"> <match url="^index.html" /> <action type="Rewrite" url="index.php" /> </rule> <rule name="Imported Rule 1"> <match url="^list-([0-9]+)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-([0-9]+).html$" ignoreCase="false" /> <action type="Rewrite" url="index.php?m=content&c=index&a=lists&catid={R:1}&diqu={R:2}&jg={R:3}&jy={R:4}&lx={R:5}&sbfl={R:6}&zs={R:7}&page={R:8}" appendQueryString="false" /> </rule> <rule name="Imported Rule 2"> <match url="^list-([0-9]+)-([0-9]+).html$" ignoreCase="false" /> <action type="Rewrite" url="index.php?m=content&c=index&a=lists&catid={R:1}&page={R:2}" appendQueryString="false" /> </rule> <rule name="Imported Rule 3"> <match url="^show-([0-9]+)-([0-9]+)-([0-9]+).html$" ignoreCase="false" /> <action type="Rewrite" url="index.php?m=content&c=index&a=show&catid={R:1}&id={R:2}&page={R:3}" appendQueryString="false" /> </rule> <rule name="Imported Rule 4"> <match url="^content-([0-9]+)-([0-9]+)-([0-9]+).html$" ignoreCase="false" /> <action type="Rewrite" url="index.php?m=content&c=index&a=show&catid={R:1}&id={R:2}&page={R:3}" appendQueryString="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration>