Codeigniter 500 error issue with Godaddy Hosting – Resolved

Godaddy hosting has got its’ own way of handling things. We need to work extra hard for running things smoothly on Godaddy & Codeigniter is no exception to this.

I really used to ignore hosting my codeigniter projects on godaddy.

But finally , I figured out the way of running Codeigniter on Godaddy.

Write the below code in your htaccess file.

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule .* index.php?/$0 [PT,L]

and make the below changes in your config.php file which is in application/config folder.

$config[‘index_page’] = ‘index.php’;

$config[‘uri_protocol’] = ‘AUTO’;

$config[‘url_suffix’] = ”;

Hope this will help someone

READ  Testing Alfresco Webscripts

Leave a Reply

Your email address will not be published. Required fields are marked *