Hi,
I have a table "user" in my database with the following attributes:
-
Id (is unique)
-
Username (is unique)
-
Description
I want to rewrite my URLs from "mysite.com/user/view&id=2" to just "mysite.com/username".
How do I do it without rewriting the URL per Hand in my views?
Right now 99% of my links are created via:
CHtml::link('Link Text',array('controller/action','param1'=>'value1'));
I don’t care about the URL parsing for now.
THX
Andreas