帝国CMS7.5默认伪静态规则大全

#推荐
帝国CMS7.5默认伪静态规则大全

2026-03-18 2
0 C币
VIP折扣
    折扣详情
  • 体验VIP会员

    免费

  • 月卡VIP会员

    免费

  • 年卡VIP会员

    免费

  • 永久VIP会员

    免费

查看演示
下载不了?请联系网站客服提交链接错误!
TAG标签: 安装指导

#推荐
帝国CMS7.5默认伪静态规则大全

2026-03-18 帝国cms插件 9999 2
郑重承诺丨总裁主题提供安全交易、信息保真!
TAG标签:
帝国cms
安装指导
0 C币
VIP权限详情
    会员权限详情
  • 体验VIP会员

    免费

  • 月卡VIP会员

    免费

  • 年卡VIP会员

    免费

  • 永久VIP会员

    免费

开通VIP尊享优惠特权
立即下载 等待添加 升级会员 最新活动
微信扫码咨询 微信扫码咨询

联系电话:18888888888

进入TA的商铺 联系官方客服
详情介绍

欢迎!我白天是个邮递员,晚上就是个有抱负的演员。这是我的网站。我住在天朝的帝都,有条叫做Jack的狗。

帝国CMS伪静态方法

帝国CMS7.5默认动态页面伪静态设置,请到后台‘系统’-“系统设置”-“伪静态参数设置”里面,填写默认伪静态规则即可。设置如下图:

帝国CMS伪静态截图
帝国CMS伪静态规则说明

附件包含结合项、.htaccess、Nginx.conf、web.config伪静态规则。

.htaccess伪静态规则

RewriteEngine OnErrorDocument 404 /404.phpRewritebase /#信息内容页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 [NC,L]#信息列表RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 [NC,L]#标题分类列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 [NC,L]#TAGS信息列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^tags-(etagid[0-9]+)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 [NC,L]#评论列表页RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$  /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 [NC,L]#栏目自定义伪静态 默认添加.html 后缀更多的后缀自行添加RewriteCond %{QUERY_STRING} ^(.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteCond $1 !^(d/|e/|html/|images/|s/|search/|skin/|t/|ad/|ebak/|web/|m2/|api)RewriteRule ^([0-9a-zA-Z-/]+)/(|index.html|index_[0-9]+.html)$ /e/action/list.php?classid=$1&page=$2 [NC,L]#内容自定义伪静态 默认添加.html 后缀更多的后缀自行添加RewriteCond %{QUERY_STRING} ^(.*)$RewriteCond %{REQUEST_FILENAME} !-fRewriteCond $1 !^(d/|e/|html/|images/|s/|search/|skin/|t/|ad|ebak/|web/|m2/|api)RewriteRule ^([0-9a-zA-Z-/]+)/([0-9a-zA-Z]+)([_0-9]*).html$ /e/action/show.php?classid=$1&id=$2&page=$3 [NC,L]

Nginx.conf伪静态规则

rewrite ^/showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3 last;rewrite ^/listinfo-([0-9]+)-([0-9]+).html$ /e/action/ListInfo/index.php?classid=$1&page=$2 last;rewrite ^/infotype-([0-9]+)-([0-9]+).html$ /e/action/InfoType/index.php?ttid=$1&page=$2 last;rewrite ^/tags-(etagid[0-9]+)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 last;rewrite ^/comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+?).html$  /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 last;if (!-f $request_filename){    set $rule_0 1$rule_0;}if ($request_uri !~ "^(/d/|/e/|/html/|/images/|/s/|/search/|/skin/|/t/|/ad/)"){    set $rule_0 2$rule_0;}if ($rule_0 = "21"){    rewrite ^/([0-9a-zA-Z-/]+)/(|index.html|index_[0-9]+.html)$ /e/action/list.php?classid=$1&page=$2 last;    rewrite ^/([0-9a-zA-Z-/]+)/([0-9a-zA-Z]+)([_0-9]*).html$ /e/action/show.php?classid=$1&id=$2&page=$3 last;}if (!-e $request_filename) {    return 404;}

web.config伪静态规则

