标题 | 帝国cms伪静态规则apache下的.htaccess规则 |
范文 | 帝国cms7.0可以支持伪静态了。下面教大家如何来开启伪静态,这里的规则是默认的规则,需要更加个性化的,可以依据次处修改。 首先进后后台,系统——系统设置——伪静态参数设置——都点击默认 [ISAPI_Rewrite] # 3600 = 1 hour 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 #信息列表: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 |
随便看 |
|
在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。