详情页

帝国CMS7.5作文网试题文档美文网整站源码安装教程

时间:2024年01月20日

编辑:佚名

第一步、安装网站
1、将程序源码文件上传到网站根目录下
2、浏览器输入http://域名/e/install回车进入安装
图文安装教程:“帝国CMS7.5安装教程(帝国CMS7.2适用)”
安装恢复数据库后的后台登录地址:
账号:admin
密码:admin888
第二步、网站常规设置
1、设置网站扩展变量

帝国CMS7.5作文网试题文档美文网整站源码安装教程
2、系统参数设置

帝国CMS7.5作文网试题文档美文网整站源码安装教程
3、伪静态设置
请根据你的服务器类型使用下面的伪静态规则
Nginx伪静态规则
rewrite ^([^\.]*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index.php?classid=$2&page=$3 last;
rewrite ^([^\.]*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo.php?classid=$2&id=$3&page=$4 last;
rewrite ^([^\.]*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index.php?ttid=$2&page=$3 last;
rewrite ^([^\.]*)/tag/list_([0-9]+)_([0-9]+)$ $1/e/tags/itaglist.php?cid=$1&page=$2 last;
rewrite ^([^\.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html$ $1/e/pl/index\.php\?doaction=$2&classid=$3&id=$4&page=$5&myorder=$6&tempid=$7 last;
if (!-e $request_filename) {
return 404;
}
全选代码复制
Apache伪静态规则
#首页伪静态
RewriteRule ^index\.html$ index.php
#信息列表页
RewriteRule ^listinfo-([0-9]{1,})-([0-9]{1,})\.html$ /e/action/ListInfo/index.php?classid=$1&page=$2
#信息内容页
RewriteRule ^showinfo-([0-9]{1,})-([0-9]{1,})-([0-9]{1,})\.html$ /e/action/ShowInfo.php?classid=$1&id=$2&page=$3
#标题分类列表页
RewriteRule ^infotype-([0-9]{1,})-([0-9]{1,})\.html$ /e/action/InfoType/index.php?ttid=$1&page=$2
#TAGS信息列表页
RewriteRule ^tag/list_([0-9]+)_([0-9]+)$ e/tags/itaglist.php?cid=$1&page=$2
全选代码复制
IIS7伪静态规则
<rule name="tool.apizl.com rewriteTools0" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^([^\.]*)/listinfo-(.+?)-(.+?)\.html" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="{R:1}/e/action/ListInfo/index.php?classid={R:2}&page={R:3}" appendQueryString="false" />
</rule><rule name="tool.apizl.com rewriteTools1" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^([^\.]*)/showinfo-(.+?)-(.+?)-(.+?)\.html" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="{R:1}/e/action/ShowInfo.php?classid={R:2}&id={R:3}&page={R:4}" appendQueryString="false" />
</rule><rule name="tool.apizl.com rewriteTools2" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^([^\.]*)/infotype-(.+?)-(.+?)\.html" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="{R:1}/e/action/InfoType/index.php?ttid={R:2}&page={R:3}" appendQueryString="false" />
</rule><rule name="tool.apizl.com rewriteTools3" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^([^\.]*)/tag/list_([0-9]+)_([0-9]+)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="{R:1}/e/tags/itaglist.php?cid={R:1}&page={R:2}" appendQueryString="false" />
</rule><rule name="tool.apizl.com rewriteTools4" patternSyntax="ECMAScript" stopProcessing="true">
<match url="^([^\.]*)/comment-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)-(.+?)\.html" ignoreCase="false" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="" appendQueryString="false" />
</rule>
全选代码复制
一般我们使用Nginx和Apache环境较多
4、LOGO修改
修改网站LOGO请替换掉 网站根目录/159ui/picture/logo.png 这个文件

帝国CMS7.5作文网试题文档美文网整站源码安装教程
5、网站广告设置
后台已经添加了几个广告位,如果不用的请删除掉相对应的的广告代码即可。
安装自己的实际要求修改和添加网站广告

帝国CMS7.5作文网试题文档美文网整站源码安装教程
记得添加和修改广告代码时不要删除这里的DIV标签否则显示错位,添加广告位时也需要添加DIV标签并区分PC端和移动端

帝国CMS7.5作文网试题文档美文网整站源码安装教程

帝国CMS7.5作文网试题文档美文网整站源码安装教程
模板代码里面都是有标注广告类型的

帝国CMS7.5作文网试题文档美文网整站源码安装教程
第三步、网站更新生成
每次网站设置有更改时都要重新生成一下网站
按照1.2.3的顺序更新
全部刷新记得打钩

帝国CMS7.5作文网试题文档美文网整站源码安装教程
TAG也要更新一下

帝国CMS7.5作文网试题文档美文网整站源码安装教程
最后还有一些网站的相关配置可以自行修改。
相关文章
猜你需要