Is your mod_rewrite enabled in apache? You will need this in order for the example to work. The rewrite module doesn’t redirect the user; it re-interprets the URL but doesn’t actually change it so when you get to index.php, you can still parse the original URL. Hope that helps!