Welcome Guest, Not a member yet? Register   Sign In
]SOLVED] $route['(:any)'] = "standardcontroler/$1";
#1

[eluser]huzzel[/eluser]
Hy,

i try to to change

http://127.0.0.1/controler/function/id

to

http://127.0.0.1/function/id

If the controler not exists i would like to route all data to my standardcontroller.

My first attempt was in routes.php

$route['(:any)'] = "standardcontroler/$1";

but it not work :-(

EDIT...

Lol solved by my self
$config['index_page'] = "index.php";
$config['index_page'] = "";
and mod_rewrite on now it works fine :-)


Messages In This Thread
]SOLVED] $route['(:any)'] = "standardcontroler/$1"; - by El Forum - 10-30-2009, 04:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB