PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > CMS教程 > 帝国cms教程 > 正文

    帝国CMS伪静态怎么设置

    作者:w634381967来源:网络浏览:时间:2020-09-30 00:07:50我要评论
    导读:帝国CMS伪静态怎么设置,今天小编分享一下给大家,希望对你们有用。
    我们来配置帝国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 

    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-105-1325-1.html
    相关热词搜索: