Help with simple routing please? |
Routing is my weak point, Im still not clear how it works although I read the docs many times. Anyhoo.
This is my .htaccess file Code: <IfModule mod_rewrite.c> This is my controller: Code: class Tlc extends CI_Controller And this is my routes.php Code: $route['default_controller'] = "tlc/view"; I have my view files in views/tlc folder. When you go to main page deltadigital.ca - everything is fine, but when you click deltadigital.ca/about-us or other similar menu items it doesnt work. It only works with full url i.e. http://deltadigital.ca/index.php/tlc/view/about-us
Do the one thing you think you cannot do. Fail at it. Try again. Do better the second time. The only people who never tumble are those who never mount the high wire.
|
Messages In This Thread |
Help with simple routing please? - by lexxtoronto - 06-12-2015, 07:07 AM
RE: Help with simple routing please? - by roopunk - 06-12-2015, 07:33 AM
RE: Help with simple routing please? - by lexxtoronto - 06-12-2015, 07:46 AM
RE: Help with simple routing please? - by Blair2004 - 06-13-2015, 08:20 AM
RE: Help with simple routing please? - by lexxtoronto - 06-13-2015, 11:25 AM
RE: Help with simple routing please? - by lexxtoronto - 06-15-2015, 08:30 AM
RE: Help with simple routing please? - by mwhitney - 06-15-2015, 09:07 AM
RE: Help with simple routing please? - by lexxtoronto - 06-15-2015, 09:26 AM
RE: Help with simple routing please? - by lexxtoronto - 06-15-2015, 12:30 PM
|