A5下载 - 努力做内容最丰富最安全的下载站!

A5站长下载站

当前位置:A5下载 > 源码技巧 > 帝国cms > 帝国CMS伪静态怎么设置

帝国CMS伪静态怎么设置

时间:2015-05-20 13:57作者:sa人气:73

我们来配置帝国cms伪静态规则httpd.ini 文件如下:

[ISAPI_Rewrite]

# 3600= 1hour

CacheClockRate 3600

RewriteEngine On

RepeatLimit 32

#301重定向#

RewriteCond Host: ^phpfensi.com$

RewriteRule (.*)http://www.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

 

标签帝国,CMS,静态,怎么,设置,我们,配置,帝国,cms,静

相关下载

查看所有评论+

网友评论

网友
您的评论需要经过审核才能显示

公众号