I have a problem with the pagination in my search page. When a user search something I have a url like domain.com/search/?s=keyword but paginator gives me links lik
domain.com/search/?s=keyword
I used Matyas solution, but for $keyword I did like this:
$queryString = explode('?', $_SERVER['REQUEST_URI']); $options = array('url'=> array('controller' => 'post', 'action' => 'search', '?' => $queryString[1]));