Some websites may use different syntaxes for the argument string, for example, by separating non-named arguments with slashes:
Input URI |
http://website.com/index.php/param1/param2/param3 |
Rewritten URI |
http://website.com/index.php?p1=param1&p2=param2&p3=param3 |
Rewrite rule |
rewrite ^/index.php/(.*)/(.*)/(.*)$ /index.php?p1=$1&p2=$2&p3=$3?; |