帝国CMS该如何伪静态
发布时间:2022-06-29 08:32:28 所属栏目:教程 来源:互联网
导读:我们来配置帝国cms伪静态规则httpd.ini 文件如下: [ISAPI_Rewrite] # 3600= 1hour CacheClockRate 3600 RewriteEngine On RepeatLimit 32 #信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html RewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?)
我们来配置帝国cms伪静态规则httpd.ini 文件如下: [ISAPI_Rewrite] # 3600= 1hour CacheClockRate 3600 RewriteEngine On RepeatLimit 32 #信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html RewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?).html$ $1/e/action/ShowInfo.php? classid=$2&id=$3&page=$4 #标题分类列表页:infotype-[!--ttid--]-[!--page--].html RewriteRule ^(.*)/infotype-(.+?)-(.+?).html$ $1/e/action/InfoType/index.php? ttid=$2&page=$3 #TAGS信息列表页:tags-[!--tagname--]-[!--page--].html RewriteRule ^(.*)/tags-(.+?)-(.+?).html$ $1/e/tags/index.php?tagname=$2&page=$3 。 (编辑:昌吉站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