Page not foud

#1
[eluser]Unknown[/eluser]
My routes are not working. They were before. Maybe i've changed something and I don't know what.

http://www.teste.com.br/login --> doesn’t go to the login.php page
http://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.
http://www.teste.com.br/login --> Page not found.


Anyone can help me?

#2
[eluser]Crafter[/eluser]
Your routes are working fine.

It's your CI configuration that's borked.

While http://www.teste.com.br/login will fail, I'm pretty certain the URL below works
http://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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.