帝國cms7.5 IIS7.5版本的會員空間偽靜態配置大全
2024-08-28 12:26:24
供稿:網友
<rule name="會員空間首頁" stopProcessing="true">
<match url="^wb/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="/e/space/?userid={R:1}&r=1" appendQueryString="false" />
</rule>
<rule name="會員空間首頁動態跳靜態" stopProcessing="true">
<match url="^e/space/?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="會員空間首頁1" stopProcessing="true">
<match url="^wb/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="/e/space/index.php?userid={R:1}&r=1" appendQueryString="false" />
</rule>
<rule name="會員空間首頁動態跳靜態1" stopProcessing="true">
<match url="^e/space/index.php?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="公司介紹" stopProcessing="true">
<match url="^wb/info/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/space/UserInfo.php?userid={R:1}" appendQueryString="false" />
</rule>
<rule name="公司介紹動態跳靜態" stopProcessing="true">
<match url="^e/space/UserInfo.php?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/info/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="聯系我們" stopProcessing="true">
<match url="^wb/lx/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/space/feedback.php?userid={R:1}" appendQueryString="false" />
</rule>
<rule name="聯系我們動態跳靜態" stopProcessing="true">
<match url="^e/space/feedback.php?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/lx/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="公司觀點" stopProcessing="true">
<match url="^wb/news/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/space/list.php?userid={R:1}&mid=1" appendQueryString="false" />
</rule>
<rule name="公司觀點動態跳靜態" stopProcessing="true">
<match url="^e/space/list.php?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)&mid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/news/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="公司觀點1" stopProcessing="true">
<match url="^wb/news/([0-9]+)/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/space/list.php?page={R:1}&userid={R:2}&mid=1" appendQueryString="true" />
</rule>
<rule name="公司觀點動態跳靜態1" stopProcessing="true">
<match url="^e/space/list.php?$" ignoreCase="true" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^page=(/w+)&userid=(/w+)&mid=(/w+)$" />
</conditions>
<action type="Redirect" url="/wb/news/{C:1}/{C:2}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<rule name="會員空間聯系方式" stopProcessing="true">
<match url="^wb/contact/([0-9]+).html$" ignoreCase="false" />
<action type="Rewrite" url="e/space/gbook.php?userid={R:1}" appendQueryString="false" />
</rule>
<rule name="會員空間聯系方式動態跳靜態" stopProcessing="true">
<match url="^e/space/gbook.php?$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^userid=([0-9]+)$" />
</conditions>
<action type="Redirect" url="/wb/contact/{C:1}.html" appendQueryString="false" redirectType="Permanent" />
</rule>
<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>