I want to parse
index.php?r=hotel/list&cityId=53&minPrice=0&maxPrice=0&rank=0&cbdId=0&chainId=0&px=1
to
hotellist-53-0-0-0-0-0-1.html
How to define the rules?
'rules'=>array(
'hotellist-<cityId:\d>-<minPrice:\d>-<maxPrice:\d>-<rank:\d>-<cbdId:\d>-<chainId:\d>-<px:\d>'=>'hotel/list',
)
As above,I can get the desired url by createUrl(), but it display 404 error when I visit
hotellist-53-0-0-0-0-0-1.html