Welcome Guest, Not a member yet? Register   Sign In
Redirect all URL requests to only one controller
#2

[eluser]gRoberts[/eluser]
You need to create "routes" within your /config/routes.php file.

i.e.

Code:
$config['default_controller'] = 'front';
$config['about'] = 'front/about';
$config['contact'] = 'front/contact';

see http://ellislab.com/codeigniter/user-gui...uting.html for more information


Messages In This Thread
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 05:26 AM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 07:56 AM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 08:18 AM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 11:20 AM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 01:35 PM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 04:41 PM
Redirect all URL requests to only one controller - by El Forum - 05-28-2012, 08:05 PM
Redirect all URL requests to only one controller - by El Forum - 05-29-2012, 11:24 AM
Redirect all URL requests to only one controller - by El Forum - 05-29-2012, 01:25 PM
Redirect all URL requests to only one controller - by El Forum - 05-30-2012, 03:20 AM
Redirect all URL requests to only one controller - by El Forum - 05-30-2012, 03:59 AM
Redirect all URL requests to only one controller - by El Forum - 05-30-2012, 04:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB