Index.php

array(2) {
  ["lang"]=>
  string(2) "de"
  ["currency"]=>
  string(3) "GBP"
}

/lang/de/search/mario/?io=16&tr=11

/amp/lang/es/search/mario/?io=16&tr=11

/lang/it/search/mario/?io=16&tr=11

index.php
string(22) "/lang/de/currency/GBP/"