以下伪静态规则适用于服务器为windows系统IIS之ISAPI rewrite 2.0版本,为完美解决Tipask2.5版伪静态规则。
规则如下,全文复制即可,如有其它规则,请检查是否会存在冲突导致部分规则失效,尽量单独使用。
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
RewriteRule ^(.*)/q-(.*).html*$ $1/?q-$2.html
RewriteRule ^(.*)/c-(.*).html*$ $1/?c-$2.html
RewriteRule ^(.*)/l-(.*).html*$ $1/?l-$2.html
RewriteRule ^(.*)/r-(.*).html*$ $1/?r-$2.html
RewriteRule ^(.*)/u-(.*).html*$ $1/?u-$2.html
RewriteRule ^(.*)/us-(.*).html*$ $1/?us-$2.html
RewriteRule ^(.*)/question/add.html?*(.*)$ $1/index.php?question/add.html
RewriteRule ^(.*)/user/space_answer/(.*)/(.*).html*$ $1/index.php?user/space_answer/$2/$3.html
RewriteRule ^(.*)/user/ask/(.*).html*$ $1/index.php?user/ask/$2.html
RewriteRule ^(.*)/user/(.*).html*$ $1/index.php?user/$2.html
RewriteRule ^(.*)/message/(.*).html*$ $1/index.php?message/$2.html
RewriteRule ^(.*)/favorite/(.*).html*$ $1/index.php?favorite/$2.html
RewriteRule ^(.*)/index/(.*).html*$ $1/index.php?favorite/$2.html
RewriteRule ^(.*)/category/view/(.*).html*$ $1/?categoryview/$2.html