Removed index.php from the url

Go into application/config.php and set $config['index_page'] to '';

$config['index_page'] = '';