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

返回前面的内容

相关阅读 >>

dedecms系统安全设置 防止入侵,挂马的基本安全操作方法

织梦DedeCMS实现留言板调用模板头部及底部的方法

织梦DedeCMS中自定义表单必填项的设置方法

dedecms实用漂亮的翻页效果修改方法第13页

dede添加自定义属性完美解决方案

dedecms获取图片集多张图片实现方法(循环输出)

dedecms 5 .7 自定义表单制作和调用办法[图文]

dedecms获取登录用户名与id号的方法

dedecms自定义模型解决会员无法投稿的方法

超高级dedecms采集,自动生成原创文章原理

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



打赏

取消

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

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

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

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

评论

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