Improved godaddy configuration instructions:
Go to your godaddy account file manager –> WebRoot directory –> Create php5.ini if it does not exist and place following line: cgi.fix_pathinfo = 1 and remove other lines if exists
Now you need to restart your Web Process: Log in to your Account Manager. Click Web Hosting. Next to the hosting account you want to use, click Manage. In the Stats & Monitors section, click System Processes.
In the list on the left, click the process you want to view or click All Processes to view all processes at once. To end a process, click the corresponding end button on the toolbar. Usual just click “End all”.
If you still have issue then configure specific settings in “application/config/config.php”, for me this works:
$config['base_url'] = 'http://example.com/'; $config['uri_protocol'] = 'PATH_INFO';
Or you can try old techniques (not suggested, above solution is much better):
- In file “application/config/config.php”
On line 42, change from:$config['index_page'] = 'index.php';
to
$config['index_page'] = 'index.php?';
- If problem still exists, then On line 60, change from:
$config['uri_protocol'] = 'AUTO';
to
$config['uri_protocol'] = 'QUERY_STRING';
CodeIgniter guide: https://github.com/EllisLab/CodeIgniter/wiki/Godaddy-Installation-Tips
Regarding hosting providers, my scripts are tested on:
And my suggestion if you decide to purchase by other hosting provider, please save your money/time and don’t buy from godaddy, goddady is good for domains but not for hosting because of many configuration limitations!