<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="emlogRule 1">
<match url="^(post[-]record[-]sort[-]author[-]page)-([0-9]+).html$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?{R:1}={R:2}" appendQueryString="false" />
</rule>
<rule name="emlogRule 2">
<match url="^tag-(.+).html$" ignoreCase="false" />
<action type="Rewrite" url="index.php?tag={R:1}" appendQueryString="false" />
</rule>
<rule name="emlogRule 3">
<match url="^t/page-([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="t/index.php?page={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
文章评论 本文章有个评论