GET variables and nice URL link
Notice: This thread is very old.
- Member | 12
Hello community, I got for example this URL:
How can I transform this page into?:
I was reading Nette articles about routing, but I don't understand it
Last edited by dhosek (2015-07-11 13:47)
- Filip Procházka
- Moderator | 4668
$router = new Route('/Page/Subpage/<sort (asc|desc)>/<locale (cs|en)>')
Also, it's better to use ISO 639–1, most translators use it.