February 2018
Beginner to intermediate
348 pages
9h 40m
English
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?; |