我用rewrite转跳:
RewriteEngine on
RewriteRule ^/list\.php?$ http://bbs.xx.com
没有问题,但
RewriteEngine on
RewriteRule ^/list\.php?cid=56$ http://bbs.xx.com后面加点id之类的,
再浏览器里输入 list.php?cid=56 就找不到。。这个地址到底能不能写转跳的?
RewriteEngine on
RewriteRule ^/list\.php?$ http://bbs.xx.com
没有问题,但
RewriteEngine on
RewriteRule ^/list\.php?cid=56$ http://bbs.xx.com后面加点id之类的,
再浏览器里输入 list.php?cid=56 就找不到。。这个地址到底能不能写转跳的?
而且如果是
RewriteRule ^/list\.php?$ http://bbs.xx.com
的话,输入list.php?转跳后http://bbs.xx.com后面还会出现一个?
RewriteCond %{QUERY_STRING} ^cid=56
RewriteRule ^list\.php http://bbs.xx.com
RewriteRule ^/list\.php?cid=(\d+)$ http://bbs.xx.com/$1 [R , L]
RewriteRule ^/list\.php http://bbs.xx.com [R , L]