本文实例讲述了帝国cms7.0iis伪静态设置方法。分享给大家供大家参考。具体实现方法如下:
帝国CMS7.0IIS伪静态教程步骤:
1、进后后台 - 系统 - 系统设置 - 伪静态参数设置 - 都点击默认
2、在网站根目录(web文件夹)下建一个文件,文件名及后缀格式为:httpd.ini
3、用txt/记事本模式打开httpd.ini文件,将下面的内容复制到该文件内:
推荐学习《帝国cms教程》
代码如下:
[ISAPI_Rewrite]# 3600 = 1 hourCacheClockRate 3600RewriteEngine OnRepeatLimit 32#帝国##信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].htmlRewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo\.php\?classid=$2&id=$3&page=$4#信息列表:listinfo-[!--classid--]-[!--page--].htmlRewriteRule ^(.*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index\.php\?classid=$2&page=$3#标题分类列表页:infotype-[!--ttid--]-[!--page--].htmlRewriteRule ^(.*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index\.php\?ttid=$2&page=$3#TAGS信息列表页:tags-[!--tagname--]-[!--page--].htmlRewriteRule ^(.*)/tags-(.+?)-(.+?)\.html$ $1/e/tags/index\.php\?tagname=$2&page=$3