This post explains about how to configure the baseurl in CodeIgniter in your localhost.
See the code:
In the application\config\ in that folder we have list of files., in that we have to modify the file is config.php
and helpers :
appication\config\autoload.php file we have to modify.
$autoload['helper'] = array('form', 'url');
Hope that it will be useful …