I want to assign each user a unique URL – PHP [closed]

You could setup wildcard DNS and make each user have his/her subdomain: http://username.domain.com

Or you could use the mod_rewrite with Apache and rewrite a url pattern that would look similar to facebook’s vanity usernames: http://domain.com/username

Leave a Comment