There are links like:
www.site.ru/city123 www.site.ru/city123/type54/project1198 www.site.ru/project1198/type54/ In other words, the number of parameters (letters + numbers) can be arbitrary, and maybe not at all. This is the code that helps to get only the first pair of letter + numbers.
RewriteRule ^([az]*)([0-9]*)/*$ index.php?$1=$2%{QUERY_STRING} At the exit I have:
$_GET[city] => 123 How in this case to get all GET parameters, if their number can be arbitrary or not be at all?