Home > CMS Tutorial > Empire CMS > body text

Let's talk about the pseudo-static setting method of Empire CMS7.0IIS

silencement
Release: 2019-11-29 13:29:07
forward
2493 people have browsed it

Let's talk about the pseudo-static setting method of Empire CMS7.0IIS

本文实例讲述了帝国CMS7.0IIS伪静态设置方法。分享给大家供大家参考。具体实现方法如下:

帝国CMS7.0IIS伪静态教程步骤:

1、进后后台 - 系统 - 系统设置 - 伪静态参数设置 - 都点击默认

2、在网站根目录(web文件夹)下建一个文件,文件名及后缀格式为:httpd.ini

3、用txt/记事本模式打开httpd.ini文件,将下面的内容复制到该文件内:

推荐学习《帝国cms教程

代码如下:

[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
Copy after login

最后进入win2003服务器 配置站点,让站点支持Rewrite即可.

不同服务器有不同的规则,下面给大家说明下.

帝国CMS在Linux主机下实现伪静态方法:

确认虚拟主机是否支持rewrite伪静态.htaccess文件,添加.htaccess 文件,把htaccess 文件放在网站根目录.

这里只详细介绍了帝国CMS在Windows主机下实现伪静态方法.

希望本文所述对大家的帝国CMS建站有所帮助。

The above is the detailed content of Let's talk about the pseudo-static setting method of Empire CMS7.0IIS. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:www.word666.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!