dedecms织梦Tag标签伪静态设置方法(3)

                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

                    </conditions>

                    <action type="Rewrite" url="/tags.php?/{R:1}" appendQueryString="false" />

                </rule>

                <rule name="weather2" stopProcessing="true">

                    <match url="tags/([^-]+)-([0-9]+).html$" ignoreCase="true" />

                    <conditions logicalGrouping="MatchAll">

                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />

                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />

                    </conditions>

                    <action type="Rewrite" url="/tags.php?/{R:1}/{R:2}" appendQueryString="false" />

                </rule>

            </rules>

        </rewrite>

    </system.webServer>

</configuration>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/ad891a629850c538b91e577c54828cfa.html