Hey Everyone,

I'm trying to figure this one out, but can't seem to find the right way of 
doing it.

Basically I want to be able to route incoming urls which have a persons 
username in the url to a default chosen controller. It's like how Facebook 
and Twitter do it. www.facebook.com/rhys.tague and you're redirected to 
your page.

Is there a way to catch all urls which are not valid and then pass the url 
as a argument to the out going url?

for instance

example.com/rhys.tague

example.com/init/default/user/rhys.tague

I know you can do the catch all with anything or * but not to sure how to 
pass the variable.

Cheers,

Rhys


Reply via email to