-->

帝国cms伪静态规则(帝国cms栏目拼音伪静态)

如何设置Imperial伪静态Apache Rewrite?

如何设置Empire伪静态的Rewrite Apache Empire CMS7.0提供了伪静态设置。本文简单介绍Empire 7.0下伪静态Apache的Rewrite设置方法如下:

推荐学习《帝国cms教程》

代码如下:

# 开启RewriteEngine模式RewriteEngine On #信息内容页: showinfo-3-12047-[!--page--].htmlRewriteCond %{QUERY_STRING} ^(.* )$RewriteRule ^showinfo-(.+?)-(.+?)-(.+?).html$ /e/action/ShowInfo.php?classid=$1id=$2page=$3/p p#信息列表: listinfo-3-[!--page--].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^listinfo-(.+?)-(.+?).html$/e/action/ListInfo/index.php?classid=$1page=$2/p #标题分类列表页:infotype-0-[!--page--].htmlRewriteCond %{QUERY_STRING} ^ (.*)$RewriteRule ^infotype-(.+?)-(.+?).html$ /e/action/InfoType/index.php?ttid=$1page=$2/p #TAGS信息列表页:tags- [!--tagname--]-[!--page--].htmlRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^tags-(.+?)-(.+?).html$ /e/Tags/index.php?tagname=$1page=$2 以上是默认的Rewrite规则设置方法。

以上就是帝国伪静态Apache Rewrite如何设置的详细内容。更多资讯请关注木库阁其他相关文章!

上一篇: 帝国cms多值字段的调用过程(帝国cms多选筛选)

下一篇: 帝国cms恢复数据(帝国cms安装)

关于搜一搜站长工具

如未标明出处,所有模板均为搜一搜站长工具原创,如需转载,请附上原文地址,感谢您的支持和关注。

关于代售类模板,为网友上传发布,如果有侵犯你的权益,请联系我们,第一时间删除。客服邮箱:3801085100#qq.com(#换成@)

本文地址:http://www.soyiso.net/news/12047.html

展开更多