常用网站伪静态规则,科尔沁绿原网

知鸟云 2019年8月9日10:34:21 评论 118

Discuz X3.2

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

WordPress

RewriteEngine On<br />RewriteBase /<br />RewriteRule ^index\.php$ - [L]<br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule . /index.php [L]

Typecho

RewriteEngine On<br />RewriteBase /<br />RewriteCond %{REQUEST_FILENAME} !-f<br />RewriteCond %{REQUEST_FILENAME} !-d<br />RewriteRule ^(.*)$ /index.php/$1 [L]
weinxin
我的微信
这是我的微信扫一扫
知鸟云

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: