Page 1 of 1

Rewrite Engine problem [resolved]

Posted: Sat Jul 12, 2008 1:50 pm
by [UW] Jake
I'm not even sure if this is the right place to ask. You know how on some web-sites for example the url might be:

http://www.mysite.com/user/register
or mysite.com/articles/jan/11056
or mysite.com/user/profile/~johndoe


How do I set something like this up? Particularly the user thing.. I want to have it so when someone goes to users.mysite.com/bob52 it actually goes to a php script which can know it wants to goto 'bob52'. Make sense? Thanks!

Re: Using "folders" in URL?? (Really don't know)

Posted: Sat Jul 12, 2008 2:37 pm
by onion2k
It's a technique called "url rewriting". If you use Apache then check out mod_rewrite.

Re: Using "folders" in URL?? (Really don't know)

Posted: Sat Jul 12, 2008 3:51 pm
by [UW] Jake
Resolved