how to redirect from CI index.php to folder/index.php? |
[eluser]qwertyjjj[/eluser]
[quote author="InsiteFX" date="1329433734"]It's CI_Controller not Controller! [/quote] I changed that but same problem, 404 not found error. routes.php $route['default_controller'] = "Contr_redirect"; Contr_redirect.php <?php class Contr_redirect extends CI_Controller{ function index() { redirect('catalog/index.php', 'location'); } } ?> http://localhost 404 Page Not Found The page you requested was not found. On a completely separate note, should I be doing this anyway? AM I supposed to place the OSCommerce app into the applictaion folder entirely? |
Welcome Guest, Not a member yet? Register Sign In |