CodeIgniter Godaddy and You
Posted by Blerz on
July 6, 2010
Recently I was setting up a CodeIgniter installation for a new project on my GoDaddy shared hosting account. I ran into a slight problem: I was getting the CodeIgniter 404 error doc while trying to just get to the default home/index page! Here’s how I fixed it:
In System > Application > Config > config.php
Change:
$config['index_page'] = "index.php";
to this:
$config['index_page'] = "index.php?";
and further down in that same file:
change:
$config['uri_protocol'] = "AUTO";
to:
$config['uri_protocol'] = "REQUEST_URI";
