dz plugin.php,解决dz论坛提示“插件不存在或已关闭”
通過(guò)研究發(fā)現(xiàn)是DZ論壇的偽靜態(tài)文件與自己的論壇空間有不匹配導(dǎo)致的,所以我改了一下偽靜態(tài)文件,重新上傳到網(wǎng)站根目錄web文件夾下就解決問(wèn)題了。
# 將 RewriteEngine 模式打開(kāi)
RewriteEngine On
# 修改以下語(yǔ)句中的 /discuz 為您的論壇目錄地址,如果程序放在根目錄中,請(qǐng)將 /discuz 修改為 /
RewriteBase /discuz
# Rewrite 系統(tǒng)規(guī)則請(qǐng)勿修改
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\=$3&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/index.php?action=$1&value=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ plugin.php?id=$12&%1
總結(jié)
以上是生活随笔為你收集整理的dz plugin.php,解决dz论坛提示“插件不存在或已关闭”的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Java 大文件分片上传
- 下一篇: 我要dz插件