[eluser]thephpguy[/eluser]
[quote author="Atharva" date="1294316412"]
Code:
$route['^(?!controller1|controller2|controller3).*'] = "yourcontroller/yourfunction/";
What this will do is this will redirect domain.com/username to yourcontroller/yourfunction. It will check if the controller in the uri is NOT the one mentioned in the rule. So you can have a special controller only for handling the 'domain.com/username' link structure.[/quote]
I tried that and it works for me. The only problem i have to keep adding controllers in the route as i create new.