Welcome Guest, Not a member yet? Register   Sign In
Help with simple routing please?
#8

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.
Reply


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-15-2015, 09:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB