Update config/routes.php to replace default controller from 'welcome' to 'posts' controller, hence, the 'posts' view is displayed on http://ci.dev/ locally. also, added .htaccess to /index.php/ isnt need in URLs now.