dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="list-([0-9]+)\.html" ignoreCase="false" />
<action type="Rewrite" url="plus/list.php?tid={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2">
<match url="list-([0-9]+)-([0-9]+)-([0-9]+)\.html" ignoreCase="false" />
<action type="Rewrite" url="plus/list.php?tid={R:1}&TotalResult={R:2}&PageNo={R:3}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="view-([0-9]+)-([0-9]+)\.html" ignoreCase="false" />
<action type="Rewrite" url="plus/view.php?arcID={R:1}&pageno={R:2}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!