i m new in cakephp
first time load url like this
http://domain.com/td/ is a static
city is a dynamic
in pagination the url display like
http://domain.com/controller/action/city/page:2
but i m want url like this in pagination
please help me to solve this
UPDATE: i don't want "controller", "action" and "page:" keyword in url
my routes define is
Router::Connect('/td/:city/*',
array('controller' => 'properties', 'action' => 'citybasedproperties' ),
array('city' => '[a-z0-9-]+', // regex again to ensure a valid city or 404
'pass' => array('city') // I just want to pass through city to my controller
));