I'm not quite sure where to post this, but if anyone with some PHP knowledge could help me out, I'd appreciate it. I have mod_rewrite set to redirect in this manner: domain.com/page/action => domain.com/index.php?page=$1&action=$2 I also added an extra rule to handle a request with no $action ie. domain.com/page => domain.com/index.php?page=$1 (not sure if this was necessary..I've tried it both ways..) Now, whenever I try to request a $page without an $action, it appears that the variables aren't even set. To be clearer: <?php $page = $_GET['page']; $action = $_GET['action']; ?> When I access a page with both a page and an action, ie. domain.com/page/action/, everything works fine and both variables get the proper values. Without an action, the varibles are set as follows: $page is empty $action is index.php What I want is for $page to be set, and $action to be empty. I'm pulling my hair out over this. Can someone help me?