Welcome Guest, Not a member yet? Register   Sign In
default_controller not defined?
#1

[eluser]Unknown[/eluser]
When I enter my site is redirected automatically to the default controller:

www.mysite.com -> www.mysite.com/hello

($route['default_controller'] = "hello"Wink

I would like the URL remains www.mysite.com

is it possible?
sorry for my english
#2

[eluser]cideveloper[/eluser]
It should not redirect. It should just load the controller "hello". Do you have any .htaccess that is doing some form of redirect? can you show the code for hello.php. Is there any code in there that is forcing this action?




Theme © iAndrew 2016 - Forum software by © MyBB