IIS设置dede伪静态
1、登录你的dede后台,系统 - 系统设置 - 系统基本参数 - 核心设置- 是否使用伪静态:请选择(是),如图:

5、DedeCms搜索伪静态DedeCms搜索URL静态化比较麻烦,附带参数多不说,参数也可能变化,像搜索结果分页的URL就特麻烦,伪静态规则匹配复杂。将搜索URL中“search.php?…”直接替换为“search.html?…”,至于“?”号之后的参数以任意字符进行匹配。依次打开include文件夹下的channelunit.func.php、arc.searchview.class.php、 arc.taglist.class.php以及/include/taglib/hotwords.lib.php,查找“search.php?”替 换为“search.html?”即可。至此,整个伪静态修改添加过程结束,现在你再重新更新全站访问试试。
6、另外附上web.config网站配置文件信息,诔罨租磊IIS8.5是这个配置文件里写伪静态规则<?xml version="1.0"稆糨孝汶; encoding="UTF-8"?><configuration> <system.webServer> <rewrite> <rules> <rule name="index.php重写"> <match url="^(.*)index\.html" /> <action type="Rewrite" url="{$1}index.php" /> </rule> <rule name="list.php列表页重写"> <match url="^(.*)list-([0-9]+)\.html" /> <action type="Rewrite" url="{R:1}plus/list.php?tid={R:2}" /> </rule> <rule name="list列表页分页规则"> <match u.rl="^(.*)list-([0-9]+)-([0-9]+)-([0-9]+)\.html" /> <action type="Rewrite" url="{R:1}plus/list.php?tid={R:2}&TotalResult={R:3}&PageNo={R:4}" /> </rule> <rule name="内容页重写规则"> <match url="^(.*)view-([0-9]+)-([0-9]+)\.html" /> <action type="Rewrite" url="{R:1}plus/view.php?aid={R:2}&pageno={R:3}" /> </rule> <rule name="搜索页重写规则"> <match url="^(.*)search\.html(?:(\?.*))*" /> <action type="Rewrite" url="{R:1}search.php?{R2}" /> </rule> </rules> </rewrite> </system.webServer></configuration>