Possible Duplicate:
.htacces to create friendly URLs. Help needed
I am using ids to display the records (profiles ) of members.
So /profile.php?id=1
displays the data of member with id 1.
But these urls are ugly and not SEO friendly either.
I want change the urls to the format profiles/membername
(membername is a unique alias for each member already stored in the db).
How can I achieve this link structure through .htaccess?