<?xml version="1.0" encoding="UTF-8"?><configuration>    <system.webServer>        <httpErrors errorMode="DetailedLocalOnly">            <remove statusCode="404" />            <error statusCode="404" path="/404.php" responseMode="ExecuteURL" />        </httpErrors>        <rewrite>            <rules>                <rule name="规则 1" stopProcessing="true">                    <match url="^showinfo-([0-9]+)-([0-9]+)-([0-9]+).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                    </conditions>                    <action type="Rewrite" url="/e/action/ShowInfo.php?classid={R:1}&amp;id={R:2}&amp;page={R:3}" appendQueryString="false" />                </rule>                <rule name="规则 2" stopProcessing="true">                    <match url="^listinfo-([0-9]+)-([0-9]+).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                    </conditions>                    <action type="Rewrite" url="/e/action/ListInfo/index.php?classid={R:1}&amp;page={R:2}" appendQueryString="false" />                </rule>                <rule name="规则 3" stopProcessing="true">                    <match url="^infotype-([0-9]+)-([0-9]+).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                    </conditions>                    <action type="Rewrite" url="/e/action/InfoType/index.php?ttid={R:1}&amp;page={R:2}" appendQueryString="false" />                </rule>                <rule name="规则 4" stopProcessing="true">                    <match url="^tags-(etagid[0-9]+)-([0-9]+).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                    </conditions>                    <action type="Rewrite" url="/e/tags/index.php?tagname={R:1}&amp;page={R:2}" appendQueryString="false" />                </rule>                <rule name="规则 5" stopProcessing="true">                    <match url="^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                    </conditions>                    <action type="Rewrite" url="/e/pl/index.php?doaction={R:1}&amp;classid={R:2}&amp;id={R:3}&amp;page={R:4}&amp;myorder={R:5}&amp;tempid={R:6}" appendQueryString="false" />                </rule>                <rule name="规则 6" stopProcessing="true">                    <match url="^([0-9a-zA-Z-/]+)/(|index.html|index_[0-9]+.html)$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />                        <add input="{R:1}" pattern="^(d/|e/|html/|images/|s/|search/|skin/|t/|ad/|ebak/|web/|m2/|api)" ignoreCase="false" negate="true" />                    </conditions>                    <action type="Rewrite" url="/e/action/list.php?classid={R:1}&amp;page={R:2}" appendQueryString="false" />                </rule>                <rule name="规则 7" stopProcessing="true">                    <match url="^([0-9a-zA-Z-/]+)/([0-9a-zA-Z]+)([_0-9]*).html$" />                    <conditions logicalGrouping="MatchAll">                        <add input="{QUERY_STRING}" pattern="^(.*)$" ignoreCase="false" />                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />                        <add input="{R:1}" pattern="^(d/|e/|html/|images/|s/|search/|skin/|t/|ad|ebak/|web/|m2/|api)" ignoreCase="false" negate="true" />                    </conditions>                    <action type="Rewrite" url="/e/action/show.php?classid={R:1}&amp;id={R:2}&amp;page={R:3}" appendQueryString="false" />                </rule>            </rules>        </rewrite>        <httpRedirect enabled="false" />    </system.webServer></configuration>

下载地址
  • 提取密码
  • 1561
  • 解压密码
  • DWQwdewq
收藏 (15) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 ()

所有文章为演示数据,不提供下载地址,版权归原作者所有,仅提供演示效果!

CMS主题网 帝国cms插件 帝国CMS7.5默认伪静态规则大全 /showinfo-34-913-0.html

我们只做高端Wordpress主题开发!

常见问题
  • 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。
查看详情
  • 最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用
查看详情

相关文章

帝国cms伪春菜插件,为网站      这个插件是仿制的wordpress里的伪春菜插件,用了其中的js文件,然后写了个帝国cms版的后台控制面板,前台基本一样。包含GBK和UTF版本安装方法1:复制文件。将plugin文件直接复制到根
#推荐
2026-03-18 4 0C币
EcmsAPI帝国CMS8.0轻量API      插件介绍使用php特性自加载功能,或使用composer包管理工具,任选一种;除入口文件,其余全部采用类文件编写,错误全部由异常处理接管,逻辑更简洁、更高效(代码高复用);版本控制更加灵活(/ap
#推荐
2026-03-18 3 0C币
帝国CMS7.5基于SCWS框架的      插件介绍帝国CMS7.5基于SCWS框架的在线分词插件,利用PSCWS4分词工具进行关键词提取,最终实现关键词与TAGS的自动填充。插件安装方法一、手动生成进入帝国CMS后台 –> 系统设置 –>
#推荐
2026-03-18 3 0C币
批量检测网盘分享地址是否      插件说明因为我的站长站资源大部分都是传网盘的,网盘分享链接时不时失效非常影响用户体验,所以下载网盘地址需要经常维护补链。网上有一些批量查询网盘分享链接失效的工具,但是基本都收费,而且有的检查工具还
#推荐
2026-03-18 3 0C币
帝国CMS字段管理插件      帝国CMS字段管理插件通常二次开发什么的可能用到。直接将压缩包内的eFields.php文件放到/e/admin/目录下即可!运行地址即:http://域名/e/admin/eFields.php
#推荐
2026-03-18 2 0C币
帝国CMS管理员密码重置插      插件名称:帝国CMS-管理员密码重置插件插件作者:帝国CMS官方插件介绍:当你忘记管理员帐号、密码时可以使用此插件进行密码重置。安装插件 1、将upload目录下的文件上传至帝国cms系统目录;2
#推荐
2026-03-18 2 0C币
支持帝国cms7.5和8.0模板      插件介绍支持帝国cms7.5和8.0模板编辑器插件,简单修改了模板编辑器,使得能够适应帝国cms8(兼容7.5帝国版本)。语法提示里,集成了帝国cms的常量,变量,函数,数据表名称提示,一键安装/
#推荐
2026-03-18 2 0C币
帝国7.0前台批量传图到图      使用方法使用方法一、将uploadify上传到网站目录e/extend/下二、进入后台,依次点击 系统 数据表与系统模型找到图片系统数据表,点击管理字段找到morepic 修改投稿表单替换html
#推荐
2026-03-18 2 0C币