dedeeims 伪静态修改方法
最近有在研究dedeeims,需要后期修改的地方很少,应用在企业网站相当的优秀并绰绰有余。
第一个是伪静态修改。include/channelunit.func.php中的
//动态文章
return "/view-".$aid.’-1.html’;
//动态栏目
$reurl = "/list-".$typeid.".html";
新增.htaccess内容为:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^list-([0-9]+)\.html$ /plus/list.php?tid=$1
RewriteRule ^list-([0-9]+)-([0-9]+)-([0-9]+)\.html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3
RewriteRule ^view-([0-9]+)-1\.html$ /plus/view.php?arcID=$1
RewriteRule ^view-([0-9]+)-([0-9]+)\.html$ /plus/view.php?aid=$1&pageno=$2
RewriteRule ^(.*)/tag/(.+)/$ $1/tag\.php\?/$2/
RewriteRule ^(.*)/tag/(.+)\.html$ $1/tag\.php\?/$2/
</IfModule>
ErrorDocument 404 /404.htm
其中包括标签和插件伪静态,但用不上,dedeeims伪静态修改完毕。

REPLY))
织梦的程序本身就是伪静态的吧~~
Reply
fqch reply on January 16th, 2010 12:09 pm:
部分内容还要DIY的
Reply
REPLY))
dedeeims 不是叫dedecms吗?
Reply
fqch reply on January 16th, 2010 12:10 pm:
dedeeims针对企业网站。
Reply
REPLY))
这个系统是干吗的?
Reply
fqch reply on January 16th, 2010 12:10 pm:
企业建站程序。
Reply