RewriteRule^(.*)/user/(.*)/(.*)$ $1/index\.php\?user&user_id=$2&q=code/$3
RewriteRule^(.*)/user/(.*)$ $1/index\.php\?user&user_id=$2
RewriteRule^(.*)/u/(.*)/(.*)$ $1/index\.php\?home&user_id=$2&q=$3
RewriteRule^(.*)/u/(.*)$ $1/index\.php\?home&user_id=$2
RewriteRule^(.*)/(.*)/(.*)/index.html$ $1/index\.php\?$2&nid=$3
RewriteRule^(.*)/(.*)/(.*)/index(.*).html$ $1/index\.php?$2&nid=$3&page=$4
RewriteRule^(.*)/(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&nid=$3&article_id=$4
RewriteRule^(.*)/(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&nid=$3&article_id=$4&$5
RewriteRule^(.*)/(.*)/index.html$ $1/index\.php\?$2
RewriteRule^(.*)/(.*)/index(.*).html$ $1/index\.php\?$2&page=$3
RewriteRule^(.*)/(.*)/index(.*).html?(.*)$ $1/index\.php\?$2&page=$3&$4
RewriteRule^(.*)/(.*)/a(.*)_(.*).html$ $1/index\.php\?$2&article_id=$3&page=$4
RewriteRule^(.*)/(.*)/a(.*).html$ $1/index\.php\?$2&article_id=$3
RewriteRule^(.*)/(.*)/a(.*).html?(.*)$ $1/index\.php\?$2&article_id=$3&$4
Options +FollowSymLinksRewriteEngine on
RewriteCond %{HTTP_HOST} ^index.php/(.*)$
RewriteRule ^(.*)$ /301.html [R=301,L]
RewriteRule ^([0-9]+).html /index.php/page-45-$1.html
以上为apache的伪静态规则。 rewrite ^/([a-z]+)/p_([0-9]+)\.html$ /list.php?id=$1 last转换后 ...这个会的人很少?看专业的网站试试...欢迎分享,转载请注明来源:夏雨云
评论列表(0条)