All my controllers load and display properly, but the headers show a 404 error |
[eluser]Unknown[/eluser]
I know I keep talking to myself and no one seems to be listening but, in case that link changes, heres the instructions from that page that I followed to make everything work: In config.php: Code: $config['index_page'] = "index.php?"; I've successfully implemented this on GoDaddy without using "index.php?" as the index page. This is helpful when using anchor() in the URL helper to create links. Even with htaccess removing the index.php, anchor() will still put in what you have set as an index page. You should now be able to access everything as such: 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: http://yourdomain.com/controller/action/etc 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. |
Messages In This Thread |
All my controllers load and display properly, but the headers show a 404 error - by El Forum - 09-08-2012, 08:38 PM
All my controllers load and display properly, but the headers show a 404 error - by El Forum - 09-08-2012, 10:30 PM
|