Open application/config/config.php file. Find following statement in this file. $config['index_page'] = 'index.php'; And remove index.php from above statement, this will…