web.config伪静态配置的一些方法收集

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”rule1″ stopProcessing=”true”>
<match url=”^tags/(.*)” />
<action type=”Rewrite” url=”tag.php?tag={R:1}” />
</rule>
<rule name=”rule2″ stopProcessing=”true”>
<match url=”^tags.html” />
<action type=”Rewrite” url=”tags.php” />
</rule>
<rule name=”rule3″ stopProcessing=”true”>
<match url=”^index.html” />
<action type=”Rewrite” url=”index.php” />
</rule>
<rule name=”rule4″ stopProcessing=”true”>
<match url=”^.*show-.*([0-9])-([0-9]).html” />
<action type=”Rewrite” url=”show.php?contentid={R:1}&amp;page={R:2}” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

未经允许不得转载:郑州seo|不知则问,不能则学!-郑州seo笔记 » web.config伪静态配置的一些方法收集

赞 (0)
'); })();