Page 1 of 1

friendly urls

Posted: Thu Jan 19, 2006 2:07 am
by stuffradio
Hey, how can I do this? I know what they are but want the simplest way to do it. I am writing a blog and the file will be something like
myblog.com/blog.php?uname=username so I want to turn that in to
myblog.com/username

Posted: Thu Jan 19, 2006 4:07 am
by Christopher
You should look into having the web server rewrite URLs. If you search the web you will find many tutorials about it as there are many difffernet types of rules and rewriting schemes.

Posted: Thu Jan 19, 2006 7:24 am
by foobar
Do some searching for "htaccess" and "mod_rewrite". This will, however, only pertain to Apache, though.
If you want to have that for other servers, then you have to look into their request-wrapper functionality in their docs.