Page 1 of 1

Advice

Posted: Tue May 01, 2007 9:15 am
by tutorialstuff
Well I didn't see any other section to post this, so if it's in the wrong section I apologize.

I run a PHP/MySQL driven site at tutorialstuff.com.

My question is concerning the RewriteRule in htaccess that allows you to rewrite I'm guessing any code in your URL's after the question mark, I'm not really sure. Does anybody know of a place to get some in depth info on this or if it's advantageous to do this rather than how I have it now.

Any advice is appreciated.

Thanks - Mike

Posted: Tue May 01, 2007 12:41 pm
by pickle
You can use the rewrite rule to do tons of stuff. The most common question on these forums are about how to change

http://mydomain.ca/pearl_jam/daughter/

into

http://mydomain.ca?artist=pearl_jam&song=daughter

It's used frequently to allow for human-readable urls - so that someone can type in http://mydomain.ca/pearl_jam/daughter/ & get the page displayed when http://mydomain.ca?artist=pearl_jam&song=daughter is requested.