Codeigniter URLs showing 404
You need to specify the action for different urls in the route file.Like for site.com/search, add this before $route['default_controller'] = "home",
$route['search'] = "home/search"
What this means is, you will create a function search in your home controller which will load the view files for specified url.