【问题标题】:Use twice ? in URL使用两次?在网址中
【发布时间】:2016-09-17 07:36:01
【问题描述】:

我想在下面创建url简单

http://test.com/name/new/?market=en

htaccess:

RewriteRule ^name/(.*)$ name.php?params=$1 [NC]

如果使用print_r($_GET) 结果不正确

【问题讨论】:

    标签: .htaccess url


    【解决方案1】:

    试试Query String Append 标志:

    RewriteRule ^name/(.*)$ name.php?params=$1 [QSA,NC]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-20
      • 2012-08-18
      • 1970-01-01
      • 2011-06-03
      • 1970-01-01
      • 1970-01-01
      • 2011-04-25
      • 1970-01-01
      相关资源
      最近更新 更多