Warning: Illegal string offset 'top' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 45

DirCMS V5.1如何更改默认地区

第一步:进入 栏目单页——级联菜单——地区区域  查看子分类 项即可修改地区;

第二步:修改后更新地区区域级联菜单数据缓存;

地方门户系统v5.1.2商业版本QQ登陆配置

第一步:登陆http://connect.qq.com/申请,网站Key接口;

第二步:网站后台配置QQ登录参数。

5.1 伪静态详细设置教程

方法(附IIS环境伪静态)
方法:
[post]登录后台:栏目单页—栏目管理—配置—
高级配置:
文章URL命名规则:{sitedir}show-{cid}.html
栏目列表URL命名规则:{sitedir}list-{tid}-{page}.html

WEB.CONFIG 规则如下(II7):

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name=”Imported Rule 18″>
<match url=”^(.*)show-([0-9]+)\.html$” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}show.php?id={R:2}” appendQueryString=”false” />
</rule>
<rule name=”Imported Rule 19″>
<match url=”^(.*)show-([0-9]+)-([0-9]+)\.html$” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}show.php?id={R:2}&page={R:3}” appendQueryString=”false” />
</rule>
<rule name=”Imported Rule 20″>
<match url=”^(.*)list-([0-9]+)\.htm$” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}list.php?id={R:2}” appendQueryString=”false” />
</rule>
<rule name=”Imported Rule 21″>
<match url=”^(.*)list-([0-9]+)-([0-9]+)\.htm$” ignoreCase=”false” />
<action type=”Rewrite” url=”{R:1}list.php?id={R:2}&page={R:3}” appendQueryString=”false” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

 

httpd.ini规则如下:

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP

RewriteRule ^(.*)show-([a-z0-9\-\_]+)\.html$ $1/show\.php\?id=$2
RewriteRule ^(.*)show-([0-9]+)-([a-z0-9\-\_]+)\.html$ $1/show\.php\?id=$2&page=$3

RewriteRule ^(.*)list-([0-9]+)\.html$ $1/list\.php\?id=$2
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)\.html$ $1/list\.php\?id=$2&page=$3

 

htaccess规则如下:

# DirCMS栏目及内容页伪静态规则示例文件
# 将 RewriteEngine 模式打开
RewriteEngine On

# 修改以下语句中的 / 为你的网站目录地址,如果程序放在二级目录中,如/upload 请将 / 修改为 /upload

# 如果您在httpd.conf中已经设置了重写规则,请去掉下面的注释
#规则修改,往事已逝qq261584395
# RewriteBase /
# Rewrite Rules

RewriteRule ^(.*)show-([a-z0-9\-\_]+)\.html$ $1/show\.php\?id=$2
RewriteRule ^(.*)show-([0-9]+)-([a-z0-9\-\_]+)\.html$ $1/show\.php\?id=$2&page=$3

RewriteRule ^(.*)list-([0-9]+)\.html$ $1/list\.php\?id=$2
RewriteRule ^(.*)list-([0-9]+)-([a-z0-9\-\_]+)\.html$ $1/list\.php\?id=$2&page=$3


Warning: Illegal string offset 'footer' in /www/wwwroot/hellyhua.com/wp-content/themes/Snape/single.php on line 49