How would one go about using URL's like myspace does? What I mean: On myspace, You can type in the url, www.myspace.com/usernamehere, and It will take you to that username's profile. My question is, how do I do that, without making an actual folder for the user. Say I go to mysite.com/joe I want it to find the username "joe" in the database, and show the information for that user. So is there even a way to do that without actually creating a folder for each user? Id think there would be, or else that would mean MySpace has millions of folders on their servers... +Rep to helpers! Thanks in advance!
I was just about to post the same question! Thanks for bringing this up, I was having a hard time thinking of how to explain it Reason I ask is because PHPLD does the same thing w/ the categories but i doubt they do any htaccess modding or any server side editing stuff..hmmm
lol no problem. I was going to post earlier, but thought of a way I might be able to do it, unfortunately It didn't work...
You can use mod_rewrite to do this. Check out http://modrewrite.com, I'd recommend the forums there if you need help.
yeah some htaccess / mod_rewrite stuffs from: yoursite.com/users.php?user=loibeignacio to: yoursite.com/loibeignacio/ or yoursite.com/loibeignacio.html