Welcome Guest, Not a member yet? Register   Sign In
url rewrite problem
#5

[eluser]LuckyFella73[/eluser]
If you have a fresh installation of codeigniter
where the default controller in routes.php is still set
to "welcome" and you load the page, the first URI segment
is not displayed (I don't know how CI hides it).
As soon you click at a link, the controller name
is displayed as URI segment 1 and the function name
is added as URI segment 2 (if you call any other function then index).
In your case
Code:
http://localhost/cvp/welcome/test
If you just want to have "test" in your url
Code:
http://localhost/cvp/test

you will have to add a controller named "test" (controller/test.php
with the class name "Test"

Did you mean that?


Messages In This Thread
url rewrite problem - by El Forum - 08-26-2008, 06:10 AM
url rewrite problem - by El Forum - 08-26-2008, 08:24 AM
url rewrite problem - by El Forum - 08-26-2008, 08:42 AM
url rewrite problem - by El Forum - 08-26-2008, 08:45 AM
url rewrite problem - by El Forum - 08-26-2008, 08:59 AM
url rewrite problem - by El Forum - 08-26-2008, 09:21 AM
url rewrite problem - by El Forum - 08-26-2008, 09:26 AM
url rewrite problem - by El Forum - 08-26-2008, 09:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB