Search API path make SEO friendly I am using Search API. I make a view of all the indexed entities and uses Taxonomy term as Contextual Filter. But the path of view is not SEO friendly. The path is like http://www.example.com/en/Real%20Estate.

I want to make this path SEO friendly and convert this space(%20) to dash.
In views I am getting configuration "Convert dashes into spaces" for contextual filter.

I tried to alter the views  and implement hook_views_pre_render, hook_views_post_render, hook_views_post_build and hook_views_post_execute. This time it is not showing the results.

Can anyone help me regarding this?
I managed to do that with the following code:

/**
  * Implements hook_views_pre_view().
  */
 function hook_views_pre_view(&amp;$view, &amp;$display_id, &amp;$args) {
   /* Search page view */
   if ($display_id == 'search_page' &amp;&amp; !empty($args[0])) {
     $args[0] = strtr($args[0], '-', ' ');
   }
}


You should also adjust the search form ofcourse..