I am trying to get my script working. How to redirect and customize the below URL?
https://example.com/order?send=value1&send2=value2&send3=value3
to
https://example.com/order/value1/value2/value3
I am trying to get my script working. How to redirect and customize the below URL?
https://example.com/order?send=value1&send2=value2&send3=value3
to
https://example.com/order/value1/value2/value3
Try this rule:
RewriteEngine On
RewriteRule ^(order)/([^/]+)/([^/]+)/([^/]*)/?$ /$1?send=$2&send2=$3&send3=$4 [L,NC,QSA]