帝国cms搜索伪静态
时间:
阅读:338
帝国cms搜索伪静态
最佳回答
配置帝国cms伪静态规则httpd.ini 文件如下:
[ISAPI_Rewrite]
# 3600= 1hour
CacheClockRate 3600
RewriteEngine On
RepeatLimit 32
#301重定向#
RewriteCond Host: ^phpfensi.com$
RewriteRule (.*)ht tp :/ /w ww.phpfensi.com$1[I,RP]
#帝国#
#信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html
RewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?).html$ $1/e/action/ShowInfo.php?
classid=$2&id=$3&page=$4
#信息列表:listinfo-[!--classid--]-[!--page--].html
RewriteRule ^(.*)/listinfo-(.+?)-(.+?).html$ $1/e/action/ListInfo/index.php?
classid=$2&page=$3
#标题分类列表页: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
(转载)
[ISAPI_Rewrite]
# 3600= 1hour
CacheClockRate 3600
RewriteEngine On
RepeatLimit 32
#301重定向#
RewriteCond Host: ^phpfensi.com$
RewriteRule (.*)ht tp :/ /w ww.phpfensi.com$1[I,RP]
#帝国#
#信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html
RewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?).html$ $1/e/action/ShowInfo.php?
classid=$2&id=$3&page=$4
#信息列表:listinfo-[!--classid--]-[!--page--].html
RewriteRule ^(.*)/listinfo-(.+?)-(.+?).html$ $1/e/action/ListInfo/index.php?
classid=$2&page=$3
#标题分类列表页: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
(转载)
最新回答共有2条回答
-
游客
回复用帝国的站长们当然看中的是他的灵魂功能 安全稳定全站生成 但是面对现实来说 数据量百万内可以选择静态 百万以上伪静态并且要优化很多细节比如分布式缓存 读写分离,当然了百万以内也可以选择伪静态 只是url自己需要开发diy一个 默认的url品相不好 而静态生成可以随意自定义