Help with simple routing please? |
Thank you, but still no luck. I tried both:
Code: $route['([a-z]+)'] = 'tlc/view/$1'; and $route['(:any)'] = 'tlc/view/$1'; And also tried removing it altogether, doesnt work. Also if I use the rewrite rule without a leading slash its giving me 500 server error Code: RewriteRule ^(.*)$ index.php?/$1 [L,QSA] If I use it with a slash its giving me my webhosts 404 Code: RewriteRule ^(.*)$/index.php?/$1 [L,QSA] I tried other modifications of this rule online and it would give me CI 404 page.
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
|