Godaddy Installation Tips |
[eluser]conekt[/eluser]
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?"; You should now be able to access everything as such: Code: http://yourdomain.com/index.php?controller/action/etc Once you get to a point where you want to hide the 'index.php?' paste this into your .htaccess file: Code: RewriteEngine on You should now be able to access everything as such: Code: http://yourdomain.com/controller/action/etc Hope this is helpful.
[eluser]Michael Wales[/eluser]
You should definitely post this into the Wiki - much more "stable" there and likely to be found easier. It will fall of the forums front-page in 2-3 days and people never use the search function, so it may never get seen again. Definitely helpful information for anyone hosting on GoDaddy.
[eluser]conekt[/eluser]
[quote author="walesmd" date="1189797104"]You should definitely post this into the Wiki - much more "stable" there and likely to be found easier. It will fall of the forums front-page in 2-3 days and people never use the search function, so it may never get seen again. Definitely helpful information for anyone hosting on GoDaddy.[/quote] Done. http://codeigniter.com/wiki/Godaddy_Installaton_Tips/ Thanks for the feedback.
[eluser]JeffreyRopp[/eluser]
Hello everyone! Another newbie here.... I'll add one more comment some folks might find useful. I'm running CI in a subdirectory: http://www.cellphoneservicereport.com/ConcertSherpa/ My config.php includes: Code: $config['index_page'] = "index.php?"; My .htaccess file: Code: RewriteEngine on Note the difference in the RewriteRule line. Best, Jeff
[eluser]conekt[/eluser]
[quote author="JeffreyRopp" date="1197166093"]Hello everyone! Another newbie here.... I'll add one more comment some folks might find useful. I'm running CI in a subdirectory: http://www.cellphoneservicereport.com/ConcertSherpa/ My config.php includes: Code: $config['index_page'] = "index.php?"; My .htaccess file: Code: RewriteEngine on Note the difference in the RewriteRule line. Best, Jeff[/quote] Good call Jeff. Here's a wiki entry that I created based on my original post. http://codeigniter.com/wiki/Godaddy_Installaton_Tips/ Please feel free to append your info to it.
[eluser]llbbl[/eluser]
Code: RewriteEngine On or Code: RewriteEngine on May also work for you. http://ellislab.com/forums/viewthread/55620/
[eluser]llbbl[/eluser]
ok so. This page on EE wiki explains in more detail about the different options that programmers have at solving this issue. EE is built off CI and so faces a similar problem in this regard. http://expressionengine.com/wiki/Remove_...From_URLs/
[eluser]CartmanLee[/eluser]
Hello everyone. Here's one more newbie. I followed your instructions, but after using them, I'm getting CI 404 error page every time when I'm calling URL in format http://yourdomain.com/index.php?controller/action/etc http://yourdomain.com/controller/action/etc Again, only main page works properly
[eluser]CartmanLee[/eluser]
Sorry, guys. I located the problem. I was convinced that controller filenames must be always written with lowercases. Sorry for the disturbance CI rulezz |
Welcome Guest, Not a member yet? Register Sign In |