I am running cakephp 2.4.6
and my search results page url is www.domain.com/s?searchFld=xxxx
.
I do not want to use 301/30 htaccess
redirect because I read that using special characters may affect SEO and SERP CTR rate, as users tend to avoid clicking URLs with special characters.
So where in cakephp
can I change the search result from www.domain.com/s?searchFld=xxxx
to www.domain.com/search/xxxx
Here is the routes.php
file, so how can I fix that in routers.php
Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
CakePlugin::routes();
require CAKE . 'Config' . DS . 'routes.php';