Possible Duplicate:
mod_rewrite, php and the .htaccess file
Would like this to happen in the .htaccess file. to rewrite
index.php?pagetype=name
to
/pagetype/name/
do this for all pagetypes so
?user=name
?post=number
?life=sucks ... etc
but would like to exclude
/css/
/images/
/js/
/php/
/template/
so the variable links still work.
I am guessing this should work but I want it in it's most simplest form so I don't have to change the .htaccess file everytime I add a pagetype.
I did a search for this but didn't find anything helpful.
The site will only have one physically accessed file: index.php then the rest are processed via $_GET commands