首先请下载以下附件: IIS Rewrite模块 附件:Rewrite.rar
其中httpd.ini为配置文件内容如下:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rewrite 系统规则请勿修改 PHPCMS3.0
RewriteRule ^(.*)/show-([0-9] )-([0-9] )\.html$ $1/show\.php\?itemid=$2&page=$3
RewriteRule ^(.*)/list-([0-9] )-([0-9] )\.html$ $1/list\.php\?catid=$2&page=$3
RewriteRule ^(.*)/show-([0-9] )\.html$ $1/show\.php\?specialid=$2
将其解压到任意目录,如: C:\Rewrite
打开控制面板治理工具IIS信息服务治理器网站您站点属性。在ISAPI筛选器项点击 添加, 筛选器名称填入Rewrite,可执行文件为C:\Rewrite\Rewrite.dll
后台-内容-内容管理-栏目管理-选择某个栏目-修改-生产html选项
勾完以后更新一下栏目缓存