最新消息:郑州SEO笔记与大家一起分享和学习seo知识,一起分析网站seo案例,探析seo技巧!

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

网站建设 admin 710浏览

<?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优化_郑州网站优化 » web.config伪静态配置的一些方法收集