[英]Replace ? to & in .htaccess
我有网址http://example.com/index.php?roure=test/test
付款系统调用http://example.com/index.php?roure=test/test?var=val
我需要将其设置为http://example.com/index.php?roure=test/test&var=val
htaccess中的http://example.com/index.php?roure=test/test&var=val
我该怎么办?
Try : 尝试:
RewriteEngine On
RewriteCond %{THE_REQUEST} /index.php\?roure=test/test\?var=val [NC]
RewriteRule ^ /index.php\?roure=test/test&var=val [NC,L,R]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.