Page not foud |
[eluser]Unknown[/eluser]
My routes are not working. They were before. Maybe i've changed something and I don't know what. www.teste.com.br/login --> doesn’t go to the login.php page www.teste.com.br/institucional --> doesn’t go to the institucional.php page and so on ... Note: if in my routes.php file $route['default_controller'] = login; and URI contains no data, code igniter redirect to the implemented page. But if URI contains data, it doesn’t redirect. Example:www.teste.com.br --> redirects to the login page. www.teste.com.br/login --> Page not found. Anyone can help me?
[eluser]Crafter[/eluser]
Your routes are working fine. It's your CI configuration that's borked. While www.teste.com.br/login will fail, I'm pretty certain the URL below works www.teste.com.br/index.php?/login If it does, then look at correcting your .htaccess file and set the correct value in the config.php file as well. |
Welcome Guest, Not a member yet? Register Sign In |