Hey!
As y'all may know, i'm working on a new social network renamed to Friendzle.
but I need everyones profile to be http://friendzle.com/username and I heard u needed .htaccess for it...
This is the code i scurrveyed up:
I'm not sure if I did it right...Code:RewriteEngine On RewriteRule ^/profile([^\./]+)$ profile.php?user=$1
When they do that I am using $_GET[user] and attaching it a database query.... should it work? I havent tried it yet.





.
Reply With Quote
