Discuz的伪静态可以规范url,估计玩Discuz的童鞋们都想设置伪静态,Blinux也不例外,下面提供Discuz 7.2 伪静态设置方法,用.htaccess就可以搞定.
将下面字符复制并保存为.htaccess,并传输至论坛根目录即可.
RewriteEngine On
RewriteBase /
RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
原创文章,转载请注明: 转载自Blinux
原文链接地址: Discuz 7.2 伪静态规则

正需要这个呢,竟然在老弟的博客找到。
哈哈!
谢谢啦。
[回复]
Blinux
回复:
五月 15th, 2010 at 3:40 下午
老哥来了,不慎荣幸啊
[回复]
Discuz 无法发信问题知道怎么解决吗?
[回复]
Blinux
回复:
五月 15th, 2010 at 3:41 下午
discuz默认有sendmail和smtp两种方式发信
如果你是Linux主机,那么用默认的sendmail发信就OK.
如果你是Windows主机你可以采用smtp的方式发信.
[回复]
CheonNii
回复:
五月 23rd, 2010 at 11:35 下午
默认的sendmail发布出去。
头疼中。。。。。。
[回复]
CheonNii
回复:
五月 23rd, 2010 at 11:37 下午
发送成功了,郁闷。
一直在发件人里写了邮件内容。
太马虎了。
[回复]