-
Notifications
You must be signed in to change notification settings - Fork 0
Godaddy Installaton Tips
Thank you to everyone who's posted on Godaddy installation issues.
Having just struggled with this issue myself, this seems to be the shortest path to proper performance on Godaddy. This is entirely based on other people's posts but, I didn't really see this all in one place so I thought I do just that.
In config.php: [code]$config['index_page'] = "index.php?"; $config['uri_protocol'] = "QUERY_STRING";[/code]
You should now be able to access everything as such: [code]http://yourdomain.com/index.php?controller/action/etc[/code]
Once you get to a point where you want to hide the 'index.php?' paste this into your .htaccess file:
[code]RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?$1 [L][/code]
You should now be able to access everything as such: [code]http://yourdomain.com/controller/action/etc[/code]
The .htaccess file must be in Unix LF only style. If you use Notepad or Wordpad and upload an .htaccess file in CR/LF style it won't work.
Hope this is helpful.