problem with redirecting pages - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: problem with redirecting pages (/showthread.php?tid=25500) |
problem with redirecting pages - El Forum - 12-14-2009 [eluser]Marlon Renan[/eluser] Hello everyone, I'm with a problem here, wish you can help me!? when users type www.mysite.com the fallowing error occurs 404 Page Not Found what can I do to redirect users to www.mysite.com/home when it types www.mysite.com? thanks for help! problem with redirecting pages - El Forum - 12-14-2009 [eluser]umefarooq[/eluser] hi if home is your controller then you can set your default controller in your route.php Code: $route['default_controller'] = "home"; problem with redirecting pages - El Forum - 12-14-2009 [eluser]Marlon Renan[/eluser] thanks for help it works perfectly |