I'm a total noob to using mod_rewrite and I'm reading tutorials and trying to wrap my head around it but it's not quite coming together. What I need to accomplish is this:
take a bunch of urls structed this way: yoursite.com?index.php?id=#
and rewriting it so it becomes yoursite.com/whatever depending upon what the value of # is. So what I'm wondering is, is there a way to apply if statements or swtich statements using mod_rewrite or does it have similar syntax?