[求助] 同一个网站不同目录都安装了discuz 如何实现同时伪静态
2017-12-03 06:54
来源:未知
点击数:           
同一个网站不同目录都安装了discuz 如何实现同时伪静态?
以下伪静态规则只能实现一个目录论坛程序的伪静态  要如何才能实现多个目录论坛程序都可以伪静态呢?

RewriteBase /bbs

RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/index.php?action=$1&value=$2&%1
RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ plugin.php?id=$12&%1





Copyright © 2003-2015 All rights reserved.http://www.franklindog.com赛马会料|香港马会开奖直播王中王|678jcom即时开奖现场直_2018官网版权所有