我想用搜索查询执行301重定向。301重定向到所有页面
例如:abc.com应该重定向到abc.org ,如果有人想给abc.com/xyz.html进入,然后还必须重定向到abc.org/xyz.html
下面是目前的htaccess部分。
RewriteRule pages/(.*) single.php?page=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^rss.xml$ rss.php [L]
RewriteRule (.*)\.html song.php?q=$1 [L,QSA]