Index.php

array(2) {
  ["lang"]=>
  string(2) "pt"
  ["currency"]=>
  string(3) "USD"
}

/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/pt/currency/USD/"