帝国cms 如何让tag伪静态配置IIS7.5 访问动态tag链接跳转伪静态链接
<rule name="tag" stopProcessing="true">
<match url="^tag/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/tags/?tagid={R:1}" appendQueryString="true" />
</rule>
<rule name="tag动态跳静态" stopProcessing="true">
<match url="^e/tags?" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^tagid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/tag/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
本方法适用于web.config配置 iis7.5
帝国cms 如何让tag伪静态配置IIS7.5 访问动态tag链接跳转伪静态链接
于 2018-11-29 18:02:13 首次发布