I am developing a website in which all members have a provision to set their own url.
For example, my site address is www.example.com
.
if a member set his url as www.example.com/his_name
, This url is stored in database along with the user id.
When this user enter this url he should get his page.
In my site a common page called profile?id=$id
, which displays each person's profile.
So when user enter www.example.com/his_name
, will display his page..
But there is no page named 'his_name'
.
How can I achive this?
Thanks in advance