本帖最后由 xfbin2 于 2017-8-25 08:56 编辑 / t) z% k& q5 J' r. I! y4 h
l7 M! x/ B5 Z6 a: t8 q
也就是反伪静态,大神帮帮忙。感激涕零!!论坛结构很简单
9 M$ \6 j& W1 o- U# Y- j- <div class="blockcode"><blockquote>RewriteCond %{QUERY_STRING} ^(.*)$8 W, ?! ?' ]5 h+ n
- RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1% a7 u T5 J! u: H" P8 Z9 ^
- RewriteCond %{QUERY_STRING} ^(.*)$" Y! d: ~" Z# z
- RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
8 B+ m. R& H7 L1 {" c - RewriteCond %{QUERY_STRING} ^(.*)$$ c& w+ ~3 k, B# _8 c7 ^" @! T
- RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
6 @9 f- j2 b5 w- W6 l* ] - RewriteCond %{QUERY_STRING} ^(.*)$
1 G, o; [3 G+ h0 K4 s6 S$ u - RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1
* \) z# P7 Y8 M) Y t2 O% \ - RewriteCond %{QUERY_STRING} ^(.*)$
2 k1 W. e% N9 Z' Q% h4 `( s - RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1; Y9 G9 J) y( R- {* x/ Q
- RewriteCond %{QUERY_STRING} ^(.*)$$ I5 k; |3 ?$ {: E% [
- RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1, F' @; T& d4 z* O
- RewriteCond %{QUERY_STRING} ^(.*)$
, p% y+ E4 _, j( R& ~/ { - RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
- }" I: O, x% L6 T4 y - RewriteCond %{QUERY_STRING} ^(.*)$
% G3 C4 `3 Z6 L% `5 a - RewriteRule ^(fid|tid)-([0-9]+)\.html$ archiver/index.php?action=$1&value=$2&%1
4 h9 ` Z ^0 D" p. ~& {( J - RewriteCond %{QUERY_STRING} ^(.*)$ {8 s5 }9 A! { E+ h& O
- RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ plugin.php?id=$1:$2&%1
+ D! |- Y3 y7 t3 ~: `3 G( V; K - 3 b- K- h8 P2 ]3 Z9 k9 I, e
- RewriteRule ^tag-(.+)\.html$ misc.php?mod=tag&id=$1&%1
% z3 U4 N' l! Q! g- Q - RewriteCond %{QUERY_STRING} ^(.*)$
. D# _! N9 R9 y9 n7 w - RewriteRule ^tag\.html$ misc.php?mod=tag
: J. S$ Z* ]- e1 z2 L% m6 H - RewriteCond %{QUERY_STRING} ^(.*)$
/ D0 o' ~- u5 @' D9 z) {# U0 D - RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html(\?(.*))*$ $1/plugin\.php\?id=$2:$3&$5
复制代码
! X7 L) f% D5 B' i; _
+ Z- N F U, J" M& y+ T% L7 |9 X. ]5 z
|