标签: .htaccess url
我希望在
url
http://test.com/name/new/?market=en
htaccess:
RewriteRule ^name/(.*)$ name.php?params=$1 [NC]
如果使用print_r($_GET)结果不正确
print_r($_GET)
答案 0 :(得分:1)
尝试Query String Append标志:
RewriteRule ^name/(.*)$ name.php?params=$1 [QSA,NC]