DedeCMS系统TAG标签和分页伪静态设置教程的实现


当前第2页 返回上一页

我们这里以iis7为例子,设置以下规则:

<?xml version="1.0" encoding="UTF-8"?> 
<configuration> 
<system.webServer> 
<rewrite> 
<rules> 
<rule name="weather1" stopProcessing="true"> 
<match url="tags/([^-]+)\.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}" 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> 

好了,至此就搞定了。如果您还有什么问题,请与最火软件站联系。


标签:织梦DedeCMS

返回前面的内容

相关阅读 >>

详解织梦标签{dedefreelist}列表调用增加排序方式的代码

织梦DedeCMS 自定义修改文章命名规则方法

dede(织梦)网站前端仿站步骤教程

dedecms v5.3采集简易教程

织梦DedeCMS安装教程 织梦cms怎么使用

dedecms调用当前栏目id与当前栏目顶级id的方法

dedecms做英文站修改方法

dedecms自定义联动类别调用及修改方法

织梦DedeCMS实现 三级栏目_二级栏目_一级栏目_网站名称 的效果代码

dedecms首页调用图片集里的多张图片

更多相关阅读请进入《织梦DedeCMS》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...